A B C D F G I L M N P R S T W 
All Classes All Packages

A

addResourceAndActions(Resource, String...) - Method in class dev.cerbos.sdk.CheckResourcesRequestBuilder
Add a resource and a set of actions to check against that resource.
addResources(ResourceAction...) - Method in class dev.cerbos.sdk.CheckResourcesRequestBuilder
Add a set of resource and action pairs.
AttributeValue - Class in dev.cerbos.sdk.builders
 
AuxData - Class in dev.cerbos.sdk.builders
 

B

batch(Principal) - Method in class dev.cerbos.sdk.CerbosBlockingClient
Build a new batch request using the given principal.
batch(Principal, AuxData) - Method in class dev.cerbos.sdk.CerbosBlockingClient
Build a new batch request using the given principal and auxData.
boolValue(boolean) - Static method in class dev.cerbos.sdk.builders.AttributeValue
 
buildBlockingClient() - Method in class dev.cerbos.sdk.CerbosClientBuilder
 

C

CerbosBlockingClient - Class in dev.cerbos.sdk
CerbosBlockingClient provides a client implementation that blocks waiting for a response from the PDP.
CerbosClientBuilder - Class in dev.cerbos.sdk
 
CerbosClientBuilder(String) - Constructor for class dev.cerbos.sdk.CerbosClientBuilder
 
CerbosClientBuilder.InvalidClientConfigurationException - Exception in dev.cerbos.sdk
 
CerbosContainer - Class in dev.cerbos.sdk
 
CerbosContainer() - Constructor for class dev.cerbos.sdk.CerbosContainer
 
CerbosContainer(String) - Constructor for class dev.cerbos.sdk.CerbosContainer
 
CerbosContainer(DockerImageName) - Constructor for class dev.cerbos.sdk.CerbosContainer
 
CerbosException - Exception in dev.cerbos.sdk
 
check() - Method in class dev.cerbos.sdk.CheckRequestBuilder.CheckResourceBatchRequestBuilder
Perform the check using the accumulated list of resources and actions.
check() - Method in class dev.cerbos.sdk.CheckRequestBuilder.CheckResourceSetRequestBuilder
Perform the check using the accumulated list of resources and actions.
check() - Method in class dev.cerbos.sdk.CheckResourcesRequestBuilder
Perform the check using the accumulated list of resources and actions.
check(Principal, Resource, String...) - Method in class dev.cerbos.sdk.CerbosBlockingClient
Check whether the principal is allowed to perform the actions on the given resource.
CheckRequestBuilder - Class in dev.cerbos.sdk
 
CheckRequestBuilder.CheckResourceBatchRequestBuilder - Class in dev.cerbos.sdk
 
CheckRequestBuilder.CheckResourceSetRequestBuilder - Class in dev.cerbos.sdk
 
CheckResourceBatchResult - Class in dev.cerbos.sdk
 
CheckResourceSetResult - Class in dev.cerbos.sdk
 
CheckResourcesRequestBuilder - Class in dev.cerbos.sdk
 
CheckResourcesResult - Class in dev.cerbos.sdk
 
CheckResult - Class in dev.cerbos.sdk
 

D

dev.cerbos.sdk - package dev.cerbos.sdk
 
dev.cerbos.sdk.builders - package dev.cerbos.sdk.builders
 
doubleValue(double) - Static method in class dev.cerbos.sdk.builders.AttributeValue
 

F

find(String) - Method in class dev.cerbos.sdk.CheckResourcesResult
 
find(String, Predicate<Response.CheckResourcesResponse.ResultEntry.Resource>) - Method in class dev.cerbos.sdk.CheckResourcesResult
 

G

generate() - Static method in class dev.cerbos.sdk.RequestId
 
get(String) - Method in class dev.cerbos.sdk.CheckResourceBatchResult
Get the result for the given resource.
get(String) - Method in class dev.cerbos.sdk.CheckResourceSetResult
Get the check result for the given resource.
getAll() - Method in class dev.cerbos.sdk.CheckResourceBatchResult
Get all resources and associated results.
getAll() - Method in class dev.cerbos.sdk.CheckResourceSetResult
Get all resources and their associated results.
getAll() - Method in class dev.cerbos.sdk.CheckResult
Return all actions and effects in this instance.
getGrpcPort() - Method in class dev.cerbos.sdk.CerbosContainer
 
getHttpPort() - Method in class dev.cerbos.sdk.CerbosContainer
 
getRaw() - Method in class dev.cerbos.sdk.CheckResourceBatchResult
 
getRaw() - Method in class dev.cerbos.sdk.CheckResourceSetResult
 
getRaw() - Method in class dev.cerbos.sdk.CheckResourcesResult
 
getStatusCode() - Method in exception dev.cerbos.sdk.CerbosException
 
getStatusDescription() - Method in exception dev.cerbos.sdk.CerbosException
 
getTarget() - Method in class dev.cerbos.sdk.CerbosContainer
 

I

InvalidClientConfigurationException(String) - Constructor for exception dev.cerbos.sdk.CerbosClientBuilder.InvalidClientConfigurationException
 
InvalidClientConfigurationException(String, Throwable) - Constructor for exception dev.cerbos.sdk.CerbosClientBuilder.InvalidClientConfigurationException
 
InvalidClientConfigurationException(Throwable) - Constructor for exception dev.cerbos.sdk.CerbosClientBuilder.InvalidClientConfigurationException
 
isAllowed(String) - Method in class dev.cerbos.sdk.CheckResult
Returns whether the given action is allowed.
isAllowed(String, String) - Method in class dev.cerbos.sdk.CheckResourceBatchResult
Check whether the action is allowed on the given resource.
isAllowed(String, String) - Method in class dev.cerbos.sdk.CheckResourceSetResult
Returns whether the given action can be performed on the given resource.

L

listValue(AttributeValue...) - Static method in class dev.cerbos.sdk.builders.AttributeValue
 
listValue(List<AttributeValue>) - Static method in class dev.cerbos.sdk.builders.AttributeValue
 

M

mapValue(Map<String, AttributeValue>) - Static method in class dev.cerbos.sdk.builders.AttributeValue
 

N

newInstance() - Static method in class dev.cerbos.sdk.builders.AuxData
 
newInstance(String) - Static method in class dev.cerbos.sdk.builders.Resource
 
newInstance(String) - Static method in class dev.cerbos.sdk.builders.ResourceAction
 
newInstance(String, String) - Static method in class dev.cerbos.sdk.builders.Resource
 
newInstance(String, String) - Static method in class dev.cerbos.sdk.builders.ResourceAction
 
newInstance(String, String...) - Static method in class dev.cerbos.sdk.builders.Principal
 

P

Principal - Class in dev.cerbos.sdk.builders
 

R

RequestId - Class in dev.cerbos.sdk
 
RequestId() - Constructor for class dev.cerbos.sdk.RequestId
 
Resource - Class in dev.cerbos.sdk.builders
 
ResourceAction - Class in dev.cerbos.sdk.builders
 
results() - Method in class dev.cerbos.sdk.CheckResourcesResult
 

S

stringValue(String) - Static method in class dev.cerbos.sdk.builders.AttributeValue
 

T

toAuxData() - Method in class dev.cerbos.sdk.builders.AuxData
 
toPrincipal() - Method in class dev.cerbos.sdk.builders.Principal
 
toResource() - Method in class dev.cerbos.sdk.builders.Resource
 
toResourceEntry() - Method in class dev.cerbos.sdk.builders.ResourceAction
 
toValue() - Method in class dev.cerbos.sdk.builders.AttributeValue
 

W

with(AuxData) - Method in class dev.cerbos.sdk.CerbosBlockingClient
Automatically attach the provided auxiliary data to requests.
withActions(String...) - Method in class dev.cerbos.sdk.builders.ResourceAction
 
withActions(String...) - Method in class dev.cerbos.sdk.CheckRequestBuilder.CheckResourceSetRequestBuilder
Add actions to check.
withAttribute(String, AttributeValue) - Method in class dev.cerbos.sdk.builders.Principal
 
withAttribute(String, AttributeValue) - Method in class dev.cerbos.sdk.builders.Resource
 
withAttribute(String, AttributeValue) - Method in class dev.cerbos.sdk.builders.ResourceAction
 
withAttributes(Map<String, AttributeValue>) - Method in class dev.cerbos.sdk.builders.Principal
 
withAttributes(Map<String, AttributeValue>) - Method in class dev.cerbos.sdk.builders.Resource
 
withAttributes(Map<String, AttributeValue>) - Method in class dev.cerbos.sdk.builders.ResourceAction
 
withAuthority(String) - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withCaCertificate(InputStream) - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withInsecure() - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withJWT(String) - Static method in class dev.cerbos.sdk.builders.AuxData
 
withJWT(String, String) - Static method in class dev.cerbos.sdk.builders.AuxData
 
withPlaintext() - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withPlaygroundInstance(String) - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withPolicyVersion(String) - Method in class dev.cerbos.sdk.builders.Principal
 
withPolicyVersion(String) - Method in class dev.cerbos.sdk.builders.Resource
 
withPolicyVersion(String) - Method in class dev.cerbos.sdk.builders.ResourceAction
 
withPrincipal(Principal) - Method in class dev.cerbos.sdk.CerbosBlockingClient
Deprecated.
withResource(String, Map<String, AttributeValue>) - Method in class dev.cerbos.sdk.CheckRequestBuilder.CheckResourceSetRequestBuilder
Add resource to check.
withResourceAndActions(Resource, String...) - Method in class dev.cerbos.sdk.CheckRequestBuilder.CheckResourceBatchRequestBuilder
Add a resource and a set of actions to check against that resource.
withResourceAndActions(Resource, String...) - Method in class dev.cerbos.sdk.CheckRequestBuilder
Build a batch request containing a heterogeneous list of resources and actions.
withResourceKind(String) - Method in class dev.cerbos.sdk.CheckRequestBuilder
Build a batch request containing a homegeneous list of resources and actions
withResourceKind(String, String) - Method in class dev.cerbos.sdk.CheckRequestBuilder
Build a batch request containing a homegeneous list of resources and actions
withRoles(String...) - Method in class dev.cerbos.sdk.builders.Principal
 
withTimeout(Duration) - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withTlsCertificate(InputStream) - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
withTlsKey(InputStream) - Method in class dev.cerbos.sdk.CerbosClientBuilder
 
A B C D F G I L M N P R S T W 
All Classes All Packages