Skip navigation links
oracle.security.jps.service.sso.dispatcher
Class DynamicRedirector
java.lang.Object
oracle.security.jps.service.sso.dispatcher.AbstractResponseDispatcher
oracle.security.jps.service.sso.dispatcher.DynamicRedirector
- All Implemented Interfaces:
- ResponseDispatcher
-
public class DynamicRedirector
- extends AbstractResponseDispatcher
This class calls HttpServletResponse.sendError() to send an error response with SSO provider specific status code and descriptive message to initiate an SSO process.
- Since:
- 11gR1+
- Version:
- 1.0
- Author:
- yiwawang
| Constructor Summary |
DynamicRedirector(javax.servlet.http.HttpServletResponse response, int statusCode, java.lang.String message)
Constructor. |
| Method Summary |
void |
dispatch()
Sends an error response to the clients by calling HttpServletResponse.sendError() with SSO provider specific status code and descriptive message. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicRedirector
public DynamicRedirector(javax.servlet.http.HttpServletResponse response,
int statusCode,
java.lang.String message)
- Constructor.
- Parameters:
response - the response associated with the HttpServletRequest that requires a particular SSO process to be performed
statusCode - the status code
message - the descriptive message
dispatch
public void dispatch()
throws SsoServiceException
- Sends an error response to the clients by calling
HttpServletResponse.sendError() with SSO provider specific status code and descriptive message.
Sends the response to initiate an SSO process.
-
- Throws:
SsoServiceException - if failed to send the response
Skip navigation links
Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.