public interface LoginUserAuthority extends UserAuthority
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
PasswordHasher |
getAlternateUserPasswordHasher()
Returns the password hasher object used in case the user password hasher is
not present in the user Profile.
|
PasswordHasher |
getPasswordHasher()
Returns the password hasher object used to encrypt password text to
whatever format is required by
login() . |
boolean |
login(User user,
java.lang.String name,
java.lang.String hashedPassword,
java.lang.Object hashKey)
Authenticates a user, populating the User object with appropriate
personae.
|
boolean |
loginWithUserPasswordHasher(User user,
java.lang.String name,
java.lang.String hashedPassword,
java.lang.Object hashKey,
PasswordHasher pHasher)
Authenticates a user using user specific Password Hasher, populating the
User object with appropriate personae.
|
addAuthenticationFailedListener, addAuthenticationSucceededListener, getPersona, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, userDestroyed
static final java.lang.String CLASS_VERSION
PasswordHasher getPasswordHasher()
login()
. This should
return the value of PasswordHasher.getLoginPasswordHasher() to ensure
that a one-time pad is used for authentication if supported by the
password hasher.PasswordHasher getAlternateUserPasswordHasher()
boolean login(User user, java.lang.String name, java.lang.String hashedPassword, java.lang.Object hashKey)
PasswordHasher
boolean loginWithUserPasswordHasher(User user, java.lang.String name, java.lang.String hashedPassword, java.lang.Object hashKey, PasswordHasher pHasher)
PasswordHasher