Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


oracle.security.am.plugin
Interface ExecutionAction

All Superinterfaces:
PluginAttribute
All Known Implementing Classes:
UserAction

public interface ExecutionAction
extends PluginAttribute

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);
   
Since:
OAM 11.1.1.5.2
Version:
OAM 11.1.2.0.0

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

getName

java.lang.String getName()

getFlowController

oracle.security.am.plugin.PluginEventFlowController getFlowController()

getActionContext

ActionContext getActionContext()

getEventHint

oracle.security.am.plugin.PluginEventHint getEventHint()

setName

void setName(java.lang.String name)

setAffinityRequested

void setAffinityRequested(boolean flag)
Set/Unset the affinity flag.
Parameters:
flag -

getAffinityRequested

boolean getAffinityRequested()
Check affinity flag status.
Parameters:
flag -

Skip navigation links

Oracle Fusion Middleware Extensibility Java API Reference for Oracle Access Management Access Manager
11g Release 2 (11.1.2.1.0)

E27137-02


Copyright © 2013, Oracle Corp. All Rights Reserved.