info.magnolia.cms.security
Class SecuritySupportBase

java.lang.Object
  extended by 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 $

Nested Class Summary
 
Nested classes/interfaces inherited from interface info.magnolia.cms.security.SecuritySupport
SecuritySupport.Factory
 
Constructor Summary
SecuritySupportBase()
           
 
Method Summary
 LoginResult authenticate(CredentialsCallbackHandler callbackHandler, String customLoginModule)
          Performs an authentication using the CredentialsCallbackHandler to retriev the user name and password.
protected static LoginContext createLoginContext(CredentialsCallbackHandler callbackHandler, String customLoginModule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.cms.security.SecuritySupport
getGroupManager, getRoleManager, getUserManager, getUserManager
 

Constructor Detail

SecuritySupportBase

public SecuritySupportBase()
Method Detail

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-2011 Magnolia International Ltd.. All Rights Reserved.