Class CasProxyReceptor

  • All Implemented Interfaces:
    org.pac4j.core.client.Client

    public final class CasProxyReceptor
    extends org.pac4j.core.client.IndirectClient

    This class is the CAS proxy receptor.

    The url of the proxy receptor is defined via the IndirectClient.setCallbackUrl(String) method, it's the proxyReceptorUrl concept of the Jasig CAS client.

    The proxy granting tickets and associations are stored by default in a Store class, which can be overridden by using the setStore(Store) method.

    Since:
    1.4.0
    Author:
    Jerome Leleu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PARAM_PROXY_GRANTING_TICKET  
      static java.lang.String PARAM_PROXY_GRANTING_TICKET_IOU  
      • Fields inherited from class org.pac4j.core.client.IndirectClient

        ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolver
      • Fields inherited from class org.pac4j.core.client.BaseClient

        saveProfileInSession
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.pac4j.core.store.Store<java.lang.String,​java.lang.String> getStore()  
      protected void internalInit​(boolean forceReinit)  
      void setStore​(org.pac4j.core.store.Store<java.lang.String,​java.lang.String> store)  
      java.lang.String toString()  
      • Methods inherited from class org.pac4j.core.client.IndirectClient

        afterInternalInit, beforeInternalInit, computeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectionActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCodeVerifierSessionAttributeName, getCredentials, getLogoutAction, getLogoutActionBuilder, getNonceSessionAttributeName, getRedirectionAction, getRedirectionActionBuilder, getStateSessionAttributeName, getUrlResolver, isCheckAuthenticationAttempt, newDefaultCallbackUrlResolver, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setCheckAuthenticationAttempt, setLogoutActionBuilder, setRedirectionActionBuilder, setUrlResolver
      • Methods inherited from class org.pac4j.core.client.BaseClient

        addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getProfileFactoryWhenNotAuthenticated, getSaveProfileInSession, getUserProfile, isMultiProfile, notifySessionRenewal, renewUserProfile, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setMultiProfile, setName, setProfileCreator, setProfileFactoryWhenNotAuthenticated, setSaveProfileInSession
      • Methods inherited from class org.pac4j.core.util.InitializableObject

        getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • PARAM_PROXY_GRANTING_TICKET_IOU

        public static final java.lang.String PARAM_PROXY_GRANTING_TICKET_IOU
        See Also:
        Constant Field Values
      • PARAM_PROXY_GRANTING_TICKET

        public static final java.lang.String PARAM_PROXY_GRANTING_TICKET
        See Also:
        Constant Field Values
    • Constructor Detail

      • CasProxyReceptor

        public CasProxyReceptor()
    • Method Detail

      • internalInit

        protected void internalInit​(boolean forceReinit)
        Specified by:
        internalInit in class org.pac4j.core.util.InitializableObject
      • getStore

        public org.pac4j.core.store.Store<java.lang.String,​java.lang.String> getStore()
      • setStore

        public void setStore​(org.pac4j.core.store.Store<java.lang.String,​java.lang.String> store)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.pac4j.core.client.IndirectClient