Package oracle.security.am.plugin.authn
Class OAMAbstractAuthenticationPlugIn
java.lang.Object
oracle.security.am.plugin.OAMAbstractAMPlugin
oracle.security.am.plugin.authn.OAMAbstractAuthenticationPlugIn
- All Implemented Interfaces:
AuthnPluginService,GenericPluginService
- Direct Known Subclasses:
AbstractAuthenticationPlugIn
public abstract class OAMAbstractAuthenticationPlugIn
extends OAMAbstractAMPlugin
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.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.security.am.plugin.GenericPluginService
GenericPluginService.QueryKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Stringabstract Map<String,<wbr>MonitoringData>plug-in can return monitoring data after plug-in execution is complete.abstract booleanset the monitoring status for the plug-in.abstract Stringabstract intabstract ExecutionStatusprocess<wbr>(AuthenticationContext context)Authentication plug-ins can access all the data available in theAuthenticationContextobject.abstract voidsetMonitoringStatus<wbr>(boolean status)Methods inherited from class oracle.security.am.plugin.OAMAbstractAMPlugin
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdownMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface oracle.security.am.plugin.GenericPluginService
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown
-
Constructor Details
-
OAMAbstractAuthenticationPlugIn
public OAMAbstractAuthenticationPlugIn()
-
-
Method Details
-
process
public abstract ExecutionStatus process<wbr>(AuthenticationContext context) throws AuthenticationExceptionDescription copied from interface:AuthnPluginServiceAuthentication plug-ins can access all the data available in theAuthenticationContextobject. plug-in can set response that will be added to SESSION,request and redirect contexts.PluginAttributeContextType.SESSIONall the attributes that need to be set in the session should be added with this context.PluginAttributeContextType.REQUESTall the attributes that need to be set in the request context should be added with this context.PluginAttributeContextType.REQUESTall the attributes that need to be set as a re-direct URL should be added with this context.- Specified by:
processin interfaceAuthnPluginService- Parameters:
context- anAuthenticationContextobject.- Returns:
- the execution status
- Throws:
AuthenticationException- the authentication exception
-
getDescription
- Specified by:
getDescriptionin interfaceGenericPluginService- Returns:
- the description
-
getMonitoringData
Description copied from interface:GenericPluginServiceplug-in can return monitoring data after plug-in execution is complete. Server will log this data.- Specified by:
getMonitoringDatain interfaceGenericPluginService- Returns:
- the monitoring data
-
getMonitoringStatus
public abstract boolean getMonitoringStatus()Description copied from interface:GenericPluginServiceset the monitoring status for the plug-in.- Specified by:
getMonitoringStatusin interfaceGenericPluginService- Returns:
- the monitoring status
-
getPluginName
- Specified by:
getPluginNamein interfaceGenericPluginService- Returns:
- String name of the plug-in.
-
getRevision
public abstract int getRevision()- Specified by:
getRevisionin interfaceGenericPluginService- Returns:
- the revision
-
setMonitoringStatus
public abstract void setMonitoringStatus<wbr>(boolean status)- Specified by:
setMonitoringStatusin interfaceGenericPluginService- Parameters:
status- the new monitoring status
-