Class 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
      • 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

      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
      • Methods inherited from class org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator

        constructValidationUrl, encodeUrl, getCasServerUrlPrefix, getCustomParameters, getEncoding, getURLConnectionFactory, isRenew, setCustomParameters, setEncoding, setRenew, setURLConnectionFactory, validate
    • 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 class org.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