public class RescueSecuritySupport extends SecuritySupportBase
WEB-INF/config/default/magnolia.properties
and add
info.magnolia.cms.security.SecuritySupport=info.magnolia.cms.security.RescueSecuritySupport
Modifier and Type | Class and Description |
---|---|
protected static class |
RescueSecuritySupport.RescueUser
TODO extract as top level class?
|
protected static class |
RescueSecuritySupport.RescueUserManager
TODO: extract as top level class?
|
SecuritySupport.Factory
DEFAULT_JAAS_LOGIN_CHAIN
Constructor and Description |
---|
RescueSecuritySupport() |
Modifier and Type | Method and Description |
---|---|
LoginResult |
authenticate(CredentialsCallbackHandler callbackHandler,
String customLoginModule)
Performs an authentication using the
CredentialsCallbackHandler to retrieve 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.
|
createLoginContext
public UserManager getUserManager()
SecuritySupport
public UserManager getUserManager(String realmName)
SecuritySupport
public GroupManager getGroupManager()
public RoleManager getRoleManager()
public LoginResult authenticate(CredentialsCallbackHandler callbackHandler, String customLoginModule)
SecuritySupport
CredentialsCallbackHandler
to retrieve the user name and password.authenticate
in interface SecuritySupport
authenticate
in class SecuritySupportBase
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.