public interface AuthSubject extends Account
AuthSubject
provides some user-credentials.Modifier and Type | Interface and Description |
---|---|
static class |
AuthSubject.PasswordChangePolicy
The policy for changing the subject's password
|
Modifier and Type | Method and Description |
---|---|
String |
getDigest()
Returns the salted digest for this
AuthSubject . |
default AuthSubject.PasswordChangePolicy |
getPasswordChangePolicy()
Returns the
AuthSubject.PasswordChangePolicy for this subject |
String |
getSalt()
Returns the salt for this
AuthSubject . |
void |
setDigest(String digest)
Sets the salted digest for this
AuthSubject . |
default void |
setPasswordChangePolicy(AuthSubject.PasswordChangePolicy passwordChangePolicy)
Sets the
AuthSubject.PasswordChangePolicy to use. |
default void |
setPasswordLastChanged(Date date)
Sets the date when the password was last changed
|
void |
setSalt(String salt)
Sets the salt for this
AuthSubject . |
getAuthName, getEmail, getLanguage, getRealname, getTimeZone
String getDigest()
AuthSubject
.String getSalt()
AuthSubject
.void setSalt(String salt)
AuthSubject
.salt
- the saltvoid setDigest(String digest)
AuthSubject
.digest
- the digestdefault AuthSubject.PasswordChangePolicy getPasswordChangePolicy()
AuthSubject.PasswordChangePolicy
for this subjectAuthSubject.PasswordChangePolicy
for this subjectdefault void setPasswordChangePolicy(AuthSubject.PasswordChangePolicy passwordChangePolicy)
AuthSubject.PasswordChangePolicy
to use.passwordChangePolicy
- the policy to usedefault void setPasswordLastChanged(Date date)
date
- the dateCopyright © 2011–2020 aiticon GmbH. All rights reserved.