edu.yale.its.tp.cas.client
Class ProxyTicketValidator

java.lang.Object
  |
  +--edu.yale.its.tp.cas.client.ServiceTicketValidator
        |
        +--edu.yale.its.tp.cas.client.ProxyTicketValidator

public class ProxyTicketValidator
extends ServiceTicketValidator

Validates PTs and optionally retrieves PGT IOUs. Subclassed instead of collapsed into parent because we don't want users to accidentally accept a proxy ticket when they mean only to accept service tickets. That is, proxy targets need to know that they're proxy targets, not first-level web applications.


Nested Class Summary
protected  class ProxyTicketValidator.ProxyHandler
           
 
Nested classes inherited from class edu.yale.its.tp.cas.client.ServiceTicketValidator
 
Field Summary
protected  java.util.List proxyList
           
 
Constructor Summary
ProxyTicketValidator()
           
 
Method Summary
protected  void clear()
          Clears internally manufactured state.
 java.util.List getProxyList()
          Retrieves a list of proxies involved in the current authentication.
static void main(java.lang.String[] args)
           
protected  org.xml.sax.helpers.DefaultHandler newHandler()
           
 
Methods inherited from class edu.yale.its.tp.cas.client.ServiceTicketValidator
getCasValidateUrl, getErrorCode, getErrorMessage, getPgtIou, getProxyCallbackUrl, getResponse, getUser, isAuthenticationSuccesful, setCasValidateUrl, setProxyCallbackUrl, setService, setServiceTicket, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

proxyList

protected java.util.List proxyList
Constructor Detail

ProxyTicketValidator

public ProxyTicketValidator()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception

getProxyList

public java.util.List getProxyList()
Retrieves a list of proxies involved in the current authentication.


newHandler

protected org.xml.sax.helpers.DefaultHandler newHandler()
Overrides:
newHandler in class ServiceTicketValidator

clear

protected void clear()
Clears internally manufactured state.

Overrides:
clear in class ServiceTicketValidator