- Change
build.gradle
to omit theplain
classifier from the jar file it builds. This should make the default snippet show on https://central.sonatype.com/artifact/com.styra.opa/springboot work as is. Before, you would have to add<classifier>plain</classifier>
.
- Bump
opa-java
version to 1.8.0.
- Fixed a null pointer exception while constructing the input to OPA with some Authentication implementations.
- Add
OPAAuthorizationManager
constructor that accepts a path and aContextDataProvider
, but not anOPAClient
. opa-java
is now marked as anapi
dependency inbuild.gradle
, so it will not be transitively exposed to users.- Bump
opa-java
version to 1.5.0.
- Explicitly mark the
ContextDataProvider
interface as public. - Remove several unused dependencies, update remaining dependencies to latest stable versions.
- Add
OPAAuthorizationManager
constructor that accepts a path but not anOPAClient
.
- Rather than hard-coding
en
, the preferred key to search for decision reasons for can now be changed withOPAAuthorizationManager.setReasonKey()
. The default remainsen
. - Update
build.gradle
to accurately reflect Apache 2 license.
- Initial release of the OPA Spring Boot SDK