edu.internet2.middleware.shibboleth.common.profile.provider
Class JSPErrorHandler
java.lang.Object
edu.internet2.middleware.shibboleth.common.profile.AbstractErrorHandler
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. |
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 |
JSPErrorHandler
public JSPErrorHandler(String page)
- Constructor.
- Parameters:
page
- path to JSP page
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 transportout
- the outgoing response transport
Copyright © 2006-2008 Internet2. All Rights Reserved.