What's Changed
Warning
- BREAKING [ACC-1451] Add thunx-spring-security to check x-abac-context inside jwt by @NielsCW in #176
-
Providing an X-ABAC-Context header or JWT claim is now required for every request. ABAC checking can be disabled completely with the following property:
contentgrid.thunx.abac.source=none
-
The ABAC Context must now be retrieved by the
AbacContextSupplier
bean instead of a static call toAbacContext.getCurrentAbacContex()
-
@EnableAbac
is now removed, use@Import({ AbacConfiguration.class, HttpHeaderAbacConfiguration.class })
instead
- [ACC-768] Always set X-ABAC-Context when action is allowed by @NielsCW in #171
- Make AbacContext package-private to avoid misuse to retrieve the ABAC Context by @vierbergenlars in #179
Maintenance
- Json Encoder implements ThunkExpressionEncoder & ThunkExpressionDecoder interfaces by @vierbergenlars in #168
- [ACC-1461] Refactor abac configurations to use AbacContextSupplier beans by @NielsCW in #178
Dependency Updates
- Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.11.0 by @renovate in #152
- Update plugin org.ajoberstar.reckon.settings to v0.18.2 by @renovate in #153
- Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.11.1 by @renovate in #154
- Update dependency org.testcontainers:postgresql to v1.19.4 by @renovate in #155
- Update dependency org.springframework.cloud:spring-cloud-dependencies to v2022.0.5 by @renovate in #156
- Update dependency gradle to v8.6 by @renovate in #157
- Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.4 by @renovate in #158
- Update dependency org.testcontainers:postgresql to v1.19.5 by @renovate in #159
- Update plugin org.ajoberstar.reckon.settings to v0.18.3 by @renovate in #161
- Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.5 by @renovate in #162
- Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.2.7 by @renovate in #163
- Update dependency org.testcontainers:postgresql to v1.19.6 by @renovate in #164
- Update plugin eu.xenit.enterprise-conventions.oss to v0.5.1 by @renovate in #165
- Update dependency org.testcontainers:postgresql to v1.19.7 by @renovate in #166
- Update dependency gradle to v8.7 by @renovate in #167
- Update dependency org.testcontainers:postgresql to v1.19.8 by @renovate in #169
- Update dependency gradle to v8.8 by @renovate in #170
- Update dependency org.springframework.boot:spring-boot-dependencies to v3.2.0 by @renovate in #146
- Update dependency org.springframework.cloud:spring-cloud-dependencies to v2023 by @renovate in #149
- Update dependency org.springframework.boot:spring-boot-dependencies to v3.3.0 by @renovate in #172
- Update dependency com.contentgrid.spring:contentgrid-spring-data-rest to v0.14.1 by @renovate in #160
- Update dependency com.contentgrid.opa-java-client:opa-async-java-client to v0.5.1 by @renovate in #174
- Update dependency org.springframework.boot:spring-boot-dependencies to v3.3.1 by @renovate in #175
- Update dependency net.javacrumbs.json-unit:json-unit-assertj to v3.3.0 by @renovate in #177
New Contributors
Full Changelog: v0.10.0...v0.11.0