public abstract class SecuritySupportBase extends Object implements SecuritySupport
SecuritySupport
using JAAS for authentication.SecuritySupport.Factory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_JAAS_LOGIN_CHAIN |
Constructor and Description |
---|
SecuritySupportBase() |
Modifier and Type | Method and Description |
---|---|
LoginResult |
authenticate(CredentialsCallbackHandler callbackHandler,
String customLoginModule)
Performs an authentication using the
CredentialsCallbackHandler to retrieve the user name and password. |
protected static LoginContext |
createLoginContext(CredentialsCallbackHandler callbackHandler,
String customLoginModule) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGroupManager, getRoleManager, getUserManager, getUserManager
public static final String DEFAULT_JAAS_LOGIN_CHAIN
public LoginResult authenticate(CredentialsCallbackHandler callbackHandler, String customLoginModule)
SecuritySupport
CredentialsCallbackHandler
to retrieve the user name and password.authenticate
in interface SecuritySupport
protected static LoginContext createLoginContext(CredentialsCallbackHandler callbackHandler, String customLoginModule) throws LoginException
LoginException
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.