In this version the function is considered to be preliminary as it still does not have any support regarding maintaining the list of used password automatically. It must be maintained manually like this: - run encryptPassword for creating new password.
- 3 property were created by the script and stored in settings.xml:
- usernamePassword - encrypted password
- usernamePasswordHistoryHash - hash of the password
- usernamePasswordHistoryLastModified - the time of creation
- modify lastModified attribute of the user in history file with the value of usernamePasswordHistoryLastModified property. When started Aspire will use the maximumPasswordAge value from policy file to check if the password is still valid
- If you want to change the password lately later do this :
- create new password element in the history file with the hash of previous password stored in usernamePasswordHistoryHash property
- repeat the process for creating new password - the new password will be validated against the history file
|