| Package | Description |
|---|---|
| de.hybris.platform.servicelayer.user | |
| de.hybris.platform.servicelayer.user.impl |
| Modifier and Type | Method and Description |
|---|---|
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(java.lang.String userId)
If possible returns the decoded password from the given user.
|
java.lang.String |
UserService.getPassword(UserModel user)
Returns for the given user the decoded password if this is possible.
|
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.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.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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
DefaulPasswordEncoderService.decode(UserModel user) |
java.lang.String |
DefaulPasswordEncoderService.encode(UserModel user,
java.lang.String plainTextPassword,
java.lang.String passwordEncoding) |
java.lang.String |
DefaultUserService.getPassword(java.lang.String userId) |
java.lang.String |
DefaultUserService.getPassword(UserModel user) |
void |
DefaultUserService.setPassword(java.lang.String userId,
java.lang.String password) |
void |
DefaultUserService.setPassword(java.lang.String userId,
java.lang.String password,
java.lang.String encoding) |
void |
DefaultUserService.setPassword(UserModel user,
java.lang.String plainPassword) |
void |
DefaultUserService.setPasswordWithDefaultEncoding(UserModel user,
java.lang.String plainPassword) |
Copyright © 2018 SAP SE. All Rights Reserved.