info.magnolia.cms.security
Class RescueSecuritySupport
java.lang.Object
info.magnolia.cms.security.SecuritySupportBase
info.magnolia.cms.security.RescueSecuritySupport
- All Implemented Interfaces:
- SecuritySupport
public class RescueSecuritySupport
- extends SecuritySupportBase
To be used as a replacement of /server/security or SecuritySupportImpl in mgnl-beans.properties
in case the configuration is messed up. For instance, edit
WEB-INF/config/default/magnolia.properties
and add
info.magnolia.cms.security.SecuritySupport=info.magnolia.cms.security.RescueSecuritySupport
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RescueSecuritySupport
public RescueSecuritySupport()
getUserManager
public UserManager getUserManager()
- Description copied from interface:
SecuritySupport
- Returns a generic UserManager, either for a default realm, or an implementation which delegates to other UserManager instances.
getUserManager
public UserManager getUserManager(String realmName)
- Description copied from interface:
SecuritySupport
- Returns a UserManager for the given realm.
getGroupManager
public GroupManager getGroupManager()
getRoleManager
public RoleManager getRoleManager()
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
- Overrides:
authenticate
in class SecuritySupportBase
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.