|
Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager 11g Release 2 (11.1.2.1.0) E27137-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.security.am.plugin.PluginResponse
public class PluginResponse
Responses that the plugin can be set to the execution contexts. Plugins can add the responses to the plug-in response using addResponse(PluginResponse response); method and the executor will extract the responses and set that to the respective contexts. Available attribute contexts are
PluginAttributeContextType.REQUEST to the request context.PluginAttributeContextType.SESSION to OAM session objectPluginAttributeContextType.REDIRECT as redirect URL used after the process.This class can be used to set responses to the session and set re-direct URLS absed on the authentication module processing. The responses are set to the context after the last authentication module execution so subsequent modules can overwrite the responses set by a modules.
| Field Summary | |
|---|---|
protected java.lang.String |
nameThe name. |
protected static java.lang.String |
NAME_TAG |
protected static java.lang.String |
OBJ_ID |
protected PluginAttributeContextType |
typeThe type. |
protected static java.lang.String |
TYPE_TAG |
protected java.lang.Object |
valueThe value. |
protected static java.lang.String |
VALUE_TAG |
| Fields inherited from interface oracle.security.am.plugin.PluginAttribute |
|---|
KEY_TAG |
| Constructor Summary | |
|---|---|
PluginResponse()Default Constructor |
|
PluginResponse(java.lang.String name, java.lang.String value, PluginAttributeContextType contextType)constructor to create the plug-in response that can be set to session request etc. |
|
| Method Summary | |
|---|---|
void |
fromString(java.lang.String token) |
java.lang.String |
getKeyName() |
java.lang.String |
getName()returns the name of the response attribute. |
java.lang.String |
getObjName() |
PluginAttributeContextType |
getType()get the attribute context type. |
java.lang.Object |
getValue()Get the attribute value. |
void |
setKeyName(java.lang.String keyName) |
void |
setName(java.lang.String name)sets the name of the response attribute. |
void |
setType(PluginAttributeContextType type)sets the attribute context type. |
void |
setValue(java.lang.Object value)sets the attribute value. |
java.lang.String |
toStringForm() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PluginAttributeContextType type
protected java.lang.String name
protected java.lang.Object value
protected static final java.lang.String OBJ_ID
protected static java.lang.String NAME_TAG
protected static java.lang.String VALUE_TAG
protected static java.lang.String TYPE_TAG
| Constructor Detail |
|---|
public PluginResponse(java.lang.String name,
java.lang.String value,
PluginAttributeContextType contextType)
name - the namevalue - the valuecontextType - the context typepublic PluginResponse()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new namepublic PluginAttributeContextType getType()
public void setType(PluginAttributeContextType type)
type - the new typepublic java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - the new valuepublic java.lang.String toStringForm()
toStringForm in interface PluginAttributepublic void fromString(java.lang.String token)
fromString in interface PluginAttributepublic java.lang.String getKeyName()
getKeyName in interface PluginAttributepublic void setKeyName(java.lang.String keyName)
setKeyName in interface PluginAttributepublic java.lang.String getObjName()
getObjName in interface PluginAttribute
|
Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager 11g Release 2 (11.1.2.1.0) E27137-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2013, Oracle Corp. All Rights Reserved.