Package oracle.security.am.plugin.impl
Class UserActionContext
java.lang.Object
oracle.security.am.plugin.impl.UserActionContext
- All Implemented Interfaces:
ActionContext
- Direct Known Subclasses:
CredentialCollectionActionContext
,RedirectionActionContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
fromString<wbr>(String token)
void
setContextData<wbr>(List<ContextData> contextData)
void
setUserActionCommand<wbr>(String userActionCommand)
This method can be used to set the user action command directly to the UserActionContext.toString()
-
Constructor Details
-
UserActionContext
public UserActionContext() -
UserActionContext
-
-
Method Details
-
getContextData
- Specified by:
getContextData
in interfaceActionContext
-
setContextData
- Specified by:
setContextData
in interfaceActionContext
-
toString
- Specified by:
toString
in interfaceActionContext
- Overrides:
toString
in classObject
-
fromString
- Specified by:
fromString
in interfaceActionContext
-
getUserActionCommand
- Specified by:
getUserActionCommand
in interfaceActionContext
-
setUserActionCommand
This method can be used to set the user action command directly to the UserActionContext. When set directly, toString() method will explicitly set the user action cmd to sb. fromString() method will set the value back into the getter setter for user action command. If user action command is set using below statements. fromString() will set it back to setUserActionCommand() and contextDataList will not have entry for useraction command. However older versions of code will have the getter/setter hence will have to get the useraction command from the contextdata list itself. //-------------------------------------------------------------------------------------------------------------------------------------------------- UserContextData userContextData = new UserContextData(PluginConstants.USER_ACTION_COMMAND, PluginConstants.USER_ACTION_COMMAND, "SOME_VALUE" new CredentialMetaData((PluginConstants.HIDDEN)); actionContext.getContextData().add(userContextData); //--------------------------------------------------------------------------------------------------------------------------------------------------- Specified by:
setUserActionCommand
in interfaceActionContext
- Parameters:
userActionCommand
-
-