org.jasig.cas.client.proxy
Class Cas20ProxyRetriever
java.lang.Object
org.jasig.cas.client.proxy.Cas20ProxyRetriever
- All Implemented Interfaces:
- Serializable, ProxyRetriever
public final class Cas20ProxyRetriever
- extends Object
- implements ProxyRetriever
Implementation of a ProxyRetriever that follows the CAS 2.0 specification.
For more information on the CAS 2.0 specification, please see the specification
document.
In general, this class will make a call to the CAS server with some specified
parameters and receive an XML response to parse.
- Since:
- 3.0
- Version:
- $Revision: 11729 $ $Date: 2007-09-26 14:22:30 -0400 (Tue, 26 Sep 2007) $
- Author:
- Scott Battaglia
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cas20ProxyRetriever
public Cas20ProxyRetriever(String casServerUrl,
String encoding)
- Main Constructor.
- Parameters:
casServerUrl - the URL to the CAS server (i.e. http://localhost/cas/)encoding - the encoding to use.
getProxyTicketIdFor
public String getProxyTicketIdFor(String proxyGrantingTicketId,
String targetService)
- Description copied from interface:
ProxyRetriever
- Retrieves a proxy ticket for a specific targetService.
- Specified by:
getProxyTicketIdFor in interface ProxyRetriever
- Parameters:
proxyGrantingTicketId - the ProxyGrantingTicketIdtargetService - the service we want to proxy.
- Returns:
- the ProxyTicket Id if Granted, null otherwise.
Copyright © 2006-2011 Jasig. All Rights Reserved.