|
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 | |||||||||
public interface ExecutionAction
Executions actions can be used to define actions that needs to be performed by OAM server. Plug-in can pause the execution and request for executing an action that will be done by the OAM server and after the action execution plug-in can resume the execution. The UserAction can be used to interact with the User agent to collect credentials or display messages.
//create a user name context data.
UserContextData userNameContext =
new UserContextData("form_username", "form_username",
new CredentialMetaData(PluginConstants.TEXT));
//create a password context data
// Any form parameter containing the words "password", "passcode" and "_pin" will be treated as sensitive
// values for debug logging
UserContextData passwordContext =
new UserContextData("form_password", "form_password",
new CredentialMetaData(PluginConstants.PASSWORD));
// create URl context data for login page
UserContextData urlContext = new UserContextData(loginPageURL, new CredentialMetaData("URL"));
UserActionContext actionContext = new UserActionContext();
//add the UserContextData to the CredentialActionContext
actionContext.getContextData().add(userNameContext);
actionContext.getContextData().add(passwordContext);
actionContext.getContextData().add(urlContext);
UserActionMetaData userAction = UserActionMetaData.FORWARD;
// create a UserAction object and set it to the authentication context.
UserAction action = new UserAction(actionContext, userAction);
authContext.setAction(action);
| Field Summary |
|---|
| Fields inherited from interface oracle.security.am.plugin.PluginAttribute |
|---|
KEY_TAG |
| Method Summary | |
|---|---|
ActionContext |
getActionContext() |
boolean |
getAffinityRequested()Check affinity flag status. |
oracle.security.am.plugin.PluginEventHint |
getEventHint() |
oracle.security.am.plugin.PluginEventFlowController |
getFlowController() |
java.lang.String |
getName() |
void |
setAffinityRequested(boolean flag)Set/Unset the affinity flag. |
void |
setName(java.lang.String name) |
| Methods inherited from interface oracle.security.am.plugin.PluginAttribute |
|---|
fromString, getKeyName, getObjName, setKeyName, toStringForm |
| Method Detail |
|---|
java.lang.String getName()
oracle.security.am.plugin.PluginEventFlowController getFlowController()
ActionContext getActionContext()
oracle.security.am.plugin.PluginEventHint getEventHint()
void setName(java.lang.String name)
void setAffinityRequested(boolean flag)
flag -boolean getAffinityRequested()
flag -
|
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.