Skip navigation links

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

E27137-01


oracle.security.am.plugin.authn
Class AbstractAuthenticationPlugIn

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

All Implemented Interfaces:
AuthnPluginService, GenericPluginService

public abstract class AbstractAuthenticationPlugIn
extends AbstractAMPlugin
implements AuthnPluginService

Plug-in Interface that will be exposed to the plug-in developers. All the plug-in implementations should extend AbstractPlugInService class. Plug-ins that needs to handle the resource cleanup should override shutdown(Map < String, Object > OAMEnvironmentContext) An instance of java.util.Logger will be available to 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
           

 

Constructor Summary
AbstractAuthenticationPlugIn()
           

 

Method Summary
abstract  java.lang.String getDescription()
           
abstract  java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
          plug-in can return monitoring data after plug-in execution is complete.
abstract  boolean getMonitoringStatus()
          set the monitoring status for the plug-in.
abstract  java.lang.String getPluginName()
           
abstract  int getRevision()
           
abstract  ExecutionStatus process(AuthenticationContext context)
          process method will be called for the plug-in step execution and all authentication related logic should go to this method.
abstract  void setMonitoringStatus(boolean status)
          get the monitoring status configured for the plugin.

 

Methods inherited from class oracle.security.am.plugin.AbstractAMPlugin
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown, shutdownPlugin, start, startPlugin, stop

 

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
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown, shutdownPlugin, startPlugin

 

Field Detail

LOGGER

protected static final java.util.logging.Logger LOGGER

Constructor Detail

AbstractAuthenticationPlugIn

public AbstractAuthenticationPlugIn()

Method Detail

process

public abstract ExecutionStatus process(AuthenticationContext context)
                                 throws AuthenticationException
Description copied from interface: AuthnPluginService
process method will be called for the plug-in step execution and all authentication related logic should go to this method. Authentication plug-ins can access all the data available in the AuthenticationContext object. plug-in can set response that will be added to SESSION,request and redirect contexts. PluginAttributeContextType.SESSION all the attributes that need to be set in the session should be added with this context. PluginAttributeContextType.REQUEST all the attributes that need to be set in the request context should be added with this context. PluginAttributeContextType.REQUEST all the attributes that need to be set as a re-direct URL should be added with this context.
Specified by:
process in interface AuthnPluginService
Parameters:
context - an AuthenticationContext object.
Returns:
the execution status
Throws:
AuthenticationException - the authentication exception

getDescription

public abstract java.lang.String getDescription()
Specified by:
getDescription in interface GenericPluginService
Returns:
the description

getMonitoringData

public abstract java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
Description copied from interface: GenericPluginService
plug-in can return monitoring data after plug-in execution is complete. Server will log this data.
Specified by:
getMonitoringData in interface GenericPluginService
Returns:
the monitoring data

getMonitoringStatus

public abstract boolean getMonitoringStatus()
Description copied from interface: GenericPluginService
set the monitoring status for the plug-in.
Specified by:
getMonitoringStatus in interface GenericPluginService
Returns:
the monitoring status

getPluginName

public abstract java.lang.String getPluginName()
Specified by:
getPluginName in interface GenericPluginService
Returns:
String name of the plug-in.

getRevision

public abstract int getRevision()
Specified by:
getRevision in interface GenericPluginService
Returns:
the revision

setMonitoringStatus

public abstract void setMonitoringStatus(boolean status)
Description copied from interface: GenericPluginService
get the monitoring status configured for the plugin.
Specified by:
setMonitoringStatus in interface GenericPluginService
Parameters:
status - the new monitoring status

Skip navigation links

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

E27137-01


Copyright © 2012, Oracle Corp. All Rights Reserved.