Skip to content
Success

Changes

Summary

  1. Bump advanced-security/maven-dependency-submission-action (commit: a750eb2) (details)
  2. Move the UserInfo into northbound security (commit: e12ff02) (details)
  3. Core API Fixes (commit: c7f9438) (details)
  4. Introduce authorization checks in the Session API (commit: dab4465) (details)
  5. Lint checking fixes (commit: a918712) (details)
  6. Add explanatory comment in ResourceAccessTest (commit: cde2f92) (details)
Commit a750eb2d910f4433e74e72985f2983ba08a58c94 by GitHub
Bump advanced-security/maven-dependency-submission-action

Bumps [advanced-security/maven-dependency-submission-action](https://github.com/advanced-security/maven-dependency-submission-action) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/advanced-security/maven-dependency-submission-action/releases)
- [Commits](https://github.com/advanced-security/maven-dependency-submission-action/compare/73da25169f2ac4d336320399ba58070deebc1208...bfd2106013da0957cdede0b6c39fb5ca25ae375e)

---
updated-dependencies:
- dependency-name: advanced-security/maven-dependency-submission-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
(commit: a750eb2)
The file was modified .github/workflows/ci-build.yml (diff)
Commit e12ff02a458d6d4baabc708d5ac8deb1cc0e7e11 by Tim Ward
Move the UserInfo into northbound security

The User Info class belongs with the northbound security API which is a factory for it

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: e12ff02)
The file was modified distribution/features/northbound-oidc-authenticator-feature/pom.xml (diff)
The file was modified northbound/security/openid-connect/src/main/java/org/eclipse/sensinact/gateway/northbound/security/oidc/OIDCTokenValidator.java (diff)
The file was modified northbound/security/openid-connect/src/main/java/org/eclipse/sensinact/gateway/northbound/security/oidc/JwsUserInfo.java (diff)
The file was modified northbound/security/openid-connect/src/test/java/org/eclipse/sensinact/gateway/northbound/security/oidc/integration/ValidatorTest.java (diff)
The file was modified northbound/sensorthings/rest.gateway/integration-test.bndrun (diff)
The file was modified northbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/ResourceAccessTest.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/notification/ResourceNotificationsTest.java (diff)
The file was modified southbound/virtual/virtual-temperature-sensor/integration-test.bndrun (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/SecureAccessTest.java (diff)
The file was addednorthbound/security/security-api/pom.xml
The file was modified northbound/security/pom.xml (diff)
The file was modified northbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketCreator.java (diff)
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryAuthTest.java (diff)
The file was removedcore/api/src/main/java/org/eclipse/sensinact/core/security/package-info.java
The file was removednorthbound/security/authentication-api/pom.xml
The file was modified northbound/query-handler/integration-test.bndrun (diff)
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryTest.java (diff)
The file was modified northbound/websocket/src/test/java/org/eclipse/sensinact/northbound/websocket/integration/SecureWebSocketTest.java (diff)
The file was modified distribution/features/northbound-rest-feature/pom.xml (diff)
The file was modified northbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/AbstractIntegrationTest.java (diff)
The file was modified southbound/virtual/virtual-temperature-sensor/src/test/java/org/eclipse/sensinact/gateway/southbound/virtual/temperature/integration/TemperatureSensorTest.java (diff)
The file was modified distribution/features/northbound-rest-feature/src/main/resources/northbound-rest-feature.json (diff)
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactorySSLTest.java (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SensinactSessionTest.java (diff)
The file was removednorthbound/security/authentication-api/src/main/java/org/eclipse/sensinact/northbound/security/api/Authenticator.java
The file was removedcore/api/src/main/java/org/eclipse/sensinact/core/security/UserInfo.java
The file was modified distribution/features/northbound-ogc-sensorthings-feature/pom.xml (diff)
The file was modified distribution/features/northbound-ogc-sensorthings-mqtt-feature/src/main/resources/northbound-ogc-sensorthings-mqtt-feature.json (diff)
The file was modified northbound/security/openid-connect/pom.xml (diff)
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/package-info.java
The file was modified northbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketJettyRegistrar.java (diff)
The file was modified northbound/rest/pom.xml (diff)
The file was modified distribution/features/northbound-oidc-authenticator-feature/src/main/resources/northbound-oidc-authenticator-feature.json (diff)
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryParallelQueries.java (diff)
The file was modified northbound/rest/integration-test.bndrun (diff)
The file was modified southbound/mqtt/mqtt-device-factory/integration-test.bndrun (diff)
The file was removednorthbound/security/authentication-api/src/main/java/org/eclipse/sensinact/northbound/security/api/package-info.java
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SessionManager.java (diff)
The file was modified northbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/DescriptionsTest.java (diff)
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/Authenticator.java
The file was modified northbound/session/session-api/src/main/java/org/eclipse/sensinact/northbound/session/SensiNactSession.java (diff)
The file was modified distribution/features/northbound-ogc-sensorthings-feature/src/main/resources/northbound-ogc-sensorthings-feature.json (diff)
The file was modified northbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/AuthenticationFilter.java (diff)
The file was modified southbound/http/http-device-factory/integration-test.bndrun (diff)
The file was modified northbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/MissingEntityTest.java (diff)
The file was modified northbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/SensinactSessionProvider.java (diff)
The file was modified northbound/security/openid-connect/integration-test.bndrun (diff)
The file was modified northbound/session/session-api/pom.xml (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java (diff)
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/UserInfo.java
The file was modified southbound/mqtt/mqtt-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/mqtt/factory/integration/MqttDeviceFactoryTest.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/ResourceAccessTest.java (diff)
The file was modified northbound/websocket/integration-test.bndrun (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java (diff)
The file was modified northbound/websocket/pom.xml (diff)
The file was modified northbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/SensinactSessionProvider.java (diff)
The file was modified northbound/session/session-api/src/main/java/org/eclipse/sensinact/northbound/session/SensiNactSessionManager.java (diff)
The file was modified distribution/features/northbound-ogc-sensorthings-mqtt-feature/pom.xml (diff)
Commit c7f94386cee262f70680d93d1d9707b5d314e561 by Tim Ward
Core API Fixes
* Add Model Package URI to the SensinactProvider
* Return a TimedValue for SensinactResource metadata values
* Filter provider snapshots before applying location filtering to reduce the number of heavy geofilter calculations

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: c7f9438)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/twin/SensinactProvider.java (diff)
The file was modified northbound/session/session-api/src/main/java/org/eclipse/sensinact/northbound/session/SensiNactSession.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactProviderImpl.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactResourceImpl.java (diff)
The file was modified northbound/gogo-shell/src/main/java/org/eclipse/sensinact/gateway/commands/gogo/MetaCommands.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactDigitalTwinImpl.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/twin/SensinactResource.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/notification/LifecycleNotification.java (diff)
Commit dab44654a9e8802733cd6c986080180e43732073 by Tim Ward
Introduce authorization checks in the Session API

* Include a configurable default fallback to allow all, allow authenticated only, or forbid all
* Apply as many checks as possible prior to accessing the gateway thread

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: dab4465)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SensinactSessionTest.java (diff)
The file was addednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/impl/DefaultSessionAuthorizationEngineTests.java
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryParallelQueries.java (diff)
The file was modified northbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/RestAccessApplication.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/command/impl/GatewayThreadImpl.java (diff)
The file was modified distribution/features/virtual-temperature-sensor-feature/src/it/resources/config/configuration.json (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java (diff)
The file was modified northbound/websocket/src/test/java/org/eclipse/sensinact/northbound/websocket/integration/SecureWebSocketTest.java (diff)
The file was modified northbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/AbstractIntegrationTest.java (diff)
The file was modified distribution/features/northbound-oidc-authenticator-feature/src/it/resources/config/configuration.json (diff)
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DefaultAuthPolicy.java
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryTest.java (diff)
The file was modified pom.xml (diff)
The file was addednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/impl/TestUserInfo.java
The file was modified northbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/ResourceAccessTest.java (diff)
The file was modified southbound/virtual/virtual-temperature-sensor/src/test/java/org/eclipse/sensinact/gateway/southbound/virtual/temperature/integration/TemperatureSensorTest.java (diff)
The file was modified northbound/session/session-impl/pom.xml (diff)
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DenyAllAuthorizer.java
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/DescriptionsTest.java (diff)
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryAuthTest.java (diff)
The file was modified southbound/http/http-device-factory/integration-test.bndrun (diff)
The file was modified southbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactorySSLTest.java (diff)
The file was modified northbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/DescriptionsTest.java (diff)
The file was modified northbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/MissingEntityTest.java (diff)
The file was modified northbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/ObservationHistoryTest.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SessionManager.java (diff)
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/AllowAllAuthorizer.java
The file was modified distribution/features/timescale-history-provider-feature/src/it/resources/config/configuration.json (diff)
The file was modified core/impl/integration-test.bndrun (diff)
The file was modified southbound/virtual/virtual-temperature-sensor/integration-test.bndrun (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/notification/ResourceNotificationsTest.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/ResourceAccessTest.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/MissingEntityTest.java (diff)
The file was modified southbound/mqtt/mqtt-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/mqtt/factory/integration/MqttDeviceFactoryTest.java (diff)
The file was modified northbound/websocket/src/test/java/org/eclipse/sensinact/northbound/websocket/integration/WebSocketTest.java (diff)
The file was modified northbound/query-handler/integration-test.bndrun (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java (diff)
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/AuthorizationEngine.java
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/SecureAccessTest.java (diff)
The file was addednorthbound/session/session-impl/integration-test.bndrun
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DefaultSessionAuthorizationEngine.java
Commit a918712bbc5a330cc4b6bd4170ea0479c94087e4 by Tim Ward
Lint checking fixes

Spacing tidy up and adding a missing license header

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: a918712)
The file was modified northbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/AbstractIntegrationTest.java (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/model/nexus/ModelNexus.java (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SensinactSessionTest.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DefaultSessionAuthorizationEngine.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DefaultAuthPolicy.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DenyAllAuthorizer.java (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/AllowAllAuthorizer.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/SecureAccessTest.java (diff)
The file was modified northbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/AuthorizationEngine.java (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/impl/DefaultSessionAuthorizationEngineTests.java (diff)
The file was modified northbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/impl/TestUserInfo.java (diff)
The file was modified northbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/ObservationHistoryTest.java (diff)
The file was modified distribution/features/virtual-temperature-sensor-feature/src/it/resources/config/configuration.json (diff)
The file was modified core/impl/src/main/java/org/eclipse/sensinact/core/twin/impl/SensinactDigitalTwinImpl.java (diff)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/ResourceAccessTest.java (diff)
The file was modified core/api/src/main/java/org/eclipse/sensinact/core/twin/SensinactProvider.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SessionManager.java (diff)
The file was modified northbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java (diff)
Commit cde2f92cb6cae298b62fa622a4cb2a7cb2ae6382 by GitHub
Add explanatory comment in ResourceAccessTest

Adding in extra information to describe why a wait is needed inside the test
(commit: cde2f92)
The file was modified northbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/ResourceAccessTest.java (diff)