info.magnolia.cms.security
Class SecuritySupportBase
java.lang.Object
info.magnolia.cms.security.SecuritySupportBase
- All Implemented Interfaces:
- SecuritySupport
- Direct Known Subclasses:
- RescueSecuritySupport, SecuritySupportImpl
public abstract class SecuritySupportBase
- extends Object
- implements SecuritySupport
Base implementation of SecuritySupport
using JAAS for authentication.
- Version:
- $Id$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_JAAS_LOGIN_CHAIN
public static final String DEFAULT_JAAS_LOGIN_CHAIN
- See Also:
- Constant Field Values
SecuritySupportBase
public SecuritySupportBase()
authenticate
public LoginResult authenticate(CredentialsCallbackHandler callbackHandler,
String customLoginModule)
- Description copied from interface:
SecuritySupport
- Performs an authentication using the
CredentialsCallbackHandler
to retriev the user name and password.
- Specified by:
authenticate
in interface SecuritySupport
createLoginContext
protected static LoginContext createLoginContext(CredentialsCallbackHandler callbackHandler,
String customLoginModule)
throws LoginException
- Throws:
LoginException
Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.