Skip to content
Success

Changes

Summary

  1. Update Felix Configuration reader and Johnzon versions (commit: 6b499fb) (details)
  2. Move the UserInfo into northbound security (commit: e12ff02) (details)
  3. Introduce authorization checks in the Session API (commit: dab4465) (details)
  4. Make the sensiNact build more CI friendly (commit: 75ebfda) (details)
Commit 6b499fb35ba57339a62d4cf705649e3f47e10649 by timothyjward
Update Felix Configuration reader and Johnzon versions

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 6b499fb)
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/pom.xml
The file was modifiednorthbound/sensorthings/rest.gateway/integration-test.bndrun
The file was modifieddistribution/launcher/src/test/java/org/eclipse/sensinact/gateway/launcher/integration/FeatureLaunchingIntegrationTest.java
The file was modifieddistribution/launcher/export.bndrun
The file was modifieddistribution/features/timescale-history-provider-feature/src/test/java/org/eclipse/sensinact/gateway/feature/integration/history/timescale/TimescaleHistoryFeatureIntegrationTest.java
The file was modifieddistribution/launcher/src/main/java/org/eclipse/sensinact/gateway/launcher/ConfigurationManager.java
The file was modifieddistribution/launcher/pom.xml
The file was modifiedpom.xml
The file was modified.gitignore
The file was removeddistribution/launcher/src/test/java/org/eclipse/sensinact/gateway/launcher/integration/InputStreamConsumer.java
The file was modifieddistribution/features/timescale-history-provider-feature/pom.xml
Commit e12ff02a458d6d4baabc708d5ac8deb1cc0e7e11 by timothyjward
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 modifiednorthbound/websocket/pom.xml
The file was modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/ResourceAccessTest.java
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/Authenticator.java
The file was modifiednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java
The file was modifieddistribution/features/northbound-ogc-sensorthings-feature/src/main/resources/northbound-ogc-sensorthings-feature.json
The file was modifiednorthbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/AuthenticationFilter.java
The file was removednorthbound/security/authentication-api/src/main/java/org/eclipse/sensinact/northbound/security/api/package-info.java
The file was modifieddistribution/features/northbound-rest-feature/pom.xml
The file was addednorthbound/security/security-api/pom.xml
The file was modifiednorthbound/security/pom.xml
The file was modifiednorthbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketCreator.java
The file was modifieddistribution/features/northbound-rest-feature/src/main/resources/northbound-rest-feature.json
The file was modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/MissingEntityTest.java
The file was modifiednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/SecureAccessTest.java
The file was modifiednorthbound/session/session-api/src/main/java/org/eclipse/sensinact/northbound/session/SensiNactSessionManager.java
The file was modifieddistribution/features/northbound-ogc-sensorthings-feature/pom.xml
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/integration-test.bndrun
The file was modifiednorthbound/security/openid-connect/src/test/java/org/eclipse/sensinact/gateway/northbound/security/oidc/integration/ValidatorTest.java
The file was modifiednorthbound/rest/pom.xml
The file was modifiednorthbound/websocket/integration-test.bndrun
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/UserInfo.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactorySSLTest.java
The file was modifiedsouthbound/mqtt/mqtt-device-factory/integration-test.bndrun
The file was modifiednorthbound/security/openid-connect/src/main/java/org/eclipse/sensinact/gateway/northbound/security/oidc/JwsUserInfo.java
The file was removedcore/api/src/main/java/org/eclipse/sensinact/core/security/package-info.java
The file was modifiednorthbound/websocket/src/main/java/org/eclipse/sensinact/northbound/ws/impl/WebSocketJettyRegistrar.java
The file was modifiednorthbound/websocket/src/test/java/org/eclipse/sensinact/northbound/websocket/integration/SecureWebSocketTest.java
The file was removednorthbound/security/authentication-api/src/main/java/org/eclipse/sensinact/northbound/security/api/Authenticator.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/notification/ResourceNotificationsTest.java
The file was modifiednorthbound/session/session-api/pom.xml
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/src/test/java/org/eclipse/sensinact/gateway/southbound/virtual/temperature/integration/TemperatureSensorTest.java
The file was modifiednorthbound/security/openid-connect/src/main/java/org/eclipse/sensinact/gateway/northbound/security/oidc/OIDCTokenValidator.java
The file was modifiednorthbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/AbstractIntegrationTest.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryParallelQueries.java
The file was modifiednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SensinactSessionTest.java
The file was modifiednorthbound/sensorthings/rest.gateway/integration-test.bndrun
The file was modifiednorthbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/SensinactSessionProvider.java
The file was removednorthbound/security/authentication-api/pom.xml
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/package-info.java
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/src/main/resources/northbound-oidc-authenticator-feature.json
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryAuthTest.java
The file was modifiednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SessionManager.java
The file was modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/DescriptionsTest.java
The file was modifiednorthbound/security/openid-connect/integration-test.bndrun
The file was removedcore/api/src/main/java/org/eclipse/sensinact/core/security/UserInfo.java
The file was modifiedsouthbound/mqtt/mqtt-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/mqtt/factory/integration/MqttDeviceFactoryTest.java
The file was modifiednorthbound/sensorthings/rest.gateway/src/main/java/org/eclipse/sensinact/sensorthings/sensing/rest/impl/SensinactSessionProvider.java
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/pom.xml
The file was modifiednorthbound/session/session-api/src/main/java/org/eclipse/sensinact/northbound/session/SensiNactSession.java
The file was modifieddistribution/features/northbound-ogc-sensorthings-mqtt-feature/pom.xml
The file was modifiedsouthbound/http/http-device-factory/integration-test.bndrun
The file was modifieddistribution/features/northbound-ogc-sensorthings-mqtt-feature/src/main/resources/northbound-ogc-sensorthings-mqtt-feature.json
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/ResourceAccessTest.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryTest.java
The file was modifiednorthbound/query-handler/integration-test.bndrun
The file was modifiednorthbound/security/openid-connect/pom.xml
The file was modifiednorthbound/rest/integration-test.bndrun
Commit dab44654a9e8802733cd6c986080180e43732073 by timothyjward
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 modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/ResourceAccessTest.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryAuthTest.java
The file was modifiednorthbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/AbstractIntegrationTest.java
The file was modifiednorthbound/websocket/src/test/java/org/eclipse/sensinact/northbound/websocket/integration/SecureWebSocketTest.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/notification/ResourceNotificationsTest.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactorySSLTest.java
The file was modifiednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SessionManager.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/SecureAccessTest.java
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/src/it/resources/config/configuration.json
The file was modifiedcore/impl/integration-test.bndrun
The file was modifieddistribution/features/virtual-temperature-sensor-feature/src/it/resources/config/configuration.json
The file was modifiednorthbound/session/session-impl/pom.xml
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DefaultSessionAuthorizationEngine.java
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DenyAllAuthorizer.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/ResourceAccessTest.java
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/src/test/java/org/eclipse/sensinact/gateway/southbound/virtual/temperature/integration/TemperatureSensorTest.java
The file was modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/MissingEntityTest.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryParallelQueries.java
The file was modifiednorthbound/rest/src/main/java/org/eclipse/sensinact/northbound/rest/impl/RestAccessApplication.java
The file was modifiednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SensinactSessionTest.java
The file was addednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/impl/DefaultSessionAuthorizationEngineTests.java
The file was modifiednorthbound/query-handler/src/test/java/org/eclipse/sensinact/northbound/query/test/integration/DescriptionsTest.java
The file was addednorthbound/security/security-api/src/main/java/org/eclipse/sensinact/northbound/security/api/AuthorizationEngine.java
The file was modifiedsouthbound/http/http-device-factory/integration-test.bndrun
The file was modifiednorthbound/query-handler/integration-test.bndrun
The file was modifiedpom.xml
The file was modifieddistribution/features/timescale-history-provider-feature/src/it/resources/config/configuration.json
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/DescriptionsTest.java
The file was modifiednorthbound/sensorthings/rest.gateway/src/test/java/org/eclipse/sensinact/sensorthings/sensing/rest/integration/ObservationHistoryTest.java
The file was modifiedcore/impl/src/main/java/org/eclipse/sensinact/core/command/impl/GatewayThreadImpl.java
The file was modifiednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/integration/SessionSubscribeTest.java
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/integration-test.bndrun
The file was addednorthbound/session/session-impl/integration-test.bndrun
The file was modifiednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/SensiNactSessionImpl.java
The file was addednorthbound/session/session-impl/src/test/java/org/eclipse/sensinact/nortbound/session/impl/TestUserInfo.java
The file was modifiedsouthbound/http/http-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/http/factory/integration/HttpDeviceFactoryTest.java
The file was modifiedsouthbound/mqtt/mqtt-device-factory/src/test/java/org/eclipse/sensinact/gateway/southbound/mqtt/factory/integration/MqttDeviceFactoryTest.java
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/AllowAllAuthorizer.java
The file was addednorthbound/session/session-impl/src/main/java/org/eclipse/sensinact/nortbound/session/impl/DefaultAuthPolicy.java
The file was modifiednorthbound/rest/src/test/java/org/eclipse/sensinact/northbound/rest/integration/MissingEntityTest.java
The file was modifiednorthbound/websocket/src/test/java/org/eclipse/sensinact/northbound/websocket/integration/WebSocketTest.java
Commit 75ebfda3a5ea0244bc69ec2309a7c7015144a84c by timothyjward
Make the sensiNact build more CI friendly

Since Maven 3.5.0 poms have had the ability to be [CI-friendly](https://maven.apache.org/maven-ci-friendly.html) allowing a more flexible approach to releasing without the need to edit POM files. This also impacts the creation of our feature files, which can now flexibly alter the versions of the bundles they deploy to match what's being built in by CI. The end result should be a much simpler time when we want to tag or release any particular commit.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: 75ebfda)
The file was modifiednorthbound/security/security-api/pom.xml
The file was modifiedsouthbound/device-factory/pom.xml
The file was modifiednorthbound/session/pom.xml
The file was modifiedexamples/pull-based/pom.xml
The file was modifiednorthbound/security/openid-connect/pom.xml
The file was modifieddistribution/features/pom.xml
The file was modifiedsouthbound/http/http-device-factory/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-feature/src/main/resources/northbound-ogc-sensorthings-feature.json
The file was modifieddistribution/features/northbound-websocket-feature/src/main/resources/northbound-websocket-feature.json
The file was modifieddistribution/features/northbound-rest-feature/pom.xml
The file was modifiedcore/models/pom.xml
The file was modifieddistribution/features/northbound-websocket-feature/pom.xml
The file was modifieddistribution/test-utils/pom.xml
The file was modifiedsouthbound/device-factory/parser-csv/pom.xml
The file was modifieddistribution/features/jakarta-rest-whiteboard-feature/pom.xml
The file was modifiedexamples/generic/pom.xml
The file was modifiedsouthbound/mqtt/mqtt-device-factory/pom.xml
The file was modifieddistribution/features/core-feature/pom.xml
The file was modifiedexamples/reflective/pom.xml
The file was modifiednorthbound/filters/pom.xml
The file was modifieddistribution/features/virtual-temperature-sensor-feature/pom.xml
The file was modifiedexamples/pom.xml
The file was modifiednorthbound/pom.xml
The file was modifiedexamples/model-based/pom.xml
The file was modifiednorthbound/session/session-api/pom.xml
The file was modifiedsouthbound/http/http-callback-whiteboard/pom.xml
The file was modifiednorthbound/query-handler/pom.xml
The file was modifiednorthbound/gogo-shell/pom.xml
The file was modifieddistribution/features/core-feature/src/main/resources/core-feature.json
The file was modifieddistribution/features/timescale-history-provider-feature/src/main/resources/timescale-history-provider-feature.json
The file was modifieddistribution/pom.xml
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/src/main/resources/northbound-oidc-authenticator-feature.json
The file was modifiedcore/impl/pom.xml
The file was modifiedexamples/notification/pom.xml
The file was modifiednorthbound/sensorthings/filter/pom.xml
The file was modifieddistribution/features/timescale-history-provider-feature/pom.xml
The file was modifiedsouthbound/device-factory/device-factory-core/pom.xml
The file was modifiedcore/emf-api/pom.xml
The file was modifieddistribution/features/gogo-shell-feature/src/main/resources/gogo-shell-feature.json
The file was modifieddistribution/features/gogo-shell-feature/pom.xml
The file was modifiedcore/annotation/pom.xml
The file was modifiedcore/pom.xml
The file was modifieddistribution/features/northbound-rest-feature/src/main/resources/northbound-rest-feature.json
The file was modifiedpom.xml
The file was modifieddistribution/features/virtual-temperature-sensor-feature/src/main/resources/virtual-temperature-sensor-feature.json
The file was modifiedsouthbound/mqtt/mqtt-client/pom.xml
The file was modifiednorthbound/sensorthings/dto/pom.xml
The file was modifiedsouthbound/pom.xml
The file was modifiedsouthbound/http/pom.xml
The file was modifiedcore/models/provider/pom.xml
The file was modifiedcore/api/pom.xml
The file was modifieddistribution/assembly/pom.xml
The file was modifiednorthbound/security/pom.xml
The file was modifiedcore/models/metadata/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-feature/pom.xml
The file was modifiednorthbound/sensorthings/rest.api/pom.xml
The file was modifiedsouthbound/device-factory/parser-json/pom.xml
The file was modifieddistribution/features/jakarta-servlet-whiteboard-feature/pom.xml
The file was modifiedexamples/writable/pom.xml
The file was modifieddistribution/features/jakarta-servlet-whiteboard-feature/src/main/resources/jakarta-servlet-whiteboard-feature.json
The file was modifiedcore/geo-json/pom.xml
The file was modifiednorthbound/websocket/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-mqtt-feature/pom.xml
The file was modifieddistribution/launcher/pom.xml
The file was modifiedsouthbound/virtual/pom.xml
The file was modifieddistribution/features/northbound-ogc-sensorthings-mqtt-feature/src/main/resources/northbound-ogc-sensorthings-mqtt-feature.json
The file was modifiedsouthbound/history/history-api/pom.xml
The file was modifiedexamples/action/pom.xml
The file was modifiedexamples/push-based/pom.xml
The file was modifiednorthbound/filters/filters.core/pom.xml
The file was modifiednorthbound/session/session-impl/pom.xml
The file was modifiedsensinact-bom/pom.xml
The file was modifiednorthbound/sensorthings/rest.gateway/pom.xml
The file was modifiedsouthbound/history/timescale-provider/pom.xml
The file was modifieddistribution/features/northbound-oidc-authenticator-feature/pom.xml
The file was modifiedsouthbound/history/pom.xml
The file was modifiednorthbound/filters/ldap/pom.xml
The file was modifiednorthbound/sensorthings/pom.xml
The file was modifiedsouthbound/virtual/virtual-temperature-sensor/pom.xml
The file was modifieddistribution/features/jakarta-rest-whiteboard-feature/src/main/resources/jakarta-rest-whiteboard-feature.json
The file was modifiednorthbound/sensorthings/mqtt/pom.xml
The file was modifiednorthbound/rest/pom.xml
The file was modifiedsouthbound/mqtt/pom.xml