Class AbstractAuthenticationPlugIn

All Implemented Interfaces:
AuthnPluginService, GenericPluginService, org.osgi.framework.BundleActivator

public abstract class AbstractAuthenticationPlugIn extends OAMAbstractAuthenticationPlugIn implements org.osgi.framework.BundleActivator
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
  • Constructor Details

    • AbstractAuthenticationPlugIn

      public AbstractAuthenticationPlugIn()
  • Method Details

    • start

      public final void start<wbr>(org.osgi.framework.BundleContext context) throws Exception
      Implements BundleActivator.start(). Registers an instance of a plugin service using the bundle context; attaches properties to the service that can be queried when performing a service look-up.
      Specified by:
      start in interface org.osgi.framework.BundleActivator
      Parameters:
      context - the framework context for the bundle.
      Throws:
      Exception
    • stop

      public final void stop<wbr>(org.osgi.framework.BundleContext context) throws Exception
      Implements BundleActivator.stop(). Does nothing related to framework since the framework will automatically unregister any registered services.
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
      Parameters:
      context - the framework context for the bundle.
      Throws:
      Exception
    • startPlugin

      public void startPlugin<wbr>(org.osgi.framework.BundleContext bundleContext)
    • shutdownPlugin

      public void shutdownPlugin<wbr>(org.osgi.framework.BundleContext bundleContext)