public class LoginModuleConfig extends BeanConfig
Login module is an optional configuration that allows to use JackRabbit in a non-JAAS environment.
RepositoryConfig.getLoginModuleConfig()
Modifier and Type | Field and Description |
---|---|
static String |
COMPAT_PRINCIPAL_PROVIDER_CLASS
Same as
PARAM_PRINCIPAL_PROVIDER_CLASS . |
static String |
COMPAT_PRINCIPAL_PROVIDER_NAME
Property-Key if the
PrincipalProvider configured with
PARAM_PRINCIPAL_PROVIDER_CLASS be registered using the
specified name instead of the class name which is used by default if the
name parameter is missing. |
static String |
PARAM_ADMIN_ID
UserId of the administrator.
|
static String |
PARAM_ANONYMOUS_ID
UserId of the anonymous user.
|
static String |
PARAM_PRINCIPAL_PROVIDER_CLASS
Property-Key for the fully qualified class name of the implementation of
PrincipalProvider
to be used with the LoginModule. |
Constructor and Description |
---|
LoginModuleConfig(BeanConfig config)
Creates an access manager configuration object from the
given bean configuration.
|
Modifier and Type | Method and Description |
---|---|
LoginModule |
getLoginModule() |
getClassLoader, getClassName, getDefaultClassLoader, getParameters, newInstance, setClassLoader, setConnectionFactory, setDefaultClassLoader, setInstanceFactory, setValidate
public static final String PARAM_ANONYMOUS_ID
public static final String PARAM_ADMIN_ID
public static final String PARAM_PRINCIPAL_PROVIDER_CLASS
PrincipalProvider
to be used with the LoginModule.public static final String COMPAT_PRINCIPAL_PROVIDER_CLASS
PARAM_PRINCIPAL_PROVIDER_CLASS
.
Introduced for compatibility reasons.public static final String COMPAT_PRINCIPAL_PROVIDER_NAME
PrincipalProvider
configured with
PARAM_PRINCIPAL_PROVIDER_CLASS
be registered using the
specified name instead of the class name which is used by default if the
name parameter is missing.public LoginModuleConfig(BeanConfig config)
config
- bean configurationpublic LoginModule getLoginModule() throws ConfigurationException
ConfigurationException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.