@FunctionalInterface
public interface ProxyHandler
Modifier and Type | Method and Description |
---|---|
default boolean |
canHandle(Credential credential)
Whether this handler can support the proxy request identified by the given credentials.
|
java.lang.String |
handle(Credential credential,
TicketGrantingTicket proxyGrantingTicketId)
Method to actually process the proxy request.
|
java.lang.String handle(Credential credential, TicketGrantingTicket proxyGrantingTicketId)
credential
- The credential of the item that will be proxying.proxyGrantingTicketId
- The ticketId for the PGT (which really is a TGT)default boolean canHandle(Credential credential)
credential
- the credential object containing the proxy request details.