[midPoint-git] [Evolveum/midpoint] b15aa0: adding fixes for remote authentication modules (mi...

Lukas Skublik noreply at github.com
Fri Aug 18 13:48:42 CEST 2023


  Branch: refs/heads/feature/forgot-username
  Home:   https://github.com/Evolveum/midpoint
  Commit: b15aa0ba82e5c7b2b28fd5ea6853a2abedac5079
      https://github.com/Evolveum/midpoint/commit/b15aa0ba82e5c7b2b28fd5ea6853a2abedac5079
  Author: lskublik <lskublik at evolveum.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/factory/module/AbstractModuleFactory.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/module/configurer/ModuleWebSecurityConfigurer.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/module/configurer/OidcClientModuleWebSecurityConfigurer.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/oidc/OidcAuthorizationRequestRedirectFilter.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/oidc/OidcLoginConfigurer.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/saml/MidpointSaml2LoginConfigurer.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/saml/MidpointSaml2WebSsoAuthenticationRequestFilter.java

  Log Message:
  -----------
  adding fixes for remote authentication modules (missing provider, oidc configurer init in constructor and creating of security context before redirect to IDP)


  Commit: 1d123226ba1187883a22cfde9340ec8926c4b37b
      https://github.com/Evolveum/midpoint/commit/1d123226ba1187883a22cfde9340ec8926c4b37b
  Author: lskublik <lskublik at evolveum.com>
  Date:   2023-08-18 (Fri, 18 Aug 2023)

  Changed paths:
    M gui/admin-gui/src/frontend/scss/midpoint.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/wizard/BasicWizardStepPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/prism/wrapper/PrismReferenceWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/button/ReloadableButton.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/TilePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/TilePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/TileTablePanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/AbstractFormWizardStepPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/AbstractWizardBasicPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/AbstractWizardBasicPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/EnumWizardChoicePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/PrismReferencePanelContext.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/ResourceObjectTypeArchetypeWrapperFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/ShadowAssociationWrapperFactoryImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/AbstractPageObjectDetails.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/ObjectDetailsModels.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/TemplateChoicePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/assignmentholder/PageAssignmentHolderDetails.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/AssignmentHolderOperationalButtonsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/ResourceOperationalButtonsPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/component/ResourceOperationalButtonsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/ResourceDetailsModel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/LifecycleStatePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceObjectsPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceTaskCreator.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceUncategorizedPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/AbstractValueFormResourceWizardStepPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/PreviewResourceDataWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/BasicInformationStepPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/CreateResourceTemplatePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/PreviewResourceObjectTypeDataWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/ResourceObjectTypeWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/ResourceObjectTypeWizardPreviewPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/AttributeMappingsTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/InboundAttributeMappingsTable.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/basic/ResourceObjectTypeBasicWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/construction/ConstructionGroupStepPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/wizard/TaskExecutionWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/CartSummaryPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ChooseRelationPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RelationPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RequestAccess.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RoleCatalogPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ShoppingCartItem.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/PrismReferenceValuePanel.java
    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.html
    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.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/vertical/form/VerticalFormPrismReferenceValuePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/PrismReferenceWrapperImpl.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/ResourceObjectTypeChoiceRenderer.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/component/QueryPlaygroundPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceSummaryPanel.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ExpressionConfigItem.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/ExpressionEvaluatorProfile.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/ExpressionProfile.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/FunctionLibrariesProfile.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/FunctionLibraryProfile.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/ScriptingProfile.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/query/PreparedQuery.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/query/TypedQuery.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/ObjectSetUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/WorkDefinitionUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M model/authentication-api/src/main/java/com/evolveum/midpoint/authentication/api/evaluator/AuthenticationEvaluator.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/authorization/evaluator/MidPointGuiAuthorizationEvaluator.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/module/authentication/token/AttributeVerificationToken.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/module/authentication/token/SecurityQuestionsAuthenticationToken.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/AbstractAuthenticationProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/AttributeVerificationProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/ClusterProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/FocusIdentificationProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/MailNonceProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/MidPointLdapAuthenticationProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/MidpointAbstractAuthenticationProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/PasswordProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/PreAuthenticatedProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/RemoteModuleProvider.java
    M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/provider/SecurityQuestionProvider.java
    A model/model-api/src/main/java/com/evolveum/midpoint/model/api/ActivityCustomization.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/archetypes/ArchetypeManager.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionProfileManager.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/FunctionExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/CombinatorialEvaluation.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/FunctionLibrary.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/FunctionLibraryManager.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/LibraryFunctionExecutor.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/util/PopulatorUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/PrismConfigurationUpdater.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ValueBasedDefinitionLookupsImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/tasks/ActivityExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptingExpressionEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AbstractObjectBasedActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AddExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ApplyDefinitionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AssignExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AssignmentOperationsExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/BaseActionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/DeleteExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/DiscoverConnectorsExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/EnableDisableExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/EvaluateExpressionExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ExecuteScriptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/GenerateValueExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/LogExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ModifyExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/NotifyExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/PurgeSchemaExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/RecomputeExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ReencryptExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ResolveExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ResumeTaskExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/TestResourceExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/UnassignExecutor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/ValidateExecutor.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/TestQueryExpression.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestExpressionProfiles.java
    A model/model-intest/src/test/resources/profiles/archetype-forbidden-generate-value-action-alt-role.xml
    A model/model-intest/src/test/resources/profiles/archetype-forbidden-generate-value-action-role.xml
    A model/model-intest/src/test/resources/profiles/archetype-little-trusted-role.xml
    A model/model-intest/src/test/resources/profiles/archetype-little-trusted-variant-role.xml
    A model/model-intest/src/test/resources/profiles/archetype-little-trusted-variant-two-role.xml
    M model/model-intest/src/test/resources/profiles/archetype-restricted-role.xml
    A model/model-intest/src/test/resources/profiles/archetype-trusted-role.xml
    A model/model-intest/src/test/resources/profiles/function-library-one.xml
    A model/model-intest/src/test/resources/profiles/function-library-two.xml
    M model/model-intest/src/test/resources/profiles/role-scripting.xml
    A model/model-intest/src/test/resources/profiles/scripting-execute-simpleTrustedFunction.xml
    A model/model-intest/src/test/resources/profiles/scripting-generate-value.xml
    A model/model-intest/src/test/resources/profiles/scripting-script-in-unassign-filter.xml
    M model/model-intest/src/test/resources/profiles/system-configuration.xml
    A model/model-intest/src/test/resources/profiles/value-policy-test.xml
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConnectorManager.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionEvaluationContext.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QAffectedObjects.java
    A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/RunFlag.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-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityContextManagerImpl.java
    A testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestTrustedScripts.java
    A testing/story/src/test/resources/trusted-scripts/archetype-little-trusted-task.xml
    A testing/story/src/test/resources/trusted-scripts/archetype-trusted-task.xml
    A testing/story/src/test/resources/trusted-scripts/function-library-one.xml
    A testing/story/src/test/resources/trusted-scripts/role-unprivileged.xml
    A testing/story/src/test/resources/trusted-scripts/system-configuration.xml
    A testing/story/src/test/resources/trusted-scripts/task-template-scripting-little-trusted.xml
    A testing/story/src/test/resources/trusted-scripts/task-template-scripting-no-profile.xml
    A testing/story/src/test/resources/trusted-scripts/task-template-scripting-trusted.xml
    A testing/story/src/test/resources/trusted-scripts/user-joe.xml
    M testing/story/testng-integration.xml
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/Main.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/HelpAction.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/HelpOptions.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/VerifyAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeDistributionAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/upgrade/action/UpgradeObjectsAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/NinjaContext.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/NinjaUsageFormatter.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/util/ConsoleFormat.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/util/NinjaUtils.java
    M tools/ninja/src/main/resources/messages.properties
    M tools/ninja/src/test/java/com/evolveum/midpoint/ninja/HelpVersionTest.java

  Log Message:
  -----------
  Merge remote-tracking branch 'refs/remotes/origin/feature/forgot-username' into feature/forgot-username


Compare: https://github.com/Evolveum/midpoint/compare/68a1761b4404...1d123226ba11


More information about the midPoint-svn mailing list