Package oracle.security.am.plugin
Class PluginResponse
java.lang.Object
oracle.security.am.plugin.PluginResponse
- All Implemented Interfaces:
PluginAttribute
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
to the request context.PluginAttributeContextType.REQUESTto OAM session objectPluginAttributeContextType.SESSIONas redirect URL used after the process.PluginAttributeContextType.REDIRECT
- Since:
- OAM 11.1.1.2.0
-
Field Summary
Fields inherited from interface oracle.security.am.plugin.PluginAttribute
KEY_TAG -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorPluginResponse<wbr>(String name, String value, PluginAttributeContextType contextType)constructor to create the plug-in response that can be set to session request etc.PluginResponse<wbr>(String name, String value, PluginAttributeContextType contextType, Map<String,<wbr>Object> additionalParam)constructor to create the plug-in response that can be set to session request etc. -
Method Summary
Modifier and TypeMethodDescriptionvoidfromString<wbr>(String token)getName()returns the name of the response attribute.getType()get the attribute context type.getValue()Get the attribute value.voidsetAdditionalParam<wbr>(Map<String,<wbr>Object> additionalParam)voidsetKeyName<wbr>(String keyName)voidsets the name of the response attribute.voidsetType<wbr>(PluginAttributeContextType type)sets the attribute context type.voidsets the attribute value.
-
Constructor Details
-
PluginResponse
constructor to create the plug-in response that can be set to session request etc.- Parameters:
name- the namevalue- the valuecontextType- the context type
-
PluginResponse
public PluginResponse<wbr>(String name, String value, PluginAttributeContextType contextType, Map<String,<wbr>Object> additionalParam)constructor to create the plug-in response that can be set to session request etc.- Parameters:
name- the namevalue- the valuecontextType- the context typeadditionalParam- the additionalParam
-
PluginResponse
public PluginResponse()Default Constructor
-
-
Method Details
-
getAdditionalParam
-
setAdditionalParam
-
getName
returns the name of the response attribute.- Returns:
- the name
-
setName
sets the name of the response attribute.- Parameters:
name- the new name
-
getType
get the attribute context type.- Returns:
- the type
-
setType
sets the attribute context type.- Parameters:
type- the new type
-
getValue
Get the attribute value.- Returns:
- the value
-
setValue
sets the attribute value.- Parameters:
value- the new value
-
toStringForm
- Specified by:
toStringFormin interfacePluginAttribute
-
fromString
- Specified by:
fromStringin interfacePluginAttribute
-
getKeyName
- Specified by:
getKeyNamein interfacePluginAttribute
-
setKeyName
- Specified by:
setKeyNamein interfacePluginAttribute
-
getObjName
- Specified by:
getObjNamein interfacePluginAttribute
-