Index

A C D E G I O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACTION - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
ACTION_HEADERS - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
ACTION_NAME - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
ACTION_PROTOCOL - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
AuthorizationEvent() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.AuthorizationEvent
 
AuthorizationEventType() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.AuthorizationEventType
 
authorize(Supplier<? extends Authentication>, RequestAuthorizationContext) - Method in class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 

C

ConstantContextDataProvider - Class in io.github.open_policy_agent.opa.springboot
This helper class implements ContextDataProvider and always returns the same constant value passed in the constructor.
ConstantContextDataProvider(Object) - Constructor for class io.github.open_policy_agent.opa.springboot.ConstantContextDataProvider
 
Context() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request.Context
 
Context() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Response.Context
 
CONTEXT - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
CONTEXT_DATA - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
CONTEXT_HOST - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
CONTEXT_IP - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
CONTEXT_PORT - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
CONTEXT_TYPE - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
ContextDataProvider - Interface in io.github.open_policy_agent.opa.springboot
This interface can be used to expose additional information to the OPA policy.
customize(Authentication, RequestAuthorizationContext, Map<String, Object>) - Method in interface io.github.open_policy_agent.opa.springboot.input.OPAInputActionCustomizer
Customizes action Map.
customize(Authentication, RequestAuthorizationContext, Map<String, Object>) - Method in interface io.github.open_policy_agent.opa.springboot.input.OPAInputContextCustomizer
Customizes context Map.
customize(Authentication, RequestAuthorizationContext, Map<String, Object>) - Method in interface io.github.open_policy_agent.opa.springboot.input.OPAInputResourceCustomizer
Customizes resource Map.
customize(Authentication, RequestAuthorizationContext, Map<String, Object>) - Method in interface io.github.open_policy_agent.opa.springboot.input.OPAInputSubjectCustomizer
Customizes subject Map.

D

DEFAULT_REASON_KEY - Static variable in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Response.Context
 
DEFAULT_TYPE - Static variable in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request.Context
 
DEFAULT_TYPE - Static variable in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request.Resource
 
DEFAULT_TYPE - Static variable in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request.Subject
 
DEFAULT_URL - Static variable in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties
 

E

EXCEPTION_MESSAGE_TEMPLATE - Static variable in class io.github.open_policy_agent.opa.springboot.input.OPAInputValidator
 

G

getContextData(Supplier<? extends Authentication>, RequestAuthorizationContext) - Method in class io.github.open_policy_agent.opa.springboot.ConstantContextDataProvider
 
getContextData(Supplier<? extends Authentication>, RequestAuthorizationContext) - Method in interface io.github.open_policy_agent.opa.springboot.ContextDataProvider
 
getDecision() - Method in class io.github.open_policy_agent.opa.springboot.OPAResponse
 
getReasonForDecision(String) - Method in class io.github.open_policy_agent.opa.springboot.OPAResponse
getReasonForDecision(String) - Method in class io.github.open_policy_agent.opa.springboot.OPAResponseContext
This method selects an appropriate reason to use for creating AuthorizationDecisions.

I

InputConstants - Class in io.github.open_policy_agent.opa.springboot.input
 
io.github.open_policy_agent.opa.springboot - package io.github.open_policy_agent.opa.springboot
OPA Spring Boot base package.
io.github.open_policy_agent.opa.springboot.authorization - package io.github.open_policy_agent.opa.springboot.authorization
Support classes for integration OPA decisions with Spring authorization framework.
io.github.open_policy_agent.opa.springboot.autoconfigure - package io.github.open_policy_agent.opa.springboot.autoconfigure
Auto-configuration for OPA.
io.github.open_policy_agent.opa.springboot.input - package io.github.open_policy_agent.opa.springboot.input
Support classes for providing input-data to OPA.

O

OPAAccessDeniedException - Exception in io.github.open_policy_agent.opa.springboot.authorization
Extends AccessDeniedException which conveys OPAResponse.
OPAAccessDeniedException(String) - Constructor for exception io.github.open_policy_agent.opa.springboot.authorization.OPAAccessDeniedException
 
OPAAccessDeniedException(String, OPAResponse) - Constructor for exception io.github.open_policy_agent.opa.springboot.authorization.OPAAccessDeniedException
 
OPAAccessDeniedException(String, Throwable, OPAResponse) - Constructor for exception io.github.open_policy_agent.opa.springboot.authorization.OPAAccessDeniedException
 
OPAAuthorizationDecision - Class in io.github.open_policy_agent.opa.springboot.authorization
Extends AuthorizationDecision which conveys OPAResponse.
OPAAuthorizationDecision(boolean, OPAResponse) - Constructor for class io.github.open_policy_agent.opa.springboot.authorization.OPAAuthorizationDecision
 
opaAuthorizationEventPublisher(ApplicationEventPublisher, OPAProperties) - Method in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAAutoConfiguration
Create an OPAAuthorizationEventPublisher to publish denied/granted authorization events.
OPAAuthorizationEventPublisher - Class in io.github.open_policy_agent.opa.springboot.authorization
Publishes OPA authorization granted/denied events.
OPAAuthorizationEventPublisher(ApplicationEventPublisher, OPAProperties) - Constructor for class io.github.open_policy_agent.opa.springboot.authorization.OPAAuthorizationEventPublisher
 
opaAuthorizationManager(OPAClient, OPAProperties) - Method in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAAutoConfiguration
Create an OPAAuthorizationManager bean using OPAClient bean and OPAProperties#getPath().
OPAAuthorizationManager - Class in io.github.open_policy_agent.opa.springboot
This class implements AuthorizationManager which wraps the OPA Java SDK.
OPAAuthorizationManager() - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
OPAAuthorizationManager(OPAClient, String, ContextDataProvider) - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
Instantiates an instance to authorizes requests.
OPAAuthorizationManager(OPAClient) - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
OPAAuthorizationManager(OPAClient, ContextDataProvider) - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
OPAAuthorizationManager(OPAClient, String) - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
OPAAuthorizationManager(String) - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
OPAAuthorizationManager(String, ContextDataProvider) - Constructor for class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
OPAAutoConfiguration - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
Auto-configuration for OPA authorization support.
OPAAutoConfiguration() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAAutoConfiguration
 
opaClient(OPAProperties) - Method in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAAutoConfiguration
Create an OPAClient bean using OPAProperties#getUrl().
OPAInputActionCustomizer - Interface in io.github.open_policy_agent.opa.springboot.input
By defining a bean which implements this interface, clients could customize OPA input.action.
OPAInputContextCustomizer - Interface in io.github.open_policy_agent.opa.springboot.input
By defining a bean which implements this interface, clients could customize OPA input.context.
OPAInputResourceCustomizer - Interface in io.github.open_policy_agent.opa.springboot.input
By defining a bean which implements this interface, clients could customize OPA input.resource.
OPAInputSubjectCustomizer - Interface in io.github.open_policy_agent.opa.springboot.input
By defining a bean which implements this interface, clients could customize OPA input.subject.
opaInputValidator() - Method in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAAutoConfiguration
Create an OPAInputValidator to validate the OPA input's required fields before sending request to the OPA server.
OPAInputValidator - Class in io.github.open_policy_agent.opa.springboot.input
Makes sure that mandatory OPA input properties are available.
OPAInputValidator() - Constructor for class io.github.open_policy_agent.opa.springboot.input.OPAInputValidator
 
opaPathSelector(OPAProperties) - Method in class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAAutoConfiguration
Create an OPAPathSelector bean using OPAProperties#getPath().
OPAPathSelector - Interface in io.github.open_policy_agent.opa.springboot
Selects target OPA path based on Authentication, RequestAuthorizationContext, and input Map.
OPAProperties - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
Configuration properties for OPA authorization support.
OPAProperties() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties
 
OPAProperties.AuthorizationEvent - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.AuthorizationEventType - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.Request - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.Request.Context - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.Request.Resource - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.Request.Subject - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.Response - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
OPAProperties.Response.Context - Class in io.github.open_policy_agent.opa.springboot.autoconfigure
 
opaRequest(Supplier<? extends Authentication>, RequestAuthorizationContext) - Method in class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
This method can be used to directly call OPA without generating an AuthorizationDecision, which can be used to examine the OPA response.
OPAResponse - Class in io.github.open_policy_agent.opa.springboot
This class models the data to be returned from an OPA Spring Boot SDK policy.
OPAResponse() - Constructor for class io.github.open_policy_agent.opa.springboot.OPAResponse
 
OPAResponseContext - Class in io.github.open_policy_agent.opa.springboot
This class models the data to be returned from an OPA policy under the context key.
OPAResponseContext() - Constructor for class io.github.open_policy_agent.opa.springboot.OPAResponseContext
 

P

publishAuthorizationEvent(Supplier<Authentication>, T, AuthorizationResult) - Method in class io.github.open_policy_agent.opa.springboot.authorization.OPAAuthorizationEventPublisher
 

R

Request() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request
 
Resource() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request.Resource
 
RESOURCE - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
RESOURCE_ID - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
RESOURCE_TYPE - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
Response() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Response
 

S

selectPath(Authentication, RequestAuthorizationContext, Map<String, Object>) - Method in interface io.github.open_policy_agent.opa.springboot.OPAPathSelector
 
setOpaProperties(OPAProperties) - Method in class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
setReasonKey(String) - Method in class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
Changes the "preferred" key where the access decision reason should be searched for in the OPAResponse.
Subject() - Constructor for class io.github.open_policy_agent.opa.springboot.autoconfigure.OPAProperties.Request.Subject
 
SUBJECT - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
SUBJECT_AUTHORITIES - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
SUBJECT_DETAILS - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
SUBJECT_ID - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 
SUBJECT_TYPE - Static variable in class io.github.open_policy_agent.opa.springboot.input.InputConstants
 

T

toString() - Method in class io.github.open_policy_agent.opa.springboot.authorization.OPAAuthorizationDecision
 

V

validate(Authentication, RequestAuthorizationContext, Map<String, Object>) - Method in class io.github.open_policy_agent.opa.springboot.input.OPAInputValidator
Validates input Map.
verify(Supplier<? extends Authentication>, RequestAuthorizationContext) - Method in class io.github.open_policy_agent.opa.springboot.OPAAuthorizationManager
 
A C D E G I O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form