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 @@ -All Classes and Interfaces (springboot 0.0.5 API) +All Classes and Interfaces (springboot 0.0.6 API) diff --git a/javadoc/allpackages-index.html b/javadoc/allpackages-index.html index 3d5253e..a4173be 100644 --- a/javadoc/allpackages-index.html +++ b/javadoc/allpackages-index.html @@ -2,7 +2,7 @@ -All Packages (springboot 0.0.5 API) +All Packages (springboot 0.0.6 API) diff --git a/javadoc/com/styra/opa/springboot/ConstantContextDataProvider.html b/javadoc/com/styra/opa/springboot/ConstantContextDataProvider.html index 1921b36..a23a440 100644 --- a/javadoc/com/styra/opa/springboot/ConstantContextDataProvider.html +++ b/javadoc/com/styra/opa/springboot/ConstantContextDataProvider.html @@ -2,7 +2,7 @@ -ConstantContextDataProvider (springboot 0.0.5 API) +ConstantContextDataProvider (springboot 0.0.6 API) @@ -112,8 +112,8 @@

Method Summary

Method
Description
Object
-
getContextData(Supplier<org.springframework.security.core.Authentication> authentication, - org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
+
getContextData(Supplier<Authentication> authentication, + RequestAuthorizationContext object)
 
@@ -149,8 +149,8 @@

Method Details

  • getContextData

    -
    public Object getContextData(Supplier<org.springframework.security.core.Authentication> authentication, - org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
    +
    public Object getContextData(Supplier<Authentication> authentication, + RequestAuthorizationContext object)
    Specified by:
    getContextData in interface ContextDataProvider
    diff --git a/javadoc/com/styra/opa/springboot/ContextDataProvider.html b/javadoc/com/styra/opa/springboot/ContextDataProvider.html index 577a372..0374263 100644 --- a/javadoc/com/styra/opa/springboot/ContextDataProvider.html +++ b/javadoc/com/styra/opa/springboot/ContextDataProvider.html @@ -2,7 +2,7 @@ -ContextDataProvider (springboot 0.0.5 API) +ContextDataProvider (springboot 0.0.6 API) @@ -99,8 +99,8 @@

    Method Summary

    Method
    Description
    -
    getContextData(Supplier<org.springframework.security.core.Authentication> authentication, - org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
    +
     
    @@ -119,8 +119,8 @@

    Method Details

  • getContextData

    -
    Object getContextData(Supplier<org.springframework.security.core.Authentication> authentication, - org.springframework.security.web.access.intercept.RequestAuthorizationContext object)
    +
    Object getContextData(Supplier<Authentication> authentication, + RequestAuthorizationContext object)
  • diff --git a/javadoc/com/styra/opa/springboot/OPAAuthorizationManager.html b/javadoc/com/styra/opa/springboot/OPAAuthorizationManager.html index 21a36ee..b51f402 100644 --- a/javadoc/com/styra/opa/springboot/OPAAuthorizationManager.html +++ b/javadoc/com/styra/opa/springboot/OPAAuthorizationManager.html @@ -2,7 +2,7 @@ -OPAAuthorizationManager (springboot 0.0.5 API) +OPAAuthorizationManager (springboot 0.0.6 API) @@ -75,13 +75,13 @@

    Class OPAAuthorizationMa
    All Implemented Interfaces:
    -
    org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
    +
    AuthorizationManager<RequestAuthorizationContext>

    @Component public class OPAAuthorizationManager extends Object -implements org.springframework.security.authorization.AuthorizationManager<org.springframework.security.web.access.intercept.RequestAuthorizationContext>
    +implements AuthorizationManager<RequestAuthorizationContext>
    This class implements a Spring AuthorizationManager which wraps the OPA Java SDK (https://github.com/StyraInc/opa-java). OPA inputs are constructed by inspecting the Spring Authentication and RequestAuthorizationContext @@ -103,12 +103,12 @@

    Constructor Summary

    The authorization manager will internally instantiate an OPAClient instance with default settings.
    -
    OPAAuthorizationManager(com.styra.opa.OPAClient opa)
    +
    The authorization manager will be instantiated with the provided OPA client.
    -
    OPAAuthorizationManager(com.styra.opa.OPAClient opa, +
    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, +
    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, +
    @@ -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)
    + +
     
     
    -
    opaRequest(Supplier<org.springframework.security.core.Authentication> authentication, - org.springframework.security.web.access.intercept.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)
    +
     
    @@ -208,7 +208,7 @@

    OPAAuthorizationManager

  • OPAAuthorizationManager

    -
    public OPAAuthorizationManager(com.styra.opa.OPAClient opa)
    +
    public OPAAuthorizationManager(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, +
    public 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. The @@ -250,7 +250,7 @@

    OPAAuthorizationManager

  • OPAAuthorizationManager

    -
    public OPAAuthorizationManager(com.styra.opa.OPAClient opa, +
    public OPAAuthorizationManager(OPAClient opa, ContextDataProvider newProvider)
    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, +
    public OPAAuthorizationManager(OPAClient opa, String newOpaPath, ContextDataProvider newProvider)
    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)
    +
    public void verify(Supplier<Authentication> authentication, + 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 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