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 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 String
PARAM_PROXY_GRANTING_TICKET
static String
PARAM_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 void
clientInit()
Store<String,String>
getStore()
void
setStore(Store<String,String> store)
String
toString()
-
Methods inherited from class org.pac4j.core.client.IndirectClient
computeFinalCallbackUrl, defaultLogoutActionBuilder, defaultRedirectionActionBuilder, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCodeVerifierSessionAttributeName, 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, getProfileFactoryWhenNotAuthenticated, getUserProfile, notifySessionRenewal, renewUserProfile, retrieveCredentials, retrieveUserProfile, setAuthenticator, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setCredentialsExtractor, setCustomProperties, setName, setProfileCreator, setProfileFactoryWhenNotAuthenticated
-
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:
clientInit
in classIndirectClient<TokenCredentials>
-
toString
public String toString()
- Overrides:
toString
in classIndirectClient<TokenCredentials>
-
-