Package org.pac4j.cas.client
Class CasProxyReceptor
- java.lang.Object
-
- org.pac4j.core.util.InitializableObject
-
- org.pac4j.core.client.BaseClient
-
- org.pac4j.core.client.IndirectClient
-
- org.pac4j.cas.client.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 theproxyReceptorUrl
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 thesetStore(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
-
Constructor Summary
Constructors Constructor Description CasProxyReceptor()
-
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
-
-
-
-
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
-
-
Method Detail
-
internalInit
protected void internalInit(boolean forceReinit)
- Specified by:
internalInit
in classorg.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 classorg.pac4j.core.client.IndirectClient
-
-