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
Class AbstractAMPlugin

java.lang.Object
  extended by oracle.security.am.plugin.AbstractAMPlugin

All Implemented Interfaces:
GenericPluginService
Direct Known Subclasses:
AbstractPluginExecutionStrategy, oracle.security.am.plugin.authn.OAMAbstractAuthenticationPlugIn

public abstract class AbstractAMPlugin
extends java.lang.Object
implements GenericPluginService

Abstract plugin. Abstract plugin interface to be extended by all Access Management plug-ins.

Since:
OAM 11.1.1.5.0
Version:
OAM 11.1.2.0.0

Nested Class Summary

 

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

 

Field Summary
protected static java.util.logging.Logger LOGGER
          The LOGGER.

 

Constructor Summary
AbstractAMPlugin()
           

 

Method Summary
 java.lang.String getID()
          returns the unique ID of the plug-in.
 java.util.logging.Logger getLogger()
          returns the logger configured for the plug-in.
 long getMaxWaitIntervel()
          returns the max wait interval in milliseconds.
 PluginConfig getPluginConfig()
          Gets the plugin config.
 ExecutionStatus initialize(PluginConfig config)
          The function initializes the Plug-in.
 boolean poweronSelfTest()
          Plug-ins need to override this method to the self test when the plug-ins are loaded.
 ExecutionStatus shutdown(java.util.Map<java.lang.String,java.io.Serializable> AMEnvironmentContext)
          Shutdown method will be called when the plug-in instance is destroyed or removed from the instance pool.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.security.am.plugin.GenericPluginService
getDescription, getMonitoringData, getMonitoringStatus, getPluginName, getRevision, setMonitoringStatus

 

Field Detail

LOGGER

protected static final java.util.logging.Logger LOGGER
The LOGGER.

Constructor Detail

AbstractAMPlugin

public AbstractAMPlugin()

Method Detail

getID

public java.lang.String getID()
Description copied from interface: GenericPluginService
returns the unique ID of the plug-in.
Specified by:
getID in interface GenericPluginService
Returns:
the iD

getLogger

public java.util.logging.Logger getLogger()
Description copied from interface: GenericPluginService
returns the logger configured for the plug-in.
Specified by:
getLogger in interface GenericPluginService
Returns:
the logger

getMaxWaitIntervel

public long getMaxWaitIntervel()
Description copied from interface: GenericPluginService
returns the max wait interval in milliseconds. this the max time the Authentication Engine will wiat for the plugin response.
Specified by:
getMaxWaitIntervel in interface GenericPluginService
Returns:
the max wait intervel

getPluginConfig

public final PluginConfig getPluginConfig()
Description copied from interface: GenericPluginService
Gets the plugin config.
Specified by:
getPluginConfig in interface GenericPluginService
Returns:
a PluginConfig object that contains the plug-in configuration data.

initialize

public ExecutionStatus initialize(PluginConfig config)
Description copied from interface: GenericPluginService
The function initializes the Plug-in. This will be called to pass the global plug-in configurations during plug-in instance initialization. Plug-ins that want to do some processing with the plug-in configurations can override this method. Plug-in executor may maintain a pool of plug-in objects and initialize these objects on need basis.
Specified by:
initialize in interface GenericPluginService
Returns:
the execution status

shutdown

public ExecutionStatus shutdown(java.util.Map<java.lang.String,java.io.Serializable> AMEnvironmentContext)
Description copied from interface: GenericPluginService
Shutdown method will be called when the plug-in instance is destroyed or removed from the instance pool.
Specified by:
shutdown in interface GenericPluginService
Parameters:
AMEnvironmentContext - the aM environment context
Returns:
the execution status

poweronSelfTest

public boolean poweronSelfTest()
Description copied from interface: GenericPluginService
Plug-ins need to override this method to the self test when the plug-ins are loaded. poweronSelfTest will be called by the framework after the plug-in is loaded to check if the plug-in has all the dependencies satisfied and ready to service.
Specified by:
poweronSelfTest in interface GenericPluginService
Returns:

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.