java.lang.String |
PasswordEncoderService.decode(UserModel user) |
Tries to decodes from the given user the encoded password based on the encoding set to the user.
|
java.lang.String |
PasswordEncoderService.encode(UserModel user,
java.lang.String plainTextPassword,
java.lang.String passwordEncoding) |
Encodes the given plainTextPassword with the corresponding PasswordEncoder (based on the
passwordEncoding) and returns it.
|
java.lang.String |
UserService.getPassword(UserModel user) |
Returns for the given user the decoded password if this is possible.
|
java.lang.String |
UserService.getPassword(java.lang.String userId) |
If possible returns the decoded password from the given user.
|
void |
UserService.setPassword(UserModel user,
java.lang.String plainPassword) |
Encodes the given plain text password with the user's password encoding (using the default encoding if the user
doesn't have one) and set the encoded password to the given user.
|
void |
UserService.setPassword(UserModel user,
java.lang.String plainPassword,
java.lang.String encoding) |
Encodes the given plain text password with the given password encoding and set the encoded password to the given
user.
|
void |
UserService.setPassword(java.lang.String userId,
java.lang.String password) |
Encodes the given plain text password with the default password encoding and set the encoded password to the given
user.
|
void |
UserService.setPassword(java.lang.String userId,
java.lang.String password,
java.lang.String encoding) |
Sets the password according to the given encoding for the given user id.
|
void |
UserService.setPasswordWithDefaultEncoding(UserModel user,
java.lang.String plainPassword) |
Encodes the given plain text password with the default password encoding and set the encoded password to the given
user.
|