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
    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
    Constructs an instance of the CAS 2.0 Service Ticket Validator with the supplied CAS server url prefix.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    customParseResponse(String response, org.jasig.cas.client.validation.Assertion assertion)
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

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

    • 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

      Gets the proxy granting ticket of the current request
      Returns:
      The proxy granting ticket of the current request