Class LoginModuleConfig
- java.lang.Object
-
- org.apache.jackrabbit.core.config.BeanConfig
-
- org.apache.jackrabbit.core.config.LoginModuleConfig
-
public class LoginModuleConfig extends BeanConfig
LoginModule configuration. This bean configuration class is used to create login module objects.Login module is an optional configuration that allows to use JackRabbit in a non-JAAS environment.
- See Also:
RepositoryConfig.getLoginModuleConfig()
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPAT_PRINCIPAL_PROVIDER_CLASSSame asPARAM_PRINCIPAL_PROVIDER_CLASS.static StringCOMPAT_PRINCIPAL_PROVIDER_NAMEProperty-Key if thePrincipalProviderconfigured withPARAM_PRINCIPAL_PROVIDER_CLASSbe registered using the specified name instead of the class name which is used by default if the name parameter is missing.static StringPARAM_ADMIN_IDUserId of the administrator.static StringPARAM_ANONYMOUS_IDUserId of the anonymous user.static StringPARAM_PRINCIPAL_PROVIDER_CLASSProperty-Key for the fully qualified class name of the implementation ofPrincipalProviderto be used with the LoginModule.
-
Constructor Summary
Constructors Constructor Description LoginModuleConfig(BeanConfig config)Creates an access manager configuration object from the given bean configuration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoginModulegetLoginModule()-
Methods inherited from class org.apache.jackrabbit.core.config.BeanConfig
getClassLoader, getClassName, getDefaultClassLoader, getParameters, newInstance, setClassLoader, setConnectionFactory, setDefaultClassLoader, setInstanceFactory, setValidate
-
-
-
-
Field Detail
-
PARAM_ANONYMOUS_ID
public static final String PARAM_ANONYMOUS_ID
UserId of the anonymous user. Optional parameter in the LoginModule configuration.- See Also:
- Constant Field Values
-
PARAM_ADMIN_ID
public static final String PARAM_ADMIN_ID
UserId of the administrator. Optional parameter in the LoginModule configuration.- See Also:
- Constant Field Values
-
PARAM_PRINCIPAL_PROVIDER_CLASS
public static final String PARAM_PRINCIPAL_PROVIDER_CLASS
Property-Key for the fully qualified class name of the implementation ofPrincipalProviderto be used with the LoginModule.- See Also:
- Constant Field Values
-
COMPAT_PRINCIPAL_PROVIDER_CLASS
public static final String COMPAT_PRINCIPAL_PROVIDER_CLASS
Same asPARAM_PRINCIPAL_PROVIDER_CLASS. Introduced for compatibility reasons.- See Also:
- JCR-2629, Constant Field Values
-
COMPAT_PRINCIPAL_PROVIDER_NAME
public static final String COMPAT_PRINCIPAL_PROVIDER_NAME
Property-Key if thePrincipalProviderconfigured withPARAM_PRINCIPAL_PROVIDER_CLASSbe registered using the specified name instead of the class name which is used by default if the name parameter is missing.- See Also:
- JCR-2629, Constant Field Values
-
-
Constructor Detail
-
LoginModuleConfig
public LoginModuleConfig(BeanConfig config)
Creates an access manager configuration object from the given bean configuration.- Parameters:
config- bean configuration
-
-
Method Detail
-
getLoginModule
public LoginModule getLoginModule() throws ConfigurationException
- Throws:
ConfigurationException
-
-