public final class CasProxyReceptor extends IndirectClientV2<TokenCredentials,CasProfile>
This class is the CAS proxy receptor.
The url of the proxy receptor must be defined through 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 ProxyGrantingTicketStorageImpl
class, which can be
overriden by using the setProxyGrantingTicketStorage(ProxyGrantingTicketStorage)
method.
By default, the tickets and associations are cleaned every minute. The millisBetweenCleanUps
property can be defined through
the setMillisBetweenCleanUps(int)
method (0 means no cleanup, greater than 0 means a cleanup every
millisBetweenCleanUps
milli-seconds).
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_PROXY_GRANTING_TICKET |
static String |
PARAM_PROXY_GRANTING_TICKET_IOU |
ATTEMPTED_AUTHENTICATION_SUFFIX, callbackUrl, callbackUrlResolver
Constructor and Description |
---|
CasProxyReceptor() |
Modifier and Type | Method and Description |
---|---|
int |
getMillisBetweenCleanUps() |
org.jasig.cas.client.proxy.ProxyGrantingTicketStorage |
getProxyGrantingTicketStorage() |
protected void |
internalInit(WebContext context)
Internal initialization of the object.
|
void |
setMillisBetweenCleanUps(int millisBetweenCleanUps) |
void |
setProxyGrantingTicketStorage(org.jasig.cas.client.proxy.ProxyGrantingTicketStorage proxyGrantingTicketStorage) |
String |
toString() |
getAuthenticator, getCredentialsExtractor, getProfileCreator, getRedirectActionBuilder, retrieveCredentials, retrieveRedirectAction, retrieveUserProfile, setAuthenticator, setCredentialsExtractor, setProfileCreator, setRedirectActionBuilder
computeFinalCallbackUrl, getAjaxRequestResolver, getCallbackUrl, getCallbackUrlResolver, getCredentials, getRedirectAction, getStateParameter, isIncludeClientNameInCallbackUrl, redirect, setAjaxRequestResolver, setCallbackUrl, setCallbackUrlResolver, setIncludeClientNameInCallbackUrl
addAuthorizationGenerator, addAuthorizationGenerators, getAuthorizationGenerators, getName, getUserProfile, setAuthorizationGenerator, setAuthorizationGenerators, setAuthorizationGenerators, setName
init, reinit
public static final String PARAM_PROXY_GRANTING_TICKET_IOU
public static final String PARAM_PROXY_GRANTING_TICKET
protected void internalInit(WebContext context)
InitializableWebObject
internalInit
in class IndirectClient<TokenCredentials,CasProfile>
context
- the web contextpublic org.jasig.cas.client.proxy.ProxyGrantingTicketStorage getProxyGrantingTicketStorage()
public void setProxyGrantingTicketStorage(org.jasig.cas.client.proxy.ProxyGrantingTicketStorage proxyGrantingTicketStorage)
public int getMillisBetweenCleanUps()
public void setMillisBetweenCleanUps(int millisBetweenCleanUps)
public String toString()
toString
in class IndirectClientV2<TokenCredentials,CasProfile>
Copyright © 2017. All rights reserved.