diff --git a/javadoc/allclasses-index.html b/javadoc/allclasses-index.html index 6751c87..23eaf82 100644 --- a/javadoc/allclasses-index.html +++ b/javadoc/allclasses-index.html @@ -2,7 +2,7 @@
-getContextData(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
getContextData(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
getContextData
in interface ContextDataProvider
getContextData(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
getContextData(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
AuthorizationManager<RequestAuthorizationContext>
OPAAuthorizationManager(com.styra.opa.OPAClient opa)
OPAAuthorizationManager(com.styra.opa.OPAClient opa,
+OPAAuthorizationManager(OPAClient opa,
ContextDataProvider newProvider)
The authorization manager will be instantiated with a caller-supplied
@@ -116,13 +116,13 @@ Constructor Summary
provided ContextDataProvider will be used to populate OPA input at
input.context.data.
-OPAAuthorizationManager(com.styra.opa.OPAClient opa,
+OPAAuthorizationManager(OPAClient opa,
String newOpaPath)
The authorization manager will be instantiated with a caller-supplied
client, and all OPA requests will be sent to the specified path.
-OPAAuthorizationManager(com.styra.opa.OPAClient opa,
+OPAAuthorizationManager(OPAClient opa,
String newOpaPath,
ContextDataProvider newProvider)
@@ -154,16 +154,16 @@ Method Summary
Modifier and Type
Method
Description
-org.springframework.security.authorization.AuthorizationDecision
-check(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+
+check(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
-opaRequest(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+opaRequest(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
This method can be used to directly call OPA without generating an
AuthorizationDecision, which can be used to examine the OPA response.
@@ -175,8 +175,8 @@ Method Summary
searched for in the OPAResponse object.
void
-verify(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+verify(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
@@ -208,7 +208,7 @@ OPAAuthorizationManager
OPAAuthorizationManager
-public OPAAuthorizationManager(com.styra.opa.OPAClient opa)
+
The authorization manager will be instantiated with the provided OPA
client. The caller must perform any needed client configuration before
passing it to this constructor. The default path will be used.
@@ -221,7 +221,7 @@ OPAAuthorizationManager
OPAAuthorizationManager
-public OPAAuthorizationManager(com.styra.opa.OPAClient opa,
+
The authorization manager will be instantiated with a caller-supplied
client, and all OPA requests will be sent to the specified path. The
@@ -250,7 +250,7 @@ OPAAuthorizationManager
OPAAuthorizationManager
-public OPAAuthorizationManager(com.styra.opa.OPAClient opa,
+
The authorization manager will be instantiated with a caller-supplied
client, requests will be sent to the default path, and the caller
@@ -266,7 +266,7 @@ OPAAuthorizationManager
OPAAuthorizationManager
-public OPAAuthorizationManager(com.styra.opa.OPAClient opa,
+
The authorization manager will be instantiated with a caller-supplied
@@ -325,8 +325,8 @@ setReasonKey
opaRequest
-public OPAResponse opaRequest(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+public OPAResponse opaRequest(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
This method can be used to directly call OPA without generating an
AuthorizationDecision, which can be used to examine the OPA response.
You should consider using the OPA Java SDK (which the OPA Spring Boot SDK depends
@@ -337,22 +337,22 @@ opaRequest
check
-public org.springframework.security.authorization.AuthorizationDecision check(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+public AuthorizationDecision check(Supplier<Authentication> authentication,
+ RequestAuthorizationContext object)
- Specified by:
-check
in interface org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
+check
in interface AuthorizationManager<RequestAuthorizationContext>
verify
-public void verify(Supplier<org.springframework.security.core.Authentication> authentication,
- org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+
- Specified by:
-verify
in interface org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
+verify
in interface AuthorizationManager<RequestAuthorizationContext>
diff --git a/javadoc/com/styra/opa/springboot/OPAResponse.html b/javadoc/com/styra/opa/springboot/OPAResponse.html
index 82a425a..3acd4e2 100644
--- a/javadoc/com/styra/opa/springboot/OPAResponse.html
+++ b/javadoc/com/styra/opa/springboot/OPAResponse.html
@@ -2,7 +2,7 @@
-OPAResponse (springboot 0.0.5 API)
+OPAResponse (springboot 0.0.6 API)
diff --git a/javadoc/com/styra/opa/springboot/OPAResponseContext.html b/javadoc/com/styra/opa/springboot/OPAResponseContext.html
index 637e5d9..621948d 100644
--- a/javadoc/com/styra/opa/springboot/OPAResponseContext.html
+++ b/javadoc/com/styra/opa/springboot/OPAResponseContext.html
@@ -2,7 +2,7 @@
-OPAResponseContext (springboot 0.0.5 API)
+OPAResponseContext (springboot 0.0.6 API)
diff --git a/javadoc/com/styra/opa/springboot/package-summary.html b/javadoc/com/styra/opa/springboot/package-summary.html
index 98485cd..bdded43 100644
--- a/javadoc/com/styra/opa/springboot/package-summary.html
+++ b/javadoc/com/styra/opa/springboot/package-summary.html
@@ -2,7 +2,7 @@
-com.styra.opa.springboot (springboot 0.0.5 API)
+com.styra.opa.springboot (springboot 0.0.6 API)
diff --git a/javadoc/com/styra/opa/springboot/package-tree.html b/javadoc/com/styra/opa/springboot/package-tree.html
index 8435a39..c917baf 100644
--- a/javadoc/com/styra/opa/springboot/package-tree.html
+++ b/javadoc/com/styra/opa/springboot/package-tree.html
@@ -2,7 +2,7 @@
-com.styra.opa.springboot Class Hierarchy (springboot 0.0.5 API)
+com.styra.opa.springboot Class Hierarchy (springboot 0.0.6 API)
@@ -54,7 +54,7 @@ Class Hierarchy
java.lang.Object
- com.styra.opa.springboot.ConstantContextDataProvider (implements com.styra.opa.springboot.ContextDataProvider)
-- com.styra.opa.springboot.OPAAuthorizationManager (implements org.springframework.security.authorization.AuthorizationManager<T>)
+- com.styra.opa.springboot.OPAAuthorizationManager (implements org.springframework.security.authorization.AuthorizationManager<T>)
- com.styra.opa.springboot.OPAResponse
- com.styra.opa.springboot.OPAResponseContext
diff --git a/javadoc/help-doc.html b/javadoc/help-doc.html
index d19d445..099137d 100644
--- a/javadoc/help-doc.html
+++ b/javadoc/help-doc.html
@@ -2,7 +2,7 @@
-API Help (springboot 0.0.5 API)
+API Help (springboot 0.0.6 API)
diff --git a/javadoc/index-all.html b/javadoc/index-all.html
index 80b972a..f0b2e6d 100644
--- a/javadoc/index-all.html
+++ b/javadoc/index-all.html
@@ -2,7 +2,7 @@
-Index (springboot 0.0.5 API)
+Index (springboot 0.0.6 API)
diff --git a/javadoc/index.html b/javadoc/index.html
index 0eba9f6..9a7de9d 100644
--- a/javadoc/index.html
+++ b/javadoc/index.html
@@ -2,7 +2,7 @@
-springboot 0.0.5 API
+springboot 0.0.6 API
diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html
index ab53724..808492d 100644
--- a/javadoc/overview-tree.html
+++ b/javadoc/overview-tree.html
@@ -2,7 +2,7 @@
-Class Hierarchy (springboot 0.0.5 API)
+Class Hierarchy (springboot 0.0.6 API)
@@ -58,7 +58,7 @@ Class Hierarchy
java.lang.Object
- com.styra.opa.springboot.ConstantContextDataProvider (implements com.styra.opa.springboot.ContextDataProvider)
-- com.styra.opa.springboot.OPAAuthorizationManager (implements org.springframework.security.authorization.AuthorizationManager<T>)
+- com.styra.opa.springboot.OPAAuthorizationManager (implements org.springframework.security.authorization.AuthorizationManager<T>)
- com.styra.opa.springboot.OPAResponse
- com.styra.opa.springboot.OPAResponseContext