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 41137 2011-01-06 18:19:25Z gjoseph $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.