com.im.df.api.capabilities
Interface UpdatePasswordService
- All Superinterfaces:
- DFCapability, SchemaServiceCapability
public interface UpdatePasswordService
- extends SchemaServiceCapability
Service which can be used for updating password of the current user.
|
Method Summary |
void |
updateMyPassword(char[] oldPassword,
char[] newPassword)
Update the password for the current user. |
updateMyPassword
@Secured(value={"ROLE_USER","ROLE_EDIT_DATA","ROLE_EDIT_SCHEMA","ROLE_ADMIN"})
@Transactional
void updateMyPassword(char[] oldPassword,
char[] newPassword)
- Update the password for the current user.
Old password must match the one that is stored for the update to be successful.
Can be called only when tablesExist() is true
- Parameters:
oldPassword - The old passwordnewPassword - The new password