[midPoint-git] [Evolveum/midpoint] 73e813: Add "ignoreWhenGenerating" value policy feature
mederly
noreply at github.com
Wed Jan 22 11:54:58 CET 2025
Branch: refs/heads/support-4.8
Home: https://github.com/Evolveum/midpoint
Commit: 73e81342f727f17b597254abbb7acb30a3db191a
https://github.com/Evolveum/midpoint/commit/73e81342f727f17b597254abbb7acb30a3db191a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2025-01-22 (Wed, 22 Jan 2025)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/ValuePolicyProcessor.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPasswordPolicy.java
A model/model-impl/src/test/resources/lens/ppolicy/password-policy-all-ignored-for-generation.xml
A model/model-impl/src/test/resources/lens/ppolicy/password-policy-gen-numeric-accepting-alphas.xml
A model/model-impl/src/test/resources/lens/ppolicy/password-policy-required-char-ignored-for-generation.xml
M repo/system-init/src/main/resources/initial-objects/value-policy/010-value-policy.xml
Log Message:
-----------
Add "ignoreWhenGenerating" value policy feature
This commits adds the possibility of accepting selected characters in
a value policy, but never use them when generating the values.
It is used to stop problematic characters (space, '#', '&', '*',
apostrophe, and double quotes) being generated by the default value
policy.
This resolves MID-9541.
(Somewhat cherry-picked from d1057fe278a7efdc6414fa2decb15e545372caa0;
but the ValuePolicyProcessor code is totally different, so the change
had to be implemented from scratch.)
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list