public final class Cas20ProxyHandler extends Object implements ProxyHandler
The default behavior as defined in the CAS 2 Specification is to callback the URL provided and give it a pgtIou and a pgtId.
| Constructor and Description |
|---|
Cas20ProxyHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(Credential credential)
Whether this handler can support the proxy request identified by the given credentials.
|
String |
handle(Credential credential,
String proxyGrantingTicketId)
Method to actually process the proxy request.
|
void |
setHttpClient(HttpClient httpClient) |
void |
setUniqueTicketIdGenerator(UniqueTicketIdGenerator uniqueTicketIdGenerator) |
public String handle(Credential credential, String proxyGrantingTicketId)
ProxyHandlerhandle in interface ProxyHandlercredential - The credential of the item that will be proxying.proxyGrantingTicketId - The ticketId for the ProxyGrantingTicket (in
CAS 3 this is a TicketGrantingTicket)public void setUniqueTicketIdGenerator(UniqueTicketIdGenerator uniqueTicketIdGenerator)
uniqueTicketIdGenerator - The uniqueTicketIdGenerator to set.public void setHttpClient(HttpClient httpClient)
public boolean canHandle(Credential credential)
ProxyHandlercanHandle in interface ProxyHandlercredential - the credential object containing the proxy request details.Copyright © 2004-2015 Apereo. All Rights Reserved.