Class JaasHelper


  • public class JaasHelper
    extends Object
    • Constructor Detail

      • JaasHelper

        public JaasHelper​(FormAuthenticationHandler authHandler,
                          org.osgi.framework.BundleContext ctx,
                          FormAuthenticationHandlerConfig config)
        Opens/Initializes the helper and registers the login module factory (LMF) service if possible.
        Parameters:
        ctx - the bundle context
        config - properties that contain the jaas related LMF service properties.
    • Method Detail

      • enabled

        public boolean enabled()
        Checks if JAAS support is enabled and the SSO login module is present.
        Returns:
        true if JAAS support is enabled.
      • close

        public void close()
        Closes this helper and unregisters the login module factory if needed.