public final class ConfigurationUtil
extends java.lang.Object
Configuration
s for built-in LoginModule implementations.Modifier and Type | Method and Description |
---|---|
static javax.security.auth.login.Configuration |
getDefaultConfiguration(ConfigurationParameters loginConfiguration)
Creates a new
Configuration for the default OAK authentication
setup which only handles login for standard JCR credentials. |
static javax.security.auth.login.Configuration |
getJackrabbit2Configuration(ConfigurationParameters loginConfiguration)
Creates a new
Configuration backwards compatible with the default
Jackrabbit 2.x authentication setup. |
public static javax.security.auth.login.Configuration getDefaultConfiguration(ConfigurationParameters loginConfiguration)
Configuration
for the default OAK authentication
setup which only handles login for standard JCR credentials.loginConfiguration
- The configuration parameters.Configuration
public static javax.security.auth.login.Configuration getJackrabbit2Configuration(ConfigurationParameters loginConfiguration)
Configuration
backwards compatible with the default
Jackrabbit 2.x authentication setup. In addition to login with standard JCR
credentials this configuration also handles
TokenCredentials
and under certain circumstances treats login without credentials as
anonymous login.loginConfiguration
- The configuration parameters.Configuration
Copyright © 2010 - 2020 Adobe. All Rights Reserved