Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


oracle.security.am.plugin
Class PluginResponse

java.lang.Object
  extended by oracle.security.am.plugin.PluginResponse


public class PluginResponse
extends java.lang.Object

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

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.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

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

type

protected PluginAttributeContextType type
The type.

name

protected java.lang.String name
The name.

value

protected java.lang.Object value
The value.

Constructor Detail

PluginResponse

public 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.
Parameters:
name - the name
value - the value
contextType - the context type

PluginResponse

public PluginResponse()
Default Constructor

Method Detail

getName

public java.lang.String getName()
returns the name of the response attribute.
Returns:
the name

setName

public void setName(java.lang.String name)
sets the name of the response attribute.
Parameters:
name - the new name

getType

public PluginAttributeContextType getType()
get the attribute context type.
Returns:
the type

setType

public void setType(PluginAttributeContextType type)
sets the attribute context type.
Parameters:
type - the new type

getValue

public java.lang.Object getValue()
Get the attribute value.
Returns:
the value

setValue

public void setValue(java.lang.Object value)
sets the attribute value.
Parameters:
value - the new value

Skip navigation links

Oracle Access Manager Extensibility Java API Reference
11g Release 1 (11.1.1.5)

E22473-01


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.