Skip navigation links

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

E22473-01


oracle.security.am.plugin
Interface PluginExecutionStrategy

All Superinterfaces:
GenericPluginService
All Known Implementing Classes:
AbstractPluginExecutionStrategy

public interface PluginExecutionStrategy
extends GenericPluginService

PluginExecutionStrategyPlug-in Execution Strategy provided the flexibility to control the execution of multiple plug-ins which gets executed one after other. This particularly useful in chained authentication module execution. User should be able to provide the next plug-in to be executed from the list of plug-ins configured using a PluginExecutionStrategy plug-in implementation.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.1.5.0

Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.security.am.plugin.GenericPluginService
GenericPluginService.QueryKey

 

Method Summary
 ModuleAdvice processExecutionStrategy(PluginContext context, java.lang.String currentPlugin, ExecutionStatus currentPluginStatus, java.util.List<java.lang.String> pluginList)
          processExecutionStrategy method will be called before execution of the first module and after execution of each modules in the module list.

 

Methods inherited from interface oracle.security.am.plugin.GenericPluginService
getDescription, getID, getLogger, getMaxWaitIntervel, getMonitoringData, getMonitoringStatus, getPluginConfig, getPluginName, getRevision, initialize, poweronSelfTest, setMonitoringStatus, shutdown, shutdownPlugin, startPlugin

 

Method Detail

processExecutionStrategy

ModuleAdvice processExecutionStrategy(PluginContext context,
                                      java.lang.String currentPlugin,
                                      ExecutionStatus currentPluginStatus,
                                      java.util.List<java.lang.String> pluginList)
processExecutionStrategy method will be called before execution of the first module and after execution of each modules in the module list. Next module will be called based on the module name specified in the ModuleAdvice.
Parameters:
context - context of the plug-in.a PluginContext object that will contain the execution context for plug-ins.
currentPlugin - the current plug-in that is executed. If it is called before the execution. ModuleAdvice should have the proper advice and the next module name set. Plugin execution will continue till ModuleAdvice returns an Advice.STOP advice
currentPluginStatus - is the status of the current plugin execution. a ExecutionStatus object will be provided to the strategy. This will be null when the strategy is called before execution.
pluginList - the plugin list
Returns:
the module advice

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.