Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titlePreliminary function

In this version the function is considered to be preliminary as it still does not have  have any support regarding maintaining the list of used password automatically. It must be maintained manually like thisfollowing the next steps:

  • run Run encryptPassword for creating new password.
  • 3 property were properties are created by the script and stored in your distribution's settings.xml file:
    • usernamePassword - encrypted password
    • usernamePasswordHistoryHash - hash of the password
    • usernamePasswordHistoryLastModified - the time of creation
  • modify Update the "lastModified" attribute of the template user in history the passwordHistory file with the value of  of the usernamePasswordHistoryLastModified property. When started Aspire will use the maximumPasswordAge value from policy file to check if the password is still valid.
    • NOTICE: it´s important that the very first time you generate the encrypted password, that you don´t update the password field in the passwordHistory file, otherwise Aspire will report that it has already been used even though this is the first time. Only update the "lastModified" attribute.
  • If you want to change the password later, do this :
    • create a new password element in the history file with the hash of previous password stored in usernamePasswordHistoryHash property
    • repeat the process for creating the new encrypted password - the new password will be validated against the history file

...