JCRAuthenticationModule
instead@Deprecated public class MagnoliaAuthenticationModule extends AbstractLoginModule implements UserAwareLoginModule, Serializable
Modifier and Type | Class and Description |
---|---|
class |
MagnoliaAuthenticationModule.MagnoliaJRAdminPrincipal
Deprecated.
As silly as it seems this class sole purpose of existence is to implement Serializable required by JR itself.
|
Modifier and Type | Field and Description |
---|---|
protected User |
user
Deprecated.
|
callbackHandler, log, name, OPTION_REALM, OPTION_SKIP_ON_PREVIOUS_SUCCESS, OPTION_USE_REALM_CALLBACK, options, pswd, realm, sharedState, STATUS, STATUS_FAILED, STATUS_SKIPPED, STATUS_SUCCEDED, STATUS_SUCCEEDED, STATUS_UNAVAILABLE, subject, success, TRY_FIRST_PASS, TRY_MAPPED_PASS, USE_FIRST_PASS, USE_MAPPED_PASS, useRealmCallback
Constructor and Description |
---|
MagnoliaAuthenticationModule()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
collectGroupNames()
Deprecated.
Extract all the configured groups from the given node.
|
void |
collectRoleNames()
Deprecated.
Extract all the configured roles from the given node.
|
User |
getUser()
Deprecated.
|
protected void |
initUser()
Deprecated.
|
protected void |
matchPassword()
Deprecated.
|
void |
setACL()
Deprecated.
Set access control list from the user, roles and groups.
|
void |
setEntity()
Deprecated.
Set user details.
|
void |
validateUser()
Deprecated.
Checks is the credentials exist in the repository.
|
abort, addGroupName, addRoleName, commit, getGroupNames, getRoleNames, getSharedStatus, getSkip, initialize, login, logout, release, setGroupNames, setRoleNames, setSharedStatus
protected User user
public void validateUser() throws LoginException
validateUser
in class AbstractLoginModule
LoginException
- or specific subclasses (which will be handled further for user feedback)protected void initUser() throws LoginException
LoginException
protected void matchPassword() throws LoginException
LoginException
public void setEntity()
setEntity
in class AbstractLoginModule
public void setACL()
setACL
in class AbstractLoginModule
public void collectRoleNames()
public void collectGroupNames()
public User getUser()
getUser
in interface UserAwareLoginModule
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.