Package 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.- Author:
- Tim Dudgeon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
updateMyPassword(char[] oldPassword, char[] newPassword)
Update the password for the current user.
-
-
-
Method Detail
-
updateMyPassword
@Secured({"ROLE_USER","ROLE_EDIT_DATA","ROLE_EDIT_SCHEMA","ROLE_ADMIN","ROLE_EXPORT_DATA","ROLE_EDIT_SCRIPT"}) @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
-
-