public class ExternalLoginModule
extends org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_IDP_NAME
Name of the parameter that configures the name of the external identity provider.
|
static String |
PARAM_SYNC_HANDLER_NAME
Name of the parameter that configures the name of the synchronization handler.
|
| Constructor and Description |
|---|
ExternalLoginModule()
Default constructor for the OSGIi LoginModuleFactory case and the default non-OSGi JAAS case.
|
ExternalLoginModule(org.apache.jackrabbit.oak.spi.security.ConfigurationParameters osgiConfig)
Creates a new ExternalLoginModule with the given OSGi config.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearState() |
boolean |
commit() |
protected Set<Class> |
getSupportedCredentials() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> ss,
Map<String,?> opts) |
boolean |
login() |
public static final String PARAM_IDP_NAME
public static final String PARAM_SYNC_HANDLER_NAME
public ExternalLoginModule()
public ExternalLoginModule(org.apache.jackrabbit.oak.spi.security.ConfigurationParameters osgiConfig)
osgiConfig - the configpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> ss, Map<String,?> opts)
initialize in interface LoginModuleinitialize in class org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModulepublic boolean login()
throws LoginException
LoginExceptionprotected Set<Class> getSupportedCredentials()
getSupportedCredentials in class org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModuleSimpleCredentials class.public boolean commit()
throws LoginException
LoginExceptionprotected void clearState()
clearState in class org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModuleCopyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.