Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


oracle.security.jps.service.sso.dispatcher
Class DynamicRedirector

java.lang.Object
  extended by oracle.security.jps.service.sso.dispatcher.AbstractResponseDispatcher
      extended by 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

Field Summary

 

Fields inherited from class oracle.security.jps.service.sso.dispatcher.AbstractResponseDispatcher
UTF_8

 

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 oracle.security.jps.service.sso.dispatcher.AbstractResponseDispatcher
addCookie, addHeader

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

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

Method Detail

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. <p/> Sends the response to initiate an SSO process.
Throws:
SsoServiceException - if failed to send the response

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


Copyright © 2011, Oracle. All rights reserved.