[midPoint-git] [Evolveum/midpoint] 540a7b: Fix reg. confirmation with approvals (MID-4987)

Pavol Mederly mederly at evolveum.com
Wed Nov 14 16:41:47 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 540a7b4b509413bd757d7c6af9fac795b398a8c5
      https://github.com/Evolveum/midpoint/commit/540a7b4b509413bd757d7c6af9fac795b398a8c5
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-11-14 (Wed, 14 Nov 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageBase.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/PageRegistrationConfirmation.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/login/SelfRegistrationDto.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointGuiAuthorizationEvaluator.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/SecurityUtils.java
    A infra/util/src/main/java/com/evolveum/midpoint/util/CheckedFunction.java
    A infra/util/src/main/java/com/evolveum/midpoint/util/CheckedProducer.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
    M infra/util/src/main/java/com/evolveum/midpoint/util/Producer.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/AuthenticationEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/AuthenticationEvaluatorImpl.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityContextManager.java
    M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/SecurityUtil.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/SecurityEnforcerImpl.java
    M repo/security-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityContextManagerImpl.java

  Log Message:
  -----------
  Fix reg. confirmation with approvals (MID-4987)

Operations executed during registration confirmation were carried out
in incomplete security context (via runPrivileged). Now they are
executed via runAs(administrator).

Added two convenience methods to SecurityContextManager to run
SAMs throwing CommonExceptions.


  Commit: 5fae4c468356779e714153651e69a6ca04274e34
      https://github.com/Evolveum/midpoint/commit/5fae4c468356779e714153651e69a6ca04274e34
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-11-14 (Wed, 14 Nov 2018)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/MidPointSpringApplication.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssociationDetailsPanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssociationDetailsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/ExpressionValuePanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/AbstractAssociationWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/ContainerWrapperFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismPropertyPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismValuePanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/ResourceAssociationWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/ShadowAssociationWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/dto/AuditSearchDto.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ShadowSummaryPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ShadowSummaryPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/accept.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/arrow_refresh.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/arrow_refresh_gray.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/drive_go.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/drive_go_gray.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceController.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceDto.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceImport.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceImportDto.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceImportStatus.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceObjectTypeDto.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceState.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceSync.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceSyncController.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/ResourceSyncStatus.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/error.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/exclamation.png
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/help.png
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectQueryUtil.java
    M infra/schema/src/main/resources/localization/schema.properties
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityAdvanced.java
    A model/model-intest/src/test/resources/security/role-read-org-exec.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
    M repo/security-enforcer-impl/src/main/java/com/evolveum/midpoint/security/enforcer/impl/SecurityEnforcerImpl.java
    M weblogic-build/pom.xml

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


Compare: https://github.com/Evolveum/midpoint/compare/047b2361a9f1...5fae4c468356
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the midPoint-svn mailing list