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 |
|---|---|
boolean |
abort() |
protected void |
clearState() |
boolean |
commit() |
protected Set<Class> |
getSupportedCredentials() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> ss,
Map<String,?> opts) |
boolean |
login() |
void |
setIdpManager(ExternalIdentityProviderManager idpManager) |
void |
setSyncManager(SyncManager syncManager) |
getCredentials, getPrincipalProvider, getPrincipals, getRoot, getSecurityProvider, getSharedCredentials, getSharedLoginName, getSharedPreAuthLogin, getUserManager, getWhiteboard, logout, setAuthInfopublic 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
LoginExceptionpublic boolean commit()
throws LoginException
LoginExceptionpublic boolean abort()
throws LoginException
abort in interface LoginModuleabort in class org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModuleLoginExceptionprotected void clearState()
clearState in class org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule@Nonnull protected Set<Class> getSupportedCredentials()
getSupportedCredentials in class org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModuleSimpleCredentials class.public void setSyncManager(SyncManager syncManager)
public void setIdpManager(ExternalIdentityProviderManager idpManager)
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.