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: SecuritySupportBase.java 50139 2011-10-18 14:42:30Z tmattsson $
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-2012 Magnolia International Ltd.. All Rights Reserved.