public abstract class OAMAbstractAuthenticationPlugIn extends OAMAbstractAMPlugin implements AuthnPluginService
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.GenericPluginService.QueryKey
Modifier and Type | Field and Description |
---|---|
protected static java.util.logging.Logger |
LOGGER |
Constructor and Description |
---|
OAMAbstractAuthenticationPlugIn() |
Modifier and Type | Method and Description |
---|---|
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)
Authentication plug-ins can access all the data available in the
AuthenticationContext
object. |
abstract void |
setMonitoringStatus(boolean status) |
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, getLogger, getMaxWaitIntervel, getPluginConfig, initialize, poweronSelfTest, shutdown
public abstract ExecutionStatus process(AuthenticationContext context) throws AuthenticationException
AuthnPluginService
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.process
in interface AuthnPluginService
context
- an AuthenticationContext
object.AuthenticationException
- the authentication exceptionpublic abstract java.lang.String getDescription()
getDescription
in interface GenericPluginService
public abstract java.util.Map<java.lang.String,MonitoringData> getMonitoringData()
GenericPluginService
getMonitoringData
in interface GenericPluginService
public abstract boolean getMonitoringStatus()
GenericPluginService
getMonitoringStatus
in interface GenericPluginService
public abstract java.lang.String getPluginName()
getPluginName
in interface GenericPluginService
public abstract int getRevision()
getRevision
in interface GenericPluginService
public abstract void setMonitoringStatus(boolean status)
setMonitoringStatus
in interface GenericPluginService
status
- the new monitoring status