org.jasig.cas.client.validation
Class Cas10TicketValidator
java.lang.Object
org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator
org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator
org.jasig.cas.client.validation.Cas10TicketValidator
- All Implemented Interfaces:
- TicketValidator
public final class Cas10TicketValidator
- extends AbstractCasProtocolUrlBasedTicketValidator
Implementation of a Ticket Validator that can validate tickets conforming to the CAS 1.0 specification.
- Since:
- 3.1
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cas10TicketValidator
public Cas10TicketValidator(String casServerUrlPrefix)
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.
- Specified by:
getUrlSuffix in class AbstractUrlBasedTicketValidator
- Returns:
- the endpoint of the validation URL.
parseResponseFromServer
protected Assertion parseResponseFromServer(String response)
throws TicketValidationException
- Description copied from class:
AbstractUrlBasedTicketValidator
- Parses the response from the server into a CAS Assertion.
- Specified by:
parseResponseFromServer in class AbstractUrlBasedTicketValidator
- Parameters:
response - the response from the server, in any format.
- Returns:
- the CAS assertion if one could be parsed from the response.
- Throws:
TicketValidationException - if an Assertion could not be created.
Copyright © 2006-2011 Jasig. All Rights Reserved.