[midPoint-git] [Evolveum/midpoint] d1057f: Add "ignoreWhenGenerating" value policy feature

mederly noreply at github.com
Wed Jan 22 11:27:13 CET 2025


  Branch: refs/heads/support-4.9
  Home:   https://github.com/Evolveum/midpoint
  Commit: d1057fe278a7efdc6414fa2decb15e545372caa0
      https://github.com/Evolveum/midpoint/commit/d1057fe278a7efdc6414fa2decb15e545372caa0
  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/CharacterClass.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/StringPolicy.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/stringpolicy/ValueGenerator.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.

(cherry picked from commit 836fbe7d30d2d1482e44f6edde5043f9ce665cb5)



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