com.im.df.api 5.9

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.
 

Method Detail

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 password
newPassword - The new password

com.im.df.api 5.9