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 Modifier and Type Field Description protected String
_proxyGrantingTicket
The proxy granting ticket
-
Constructor Summary
Constructors Constructor Description AmetysCas20ProxyTicketValidator(String casServerUrlPrefix)
Constructs an instance of the CAS 2.0 Service Ticket Validator with the supplied CAS server url prefix.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
customParseResponse(String response, org.jasig.cas.client.validation.Assertion assertion)
String
getProxyGrantingTicket()
Gets the proxy granting ticket of the current request-
Methods 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
-
-
-
-
Field Detail
-
_proxyGrantingTicket
protected String _proxyGrantingTicket
The proxy granting ticket
-
-
Constructor Detail
-
AmetysCas20ProxyTicketValidator
public AmetysCas20ProxyTicketValidator(String casServerUrlPrefix)
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 Detail
-
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
public String getProxyGrantingTicket()
Gets the proxy granting ticket of the current request- Returns:
- The proxy granting ticket of the current request
-
-