Defect #1832
closed
Generating password doesn't set new valid till
Added by Ondřej Kopr over 5 years ago.
Updated over 4 years ago.
Description
It is required set new password valid till during password generate. Without this setup we generate infinity valid password for users.
As temporary workaround can be used this settings:
idm.sec.core.processor.identity-password-processor.eventTypes=PASSWORD, PASSWORD_RESET,PASSWORD_GENERATE
but this configuration also generate one history password record.
- Target version changed from 1.6.0 to 1.7.0
- Status changed from New to In Progress
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Peter Štrunc
- % Done changed from 0 to 90
I also fix jenkins, because this project has old build commnad on jenkins:
Old:
-U -Dmaven.wagon.http.ssl.insecure=true -Djavax.net.ssl.trustStore=/home/jenkins/.m2/lets_cacerts -PseparatedApp clean verify sonar:sonar install deploy
New:
-U -Dmaven.wagon.http.ssl.insecure=true -Djavax.net.ssl.trustStore=/home/jenkins/.m2/lets_cacerts -Ptest -Dspring.profiles.active=test clean verify sonar:sonar install deploy
- Status changed from Needs feedback to In Progress
- Assignee changed from Peter Štrunc to Ondřej Kopr
It looks great. I would also like to add this fix to version 2.0.0, but there are some incompatible changes (using joda.time). Please keep this fix in develop, we will release version 1.7.0 with it. The please add this fix on 2.0.0-rc, but make it compatible with core 10.0.0.
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Peter Štrunc
- Priority changed from High to Normal
- Target version changed from 1.7.0 to 2.1.0
- Affected versions 2.0.0, 1.7.0 added
- Assignee changed from Peter Štrunc to Ondřej Kopr
I fixed password reset and generating of new password. Now it uses default validation policy instead of generate policy. @kopro would you please review these changes? Everything is in develop branch
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Peter Štrunc
- % Done changed from 90 to 100
Thank you @sourek for review and finding my mistake with type of password policy. I just checked you changes and it is OK.
Thank you.
- Status changed from Resolved to Closed
Also available in: Atom
PDF