Class OidcConsentApprovalViewResolver

  • All Implemented Interfaces:
    org.apereo.cas.support.oauth.web.views.ConsentApprovalViewResolver

    public class OidcConsentApprovalViewResolver
    extends org.apereo.cas.support.oauth.web.views.OAuth20ConsentApprovalViewResolver
    Since:
    5.0.0
    • Field Summary

      • Fields inherited from class org.apereo.cas.support.oauth.web.views.OAuth20ConsentApprovalViewResolver

        casProperties
    • Constructor Summary

      Constructors 
      Constructor Description
      OidcConsentApprovalViewResolver​(org.apereo.cas.configuration.CasConfigurationProperties casProperties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.String getApprovalViewName()  
      protected boolean isConsentApprovalBypassed​(org.pac4j.core.context.J2EContext context, org.apereo.cas.support.oauth.services.OAuthRegisteredService service)  
      protected void prepareApprovalViewModel​(java.util.Map<java.lang.String,​java.lang.Object> model, org.pac4j.core.context.J2EContext ctx, org.apereo.cas.support.oauth.services.OAuthRegisteredService svc)  
      • Methods inherited from class org.apereo.cas.support.oauth.web.views.OAuth20ConsentApprovalViewResolver

        getApprovalModelAndView, redirectToApproveView, resolve
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OidcConsentApprovalViewResolver

        public OidcConsentApprovalViewResolver​(org.apereo.cas.configuration.CasConfigurationProperties casProperties)
    • Method Detail

      • isConsentApprovalBypassed

        protected boolean isConsentApprovalBypassed​(org.pac4j.core.context.J2EContext context,
                                                    org.apereo.cas.support.oauth.services.OAuthRegisteredService service)
        Overrides:
        isConsentApprovalBypassed in class org.apereo.cas.support.oauth.web.views.OAuth20ConsentApprovalViewResolver
      • getApprovalViewName

        protected java.lang.String getApprovalViewName()
        Overrides:
        getApprovalViewName in class org.apereo.cas.support.oauth.web.views.OAuth20ConsentApprovalViewResolver
      • prepareApprovalViewModel

        protected void prepareApprovalViewModel​(java.util.Map<java.lang.String,​java.lang.Object> model,
                                                org.pac4j.core.context.J2EContext ctx,
                                                org.apereo.cas.support.oauth.services.OAuthRegisteredService svc)
        Overrides:
        prepareApprovalViewModel in class org.apereo.cas.support.oauth.web.views.OAuth20ConsentApprovalViewResolver