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

mederly noreply at github.com
Wed Jan 22 11:26:17 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 836fbe7d30d2d1482e44f6edde5043f9ce665cb5
      https://github.com/Evolveum/midpoint/commit/836fbe7d30d2d1482e44f6edde5043f9ce665cb5
  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.


  Commit: 81fba87ed82a9d286f9bcba4bd8958a82a66d0b1
      https://github.com/Evolveum/midpoint/commit/81fba87ed82a9d286f9bcba4bd8958a82a66d0b1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/form/CreateObjectForReferencePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/PrismContainerWrapperFactoryImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/FormSessionOptionPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormDefaultContainerablePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormDefaultContainerablePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPrismContainerPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPrismContainerPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceObjectTypeArchetypeValueWrapperImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceObjectTypeMarkPolicyValueWrapperImpl.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/8bae99c8961b...81fba87ed82a

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