info.magnolia.cms.security
Interface SecuritySupport

All Known Implementing Classes:
RescueSecuritySupport, SecuritySupportBase, SecuritySupportImpl

public interface SecuritySupport

Entry point to get the various managers like UserManager, GroupManager and RoleManager.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph

Nested Class Summary
static class SecuritySupport.Factory
          Factory to retrieve the singleton instance.
 
Method Summary
 LoginResult authenticate(CredentialsCallbackHandler callbackHandler, String jaasModuleName)
          Performs an authentication using the CredentialsCallbackHandler to retriev the user name and password.
 GroupManager getGroupManager()
           
 RoleManager getRoleManager()
           
 UserManager getUserManager()
          Returns a generic UserManager, either for a default realm, or an implementation which delegates to other UserManager instances.
 UserManager getUserManager(String realmName)
          Returns a UserManager for the given realm.
 

Method Detail

getUserManager

UserManager getUserManager()
Returns a generic UserManager, either for a default realm, or an implementation which delegates to other UserManager instances.


getUserManager

UserManager getUserManager(String realmName)
Returns a UserManager for the given realm.


getGroupManager

GroupManager getGroupManager()

getRoleManager

RoleManager getRoleManager()

authenticate

LoginResult authenticate(CredentialsCallbackHandler callbackHandler,
                         String jaasModuleName)
Performs an authentication using the CredentialsCallbackHandler to retriev the user name and password.



Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.