[midPoint-git] [Evolveum/midpoint] cbf8f4: Add CompositeObjectDefinition#replaceDefinition

mederly noreply at github.com
Tue Nov 29 16:49:13 CET 2022


  Branch: refs/heads/support-4.6
  Home:   https://github.com/Evolveum/midpoint
  Commit: cbf8f4d427358e726174d2940fde87428d8dca97
      https://github.com/Evolveum/midpoint/commit/cbf8f4d427358e726174d2940fde87428d8dca97
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/CompositeObjectDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeDefinitionImpl.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/AbstractSecurityTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java
    M model/model-intest/src/test/resources/security/resource-dummy-vault.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java
    A testing/story/src/test/resources/unix/role-accounts-autz.xml
    A testing/story/src/test/resources/unix/user-alice.xml

  Log Message:
  -----------
  Add CompositeObjectDefinition#replaceDefinition

The replaceDefinition(..) method was not supported for composite
object definitions. However, it is needed for security and schema
application code. So, sometimes it caused retrieval operations to fail.

This should resolve MID-8278.

(cherry picked from commit 5a5c857578d8f4298ad2766bdf1026e2b8fd8025)




More information about the midPoint-svn mailing list