org.jasig.cas.client.authentication
Interface GatewayResolver

All Known Implementing Classes:
DefaultGatewayResolverImpl

public interface GatewayResolver

Implementations of this should only have a default constructor if you plan on constructing them via the web.xml.

Since:
1.0
Version:
$Revision$
Author:
Scott Battaglia

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.
 

Method Detail

hasGatewayedAlready

boolean hasGatewayedAlready(javax.servlet.http.HttpServletRequest request,
                            java.lang.String serviceUrl)
Determines if the request has been gatewayed already. Should also do gateway clean up.

Parameters:
request - the Http Servlet Request
serviceUrl - the service url
Returns:
true if yes, false otherwise.

storeGatewayInformation

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.

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.