Package 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
Nested Classes Modifier and Type Class Description protected class
ProxyTicketValidator.ProxyHandler
-
Nested classes/interfaces inherited from class edu.yale.its.tp.cas.client.ServiceTicketValidator
ServiceTicketValidator.Handler
-
-
Field Summary
Fields Modifier and Type Field Description protected List<String>
proxyList
-
Fields inherited from class edu.yale.its.tp.cas.client.ServiceTicketValidator
attemptedAuthentication, casValidateUrl, entireResponse, errorCode, errorMessage, pgtIou, proxyCallbackUrl, renew, service, st, successfulAuthentication, user
-
-
Constructor Summary
Constructors Constructor Description ProxyTicketValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
Clears internally manufactured state.List<String>
getProxyList()
Retrieves a list of proxies involved in the current authentication.protected DefaultHandler
newHandler()
-
Methods inherited from class edu.yale.its.tp.cas.client.ServiceTicketValidator
getCasValidateUrl, getErrorCode, getErrorMessage, getPgtIou, getProxyCallbackUrl, getResponse, getUser, isAuthenticationSuccesful, setCasValidateUrl, setProxyCallbackUrl, setRenew, setService, setServiceTicket, validate
-
-
-
-
Constructor Detail
-
ProxyTicketValidator
public ProxyTicketValidator()
-
-
Method Detail
-
getProxyList
public List<String> getProxyList()
Retrieves a list of proxies involved in the current authentication.
-
newHandler
protected DefaultHandler newHandler()
- Overrides:
newHandler
in classServiceTicketValidator
-
clear
protected void clear()
Clears internally manufactured state.- Overrides:
clear
in classServiceTicketValidator
-
-