|
Oracle Access Manager Extensibility Java API Reference 11g Release 1 (11.1.1.5) E22473-01 |
|||||||||
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 |
name The name. |
protected PluginAttributeContextType |
type The type. |
protected java.lang.Object |
value The value. |
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 | |
---|---|
java.lang.String |
getName() returns the name of the response attribute. |
PluginAttributeContextType |
getType() get the attribute context type. |
java.lang.Object |
getValue() Get the attribute value. |
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. |
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
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 value
|
Oracle Access Manager Extensibility Java API Reference 11g Release 1 (11.1.1.5) E22473-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |