[midPoint-git] [Evolveum/midpoint] 13d234: Support notifyChange REST call without shadow OID

Viliam Repan noreply at github.com
Tue May 26 21:47:59 CEST 2026


  Branch: refs/heads/fix/10714-4.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: 13d234967a4f52749429a651840ed283f3abecb6
      https://github.com/Evolveum/midpoint/commit/13d234967a4f52749429a651840ed283f3abecb6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestNotifyChange.java
    A model/model-intest/src/test/resources/async/notify-change/resource-ad.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ExternalResourceEventListenerImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedExternalChange.java

  Log Message:
  -----------
  Support notifyChange REST call without shadow OID

What

This commit allows posting changes (deltas) to using notifyChange REST
method without the need to specify shadow OID to which the delta is
to be applied. Instead, it is sufficient to provide resource OID,
object class name, and an attribute or attributes that uniquely
identify the account in question.

Also, minor fixes in "notifyChange" code were needed to support the
flow, e.g., correctly setting the channel name.

Why

It is necessary to support AD->midPoint password synchronizer that
is being developed.

Related to #11230.


  Commit: b852e81a690c3db2cc6e3e806d6a678e124ad301
      https://github.com/Evolveum/midpoint/commit/b852e81a690c3db2cc6e3e806d6a678e124ad301
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingMetadata.java

  Log Message:
  -----------
  Fix the compilation error from previous commit


  Commit: 31bd644bdf9873d5a4fd19748ada13e9ef747d89
      https://github.com/Evolveum/midpoint/commit/31bd644bdf9873d5a4fd19748ada13e9ef747d89
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java

  Log Message:
  -----------
  Fix notifyChange method (applying definition)

This commit fixes the application of definition to the shadow
received via REST call.

Related to #11230.


  Commit: a3ba2ae455036c40668119f30739b96d08670d46
      https://github.com/Evolveum/midpoint/commit/a3ba2ae455036c40668119f30739b96d08670d46
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/StaticWebServlet.java

  Log Message:
  -----------
  removed dead code

(cherry picked from commit 595131d21fa2b552cd3eb1b7b35c8d95bcc81a20)


  Commit: 295cc25d22c585087b85fc2dd86d415491f3d89e
      https://github.com/Evolveum/midpoint/commit/295cc25d22c585087b85fc2dd86d415491f3d89e
  Author: honchar <honchar at evolveum.com>
  Date:   2026-05-25 (Mon, 25 May 2026)

  Changed paths:
    M release-notes.adoc

  Log Message:
  -----------
  Updated release notes


  Commit: 60059f48de9f53ede5a13585bdea1f083539b4ad
      https://github.com/Evolveum/midpoint/commit/60059f48de9f53ede5a13585bdea1f083539b4ad
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/lostusername/PageIdentityRecovery.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/filter/AuthenticationWrapper.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/filter/SequenceAuditFilter.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedAccessDeniedHandler.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedLogoutHandler.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/ConnectionEnvironment.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/HttpConnectionInformation.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java

  Log Message:
  -----------
  improved session identifier handling

(cherry picked from commit a8a323e5aecac60803aca7553c91c5dbc1e73c4e)


  Commit: ec6fba33a16b9c4bf003377c5196efefaaaa99c2
      https://github.com/Evolveum/midpoint/commit/ec6fba33a16b9c4bf003377c5196efefaaaa99c2
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java

  Log Message:
  -----------
  improved session identifier handling, minor rename

(cherry picked from commit 3ec075ca4ea9356d8aef70dc57ea66a03bb0936f)


  Commit: 7a35c3ff75011a2e2ae97a9c3a83ad7942c34bf7
      https://github.com/Evolveum/midpoint/commit/7a35c3ff75011a2e2ae97a9c3a83ad7942c34bf7
  Author: Viliam Repan <vilo.repan at evolveum.com>
  Date:   2026-05-26 (Tue, 26 May 2026)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/lostusername/PageIdentityRecovery.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/StaticWebServlet.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/SchemaConstants.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/filter/AuthenticationWrapper.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/filter/SequenceAuditFilter.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedAccessDeniedHandler.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/handler/AuditedLogoutHandler.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelContext.java
    M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingMetadata.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/async/TestNotifyChange.java
    A model/model-intest/src/test/resources/async/notify-change/resource-ad.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ExternalResourceEventListenerImpl.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedExternalChange.java
    M release-notes.adoc
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/ConnectionEnvironment.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/HttpConnectionInformation.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java

  Log Message:
  -----------
  Merge branch 'support-4.8' into fix/10714-4.8


Compare: https://github.com/Evolveum/midpoint/compare/abc965788451...7a35c3ff7501

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