edu.internet2.middleware.shibboleth.common.profile.provider
Class JSPErrorHandler

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.profile.AbstractErrorHandler
      extended by edu.internet2.middleware.shibboleth.common.profile.provider.JSPErrorHandler
All Implemented Interfaces:
ProfileHandler

public class JSPErrorHandler
extends AbstractErrorHandler

An error handler that forwards information to a JSP page for display to the end user. The path to the JSP page provided to this handler may be absolute (i.e. start with a "/"), in which case the path is assumed to be from the root of the servlet context, or relative, in which case the page is assumed to be relative from the request dispatcher location. Deployers are strongly encouraged to use absolute paths. The following request attributes are available to the JSP page:

Attribute Name Object Type Value
requestError Throwable Error that was thrown that triggered the invocation of this handler.


Field Summary
 
Fields inherited from class edu.internet2.middleware.shibboleth.common.profile.AbstractErrorHandler
ERROR_KEY
 
Constructor Summary
JSPErrorHandler(String page)
          Constructor.
 
Method Summary
 void processRequest(org.opensaml.ws.transport.InTransport in, org.opensaml.ws.transport.OutTransport out)
          Processes an incoming request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSPErrorHandler

public JSPErrorHandler(String page)
Constructor.

Parameters:
page - path to JSP page
Method Detail

processRequest

public void processRequest(org.opensaml.ws.transport.InTransport in,
                           org.opensaml.ws.transport.OutTransport out)
Processes an incoming request.

Specified by:
processRequest in interface ProfileHandler
Specified by:
processRequest in class AbstractErrorHandler
Parameters:
in - the incoming request transport
out - the outgoing response transport


Copyright © 2006-2011 Internet2. All Rights Reserved.