Class JaasHelper
- java.lang.Object
-
- org.apache.sling.auth.form.impl.jaas.JaasHelper
-
public class JaasHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description JaasHelper(FormAuthenticationHandler authHandler, org.osgi.framework.BundleContext ctx, FormAuthenticationHandlerConfig config)Opens/Initializes the helper and registers the login module factory (LMF) service if possible.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this helper and unregisters the login module factory if needed.booleanenabled()Checks if JAAS support is enabled and the SSO login module is present.
-
-
-
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 contextconfig- properties that contain the jaas related LMF service properties.
-
-