Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


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

java.lang.Object
  extended by oracle.security.jps.service.sso.dispatcher.AbstractResponseDispatcher

All Implemented Interfaces:
ResponseDispatcher
Direct Known Subclasses:
DynamicRedirector, Redirector

public abstract class AbstractResponseDispatcher
extends java.lang.Object
implements ResponseDispatcher

This abstract class sends a HttpServletResponse that can contain SSO provider specific status code, headers or cookies to initiate a particular SSO flow.

Note that concrete class implementation of this class is not required to be synchronized. If multiple threads access an instance of such a concrete class concurrently, and at least one of the threads modifies the dispatcher structurally, it must be synchronized externally.

Since:
11gR1+
Version:
1.0
Author:
yiwawang

Field Summary
static java.lang.String UTF_8
          UTF_8 encoding.

 

Constructor Summary
AbstractResponseDispatcher(javax.servlet.http.HttpServletResponse response)
          Constructor.

 

Method Summary
 void addCookie(javax.servlet.http.Cookie cookie)
          This method calls HttpServletResponse.addCookie() to add the specified cookie to the response.
 void addHeader(java.lang.String name, java.lang.String value)
          This method calls HttpServletResponse.addHeader() to add a response header with the given name and value to the response.

 

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

 

Methods inherited from interface oracle.security.jps.service.sso.ResponseDispatcher
dispatch

 

Field Detail

UTF_8

public static final java.lang.String UTF_8
UTF_8 encoding.
See Also:
Constant Field Values

Constructor Detail

AbstractResponseDispatcher

public AbstractResponseDispatcher(javax.servlet.http.HttpServletResponse response)
Constructor.
Parameters:
response - the response associated with the HttpServletRequest that requires a particular SSO process to be performed

Method Detail

addCookie

public void addCookie(javax.servlet.http.Cookie cookie)
This method calls HttpServletResponse.addCookie() to add the specified cookie to the response. Adds the specified cookie to the response.
Specified by:
addCookie in interface ResponseDispatcher
Parameters:
cookie - the Cookie to be added

addHeader

public void addHeader(java.lang.String name,
                      java.lang.String value)
This method calls HttpServletResponse.addHeader() to add a response header with the given name and value to the response. Adds a response header with the given name and value.
Specified by:
addHeader in interface ResponseDispatcher
Parameters:
name - the name of the header
value - the value of the header

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.