org.jasig.cas.client.validation
Class Cas20ProxyTicketValidator
java.lang.Object
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator
org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator
org.jasig.cas.client.validation.Cas20ServiceTicketValidator
org.jasig.cas.client.validation.Cas20ProxyTicketValidator
- All Implemented Interfaces:
- TicketValidator
- Direct Known Subclasses:
- Cas30ProxyTicketValidator
public class Cas20ProxyTicketValidator
- extends Cas20ServiceTicketValidator
Extension to the traditional Service Ticket validation that will validate service tickets and proxy tickets.
- Since:
- 3.1
- Author:
- Scott Battaglia
| Methods inherited from class org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator |
constructValidationUrl, encodeUrl, getCasServerUrlPrefix, getCustomParameters, getEncoding, getURLConnectionFactory, isRenew, setCustomParameters, setEncoding, setRenew, setURLConnectionFactory, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cas20ProxyTicketValidator
public Cas20ProxyTicketValidator(String casServerUrlPrefix)
getAllowedProxyChains
protected final ProxyList getAllowedProxyChains()
getUrlSuffix
protected String getUrlSuffix()
- Description copied from class:
AbstractUrlBasedTicketValidator
- The endpoint of the validation URL. Should be relative (i.e. not start with a "/"). I.e. validate or serviceValidate.
- Overrides:
getUrlSuffix in class Cas20ServiceTicketValidator
- Returns:
- the endpoint of the validation URL.
customParseResponse
protected void customParseResponse(String response,
Assertion assertion)
throws TicketValidationException
- Description copied from class:
Cas20ServiceTicketValidator
- Template method if additional custom parsing (such as Proxying) needs to be done.
- Overrides:
customParseResponse in class Cas20ServiceTicketValidator
- Parameters:
response - the original response from the CAS server.assertion - the partially constructed assertion.
- Throws:
TicketValidationException - if there is a problem constructing the Assertion.
setAcceptAnyProxy
public final void setAcceptAnyProxy(boolean acceptAnyProxy)
setAllowedProxyChains
public final void setAllowedProxyChains(ProxyList allowedProxyChains)
isAcceptAnyProxy
protected final boolean isAcceptAnyProxy()
isAllowEmptyProxyChain
protected final boolean isAllowEmptyProxyChain()
setAllowEmptyProxyChain
public final void setAllowEmptyProxyChain(boolean allowEmptyProxyChain)
- Set to determine whether empty proxy chains are allowed.
- Parameters:
allowEmptyProxyChain - whether to allow empty proxy chains or not. True if so, false otherwise.- See Also:
customParseResponse(String, Assertion)
Copyright © 2006-2015 Jasig. All Rights Reserved.