...
You must also modify method : org.esupportail.activ.domain.beans.Account.generateInitialPassword().
Bloc de code |
---|
public void generateInitialPassword() { /* TODO : input your password generation algorithm here */ initialPassword = "initialseed#"; SimpleDateFormat format = new SimpleDateFormat("ddMMyyyy"); initialPassword += format.format(this.birthDate)+"#"; initialPassword += this.harpegeNumber+"#"; initialPassword += StringTools.cleanAllSpecialChar(this.birthName)+"#"; } |
Here you must implement your algorithm of generation of initial password. It must be the same that the one implemented in the script
used to create nightly LDAP user accounts from human ressources database.