[midPoint-git] [Evolveum/connector-scimrest] b11b38: Rename HttpRequestDto to HttpRequestSpecification

johnstone3 noreply at github.com
Tue Apr 28 00:14:27 CEST 2026


  Branch: refs/heads/feature/basic-jwt-authorization
  Home:   https://github.com/Evolveum/connector-scimrest
  Commit: b11b3828b6c089b45a22f7112b150d34180118bb
      https://github.com/Evolveum/connector-scimrest/commit/b11b3828b6c089b45a22f7112b150d34180118bb
  Author: Jan Kamenicky <jan.kamenicky at evolveum.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M common/src/main/java/com/evolveum/polygon/scimrest/api/AuthorizationCustomizer.java
    M common/src/main/java/com/evolveum/polygon/scimrest/api/HttpRequestConverter.java
    R common/src/main/java/com/evolveum/polygon/scimrest/api/HttpRequestDTO.java
    A common/src/main/java/com/evolveum/polygon/scimrest/api/HttpRequestSpecification.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/AuthorizationCustomizationBuilderImpl.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/DispatchingAuthorizationCustomizer.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/DispatchingScimAuthorizationCustomizer.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/EndpointBasedSearchBuilder.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/FilterToRequestMapper.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/GroovyOAuth2TokenManager.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/PagingHandler.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/RestSearchOperationHandler.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/api/AuthenticationCustomizationBuilder.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/api/RestSearchEndpointBuilder.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/JdkHttpRequestConverter.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/OAuth2TokenManager.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/RestContext.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/rest/RestPagingAwareObjectRetriever.java
    M common/src/main/java/com/evolveum/polygon/scimrest/impl/scim/JerseyRequestCustomizerFilter.java

  Log Message:
  -----------
  Rename HttpRequestDto to HttpRequestSpecification


  Commit: ed04cdbe0ad02f4c9f3f5a6d6f386695b96b5bca
      https://github.com/Evolveum/connector-scimrest/commit/ed04cdbe0ad02f4c9f3f5a6d6f386695b96b5bca
  Author: Jan Kamenicky <jan.kamenicky at evolveum.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/AbstractGroovyRestConnector.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/impl/ConnectorDevelopmentKit.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/impl/ConnectorManifest.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/impl/ManifestBasedConnector.java
    M common/src/main/java/com/evolveum/polygon/scimrest/groovy/impl/ReadOnlyConnector.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/AbstractScimOAuth2Tests.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2ClientCredentialsTests.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2GroovyHookTests.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2JwtBearerTests.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/OAuth2ManualIntegrationTest.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/ScimExceptionSimulationTest.java
    M common/src/test/java/com/evolveum/polygon/scimrest/exception/TestRestConnector.java
    A common/src/test/java/com/evolveum/polygon/scimrest/groovy/InitializationOrderTest.java
    M common/src/test/java/com/evolveum/polygon/scimrest/groovy/ScimDevTest.java
    M connector/forgejo/src/main/java/com/evolveum/polygon/forgejo/ForgejoConnector.java
    M connector/forgejo/src/main/resources/connector.manifest.json
    M connector/open-project/src/main/java/com/evolveum/polygon/openProject/OpenProjectConnector.java
    M connector/sample-scimdev/src/main/java/com/evolveum/polygon/sample/scimdev/ScimDevConnector.java

  Log Message:
  -----------
  Split initializeObjectClassHandler into auth and handler phases

Handler scripts reference schema attributes (e.g. attribute("id")) at init
time, requiring the schema to be built first. Auth scripts must run before
REST/SCIM clients are initialized so authentication is in place for discovery.

Introduce initializeAuthorizationHandler() (abstract) that runs before client
init, and keep initializeObjectClassHandler() running after schema is built.
ManifestBasedConnector reads auth scripts from the new "authorization" section
in connector.manifest.json. Forgejo and OpenProject connectors updated to use
the new AuthorizationCustomizer<RestClientConfiguration> API.


Compare: https://github.com/Evolveum/connector-scimrest/compare/9b46d7e59a3d...ed04cdbe0ad0

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/connector-scimrest/settings/notifications


More information about the midPoint-svn mailing list