public class Cas20ProxyTicketValidator extends Cas20ServiceTicketValidator
logger
Constructor and Description |
---|
Cas20ProxyTicketValidator(String casServerUrlPrefix) |
Modifier and Type | Method and Description |
---|---|
protected void |
customParseResponse(String response,
Assertion assertion)
Template method if additional custom parsing (such as Proxying) needs to be done.
|
protected ProxyList |
getAllowedProxyChains() |
protected String |
getUrlSuffix()
The endpoint of the validation URL.
|
protected boolean |
isAcceptAnyProxy() |
protected boolean |
isAllowEmptyProxyChain() |
void |
setAcceptAnyProxy(boolean acceptAnyProxy) |
void |
setAllowedProxyChains(ProxyList allowedProxyChains) |
void |
setAllowEmptyProxyChain(boolean allowEmptyProxyChain)
Set to determine whether empty proxy chains are allowed.
|
extractCustomAttributes, getProxyCallbackUrl, getProxyGrantingTicketStorage, getProxyRetriever, parseResponseFromServer, populateUrlAttributeMap, setProxyCallbackUrl, setProxyGrantingTicketStorage, setProxyRetriever
retrieveResponseFromServer, setDisableXmlSchemaValidation
constructValidationUrl, encodeUrl, getCasServerUrlPrefix, getCustomParameters, getEncoding, getURLConnectionFactory, isRenew, setCustomParameters, setEncoding, setRenew, setURLConnectionFactory, validate
public Cas20ProxyTicketValidator(String casServerUrlPrefix)
protected final ProxyList getAllowedProxyChains()
protected String getUrlSuffix()
AbstractUrlBasedTicketValidator
getUrlSuffix
in class Cas20ServiceTicketValidator
protected void customParseResponse(String response, Assertion assertion) throws TicketValidationException
Cas20ServiceTicketValidator
customParseResponse
in class Cas20ServiceTicketValidator
response
- the original response from the CAS server.assertion
- the partially constructed assertion.TicketValidationException
- if there is a problem constructing the Assertion.public final void setAcceptAnyProxy(boolean acceptAnyProxy)
public final void setAllowedProxyChains(ProxyList allowedProxyChains)
protected final boolean isAcceptAnyProxy()
protected final boolean isAllowEmptyProxyChain()
public final void setAllowEmptyProxyChain(boolean allowEmptyProxyChain)
allowEmptyProxyChain
- whether to allow empty proxy chains or not. True if so, false otherwise.customParseResponse(String, Assertion)
Copyright © 2006–2015 Jasig. All rights reserved.