org.jasig.cas.client.authentication
Class DefaultGatewayResolverImpl

java.lang.Object
  extended by org.jasig.cas.client.authentication.DefaultGatewayResolverImpl
All Implemented Interfaces:
GatewayResolver

public final class DefaultGatewayResolverImpl
extends java.lang.Object
implements GatewayResolver


Field Summary
static java.lang.String CONST_CAS_GATEWAY
           
 
Constructor Summary
DefaultGatewayResolverImpl()
           
 
Method Summary
 boolean hasGatewayedAlready(javax.servlet.http.HttpServletRequest request, java.lang.String serviceUrl)
          Determines if the request has been gatewayed already.
 java.lang.String storeGatewayInformation(javax.servlet.http.HttpServletRequest request, java.lang.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
 

Field Detail

CONST_CAS_GATEWAY

public static final java.lang.String CONST_CAS_GATEWAY
See Also:
Constant Field Values
Constructor Detail

DefaultGatewayResolverImpl

public DefaultGatewayResolverImpl()
Method Detail

hasGatewayedAlready

public boolean hasGatewayedAlready(javax.servlet.http.HttpServletRequest request,
                                   java.lang.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 Request
serviceUrl - the service url
Returns:
true if yes, false otherwise.

storeGatewayInformation

public java.lang.String storeGatewayInformation(javax.servlet.http.HttpServletRequest request,
                                                java.lang.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-2009 JA-SIG. All Rights Reserved.