org.jasig.cas.ticket.proxy.support
Class Cas20ProxyHandler

java.lang.Object
  extended by org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler
All Implemented Interfaces:
ProxyHandler

public final class Cas20ProxyHandler
extends java.lang.Object
implements ProxyHandler

Proxy Handler to handle the default callback functionality of CAS 2.0.

The default behavior as defined in the CAS 2 Specification is to callback the URL provided and give it a pgtIou and a pgtId.

Since:
3.0
Version:
$Revision: 48180 $ $Date: 2010-03-14 00:05:58 -0500 (Sun, 14 Mar 2010) $
Author:
Scott Battaglia

Constructor Summary
Cas20ProxyHandler()
           
 
Method Summary
 java.lang.String handle(Credentials credentials, java.lang.String proxyGrantingTicketId)
          Method to actually process the proxy request.
 void setHttpClient(HttpClient httpClient)
           
 void setUniqueTicketIdGenerator(UniqueTicketIdGenerator uniqueTicketIdGenerator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cas20ProxyHandler

public Cas20ProxyHandler()
Method Detail

handle

public java.lang.String handle(Credentials credentials,
                               java.lang.String proxyGrantingTicketId)
Description copied from interface: ProxyHandler
Method to actually process the proxy request.

Specified by:
handle in interface ProxyHandler
Parameters:
credentials - The credentials of the item that will be proxying.
proxyGrantingTicketId - The ticketId for the ProxyGrantingTicket (in CAS 3 this is a TicketGrantingTicket)
Returns:
the String value that needs to be passed to the CAS client.

setUniqueTicketIdGenerator

public void setUniqueTicketIdGenerator(UniqueTicketIdGenerator uniqueTicketIdGenerator)
Parameters:
uniqueTicketIdGenerator - The uniqueTicketIdGenerator to set.

setHttpClient

public void setHttpClient(HttpClient httpClient)


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.