org.jasig.cas.client.authentication
Class DefaultGatewayResolverImpl
java.lang.Object
org.jasig.cas.client.authentication.DefaultGatewayResolverImpl
- All Implemented Interfaces:
- GatewayResolver
public final class DefaultGatewayResolverImpl
- extends Object
- implements GatewayResolver
|
Method Summary |
boolean |
hasGatewayedAlready(javax.servlet.http.HttpServletRequest request,
String serviceUrl)
Determines if the request has been gatewayed already. |
String |
storeGatewayInformation(javax.servlet.http.HttpServletRequest request,
String serviceUrl)
Storage the request for gatewaying and return the service url, which can be modified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONST_CAS_GATEWAY
public static final String CONST_CAS_GATEWAY
- See Also:
- Constant Field Values
DefaultGatewayResolverImpl
public DefaultGatewayResolverImpl()
hasGatewayedAlready
public boolean hasGatewayedAlready(javax.servlet.http.HttpServletRequest request,
String serviceUrl)
- Description copied from interface:
GatewayResolver
- Determines if the request has been gatewayed already. Should also do gateway clean up.
- Specified by:
hasGatewayedAlready in interface GatewayResolver
- Parameters:
request - the Http Servlet RequestserviceUrl - the service url
- Returns:
- true if yes, false otherwise.
storeGatewayInformation
public String storeGatewayInformation(javax.servlet.http.HttpServletRequest request,
String serviceUrl)
- Description copied from interface:
GatewayResolver
- Storage the request for gatewaying and return the service url, which can be modified.
- Specified by:
storeGatewayInformation in interface GatewayResolver
- Parameters:
request - the HttpServletRequest.serviceUrl - the service url
- Returns:
- the potentially modified service url to redirect to
Copyright © 2006-2011 Jasig. All Rights Reserved.