Class AmetysCas20ProxyTicketValidator
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
org.ametys.plugins.extrausermgt.authentication.cas.AmetysCas20ProxyTicketValidator
- All Implemented Interfaces:
org.jasig.cas.client.validation.TicketValidator
public class AmetysCas20ProxyTicketValidator
extends org.jasig.cas.client.validation.Cas20ProxyTicketValidator
Ametys implementation of the TicketValidator that will validate Service Tickets in compliance with the CAS 2.
-
Field Summary
Fields inherited from class org.jasig.cas.client.validation.Cas20ServiceTicketValidator
PGT_ATTRIBUTE
Fields inherited from class org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator
logger
-
Constructor Summary
ConstructorDescriptionAmetysCas20ProxyTicketValidator
(String casServerUrlPrefix) Constructs an instance of the CAS 2.0 Service Ticket Validator with the supplied CAS server url prefix. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
customParseResponse
(String response, org.jasig.cas.client.validation.Assertion assertion) Gets the proxy granting ticket of the current requestMethods inherited from class org.jasig.cas.client.validation.Cas20ProxyTicketValidator
getAllowedProxyChains, getUrlSuffix, isAcceptAnyProxy, isAllowEmptyProxyChain, parseProxiesFromResponse, setAcceptAnyProxy, setAllowedProxyChains, setAllowEmptyProxyChain
Methods inherited from class org.jasig.cas.client.validation.Cas20ServiceTicketValidator
extractCustomAttributes, getPrivateKey, getProxyCallbackUrl, getProxyGrantingTicketStorage, getProxyRetriever, parseAuthenticationFailureFromResponse, parsePrincipalFromResponse, parseResponseFromServer, populateUrlAttributeMap, retrieveProxyGrantingTicket, retrieveProxyGrantingTicketFromStorage, retrieveProxyGrantingTicketViaEncryption, setPrivateKey, setProxyCallbackUrl, setProxyGrantingTicketStorage, setProxyRetriever
Methods inherited from class org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator
retrieveResponseFromServer
Methods inherited from class org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator
constructValidationUrl, encodeUrl, getCasServerUrlPrefix, getCustomParameters, getEncoding, getURLConnectionFactory, isRenew, setCustomParameters, setEncoding, setRenew, setURLConnectionFactory, validate
-
Field Details
-
_proxyGrantingTicket
The proxy granting ticket
-
-
Constructor Details
-
AmetysCas20ProxyTicketValidator
Constructs an instance of the CAS 2.0 Service Ticket Validator with the supplied CAS server url prefix.- Parameters:
casServerUrlPrefix
- the CAS Server URL prefix.
-
-
Method Details
-
customParseResponse
protected void customParseResponse(String response, org.jasig.cas.client.validation.Assertion assertion) throws org.jasig.cas.client.validation.TicketValidationException - Overrides:
customParseResponse
in classorg.jasig.cas.client.validation.Cas20ProxyTicketValidator
- Throws:
org.jasig.cas.client.validation.TicketValidationException
-
getProxyGrantingTicket
Gets the proxy granting ticket of the current request- Returns:
- The proxy granting ticket of the current request
-