org.jasig.cas.client.proxy
Class Cas20ProxyRetriever

java.lang.Object
  extended by org.jasig.cas.client.proxy.Cas20ProxyRetriever
All Implemented Interfaces:
java.io.Serializable, ProxyRetriever

public final class Cas20ProxyRetriever
extends java.lang.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

Constructor Summary
Cas20ProxyRetriever(java.lang.String casServerUrl)
          Main Constructor.
 
Method Summary
 java.lang.String getProxyTicketIdFor(java.lang.String proxyGrantingTicketId, java.lang.String targetService)
          Retrieves a proxy ticket for a specific targetService.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cas20ProxyRetriever

public Cas20ProxyRetriever(java.lang.String casServerUrl)
Main Constructor.

Parameters:
casServerUrl - the URL to the CAS server (i.e. http://localhost/cas/)
Method Detail

getProxyTicketIdFor

public java.lang.String getProxyTicketIdFor(java.lang.String proxyGrantingTicketId,
                                            java.lang.String targetService)
Description copied from interface: ProxyRetriever
Retrieves a proxy ticket for a specific targetService.

Specified by:
getProxyTicketIdFor in interface ProxyRetriever
Parameters:
proxyGrantingTicketId - the ProxyGrantingTicketId
targetService - the service we want to proxy.
Returns:
the ProxyTicket Id if Granted, null otherwise.


Copyright © 2006-2009 JA-SIG. All Rights Reserved.