Package org.pac4j.cas.client
Class CasProxyReceptor
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.client.BaseClient<C>
-
- org.pac4j.core.client.IndirectClient<TokenCredentials>
-
- org.pac4j.cas.client.CasProxyReceptor
-
- All Implemented Interfaces:
Client<TokenCredentials>
public final class CasProxyReceptor extends IndirectClient<TokenCredentials>
This class is the CAS proxy receptor.
The url of the proxy receptor is defined via the
IndirectClient.setCallbackUrl(String)method, it's theproxyReceptorUrlconcept of the Jasig CAS client.The proxy granting tickets and associations are stored by default in a
Storeclass, which can be overridden by using thesetStore(Store)method.- Since:
- 1.4.0
- Author:
- Jerome Leleu
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_PROXY_GRANTING_TICKETstatic StringPARAM_PROXY_GRANTING_TICKET_IOU-
Fields inherited from class org.pac4j.core.client.IndirectClient
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver, urlResolver
-
-
Constructor Summary
Constructors Constructor Description CasProxyReceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclientInit()Store<String,String>getStore()voidsetStore(Store<String,String> store)StringtoString()-
Methods inherited from class org.pac4j.core.client.IndirectClient
computeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectionActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getLogoutAction, getLogoutActionBuilder, getNonceSessionAttributeName, getRedirectionAction, getRedirectionActionBuilder, getStateSessionAttributeName, getUrlResolver, internalInit, newDefaultCallbackUrlResolver, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setLogoutActionBuilder, setRedirectionActionBuilder, setUrlResolver
-
Methods inherited from class org.pac4j.core.client.BaseClient
addAuthorizationGenerator, addAuthorizationGenerators, defaultAuthenticator, defaultCredentialsExtractor, defaultProfileCreator, getAuthenticator, getAuthorizationGenerators, getCredentialsExtractor, getCustomProperties, getName, getProfileCreator, getUserProfile, notifySessionRenewal, renewUserProfile, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator
-
Methods inherited from class org.pac4j.core.util.InitializableObject
init, isInitialized
-
-
-
-
Field Detail
-
PARAM_PROXY_GRANTING_TICKET_IOU
public static final String PARAM_PROXY_GRANTING_TICKET_IOU
- See Also:
- Constant Field Values
-
PARAM_PROXY_GRANTING_TICKET
public static final String PARAM_PROXY_GRANTING_TICKET
- See Also:
- Constant Field Values
-
-
Method Detail
-
clientInit
protected void clientInit()
- Specified by:
clientInitin classIndirectClient<TokenCredentials>
-
toString
public String toString()
- Overrides:
toStringin classIndirectClient<TokenCredentials>
-
-