Warden
Toggle table of contents
0.5.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Warden
warden-core
/
codes.laurence.warden.policy.bool
/
AllOf
All
Of
class
AllOf
(
policies
:
List
<
Policy
>
)
:
Policy
,
CollectionBasedPolicy
(
source
)
All of the policies must grant access, and at least 1 must grant access.
Members
Constructors
All
Of
Link copied to clipboard
constructor
(
policies
:
List
<
Policy
>
)
constructor
(
builder
:
CollectionBasedPolicy
.
(
)
->
Unit
)
constructor
(
vararg
policies
:
Policy
)
Properties
policies
Link copied to clipboard
val
policies
:
MutableList
<
Policy
>
Functions
action
Link copied to clipboard
fun
action
(
pathRoot
:
String
,
vararg
pathRest
:
String
)
:
OperatorBuilder
add
Link copied to clipboard
fun
add
(
policy
:
Policy
)
all
Of
Link copied to clipboard
fun
allOf
(
builder
:
CollectionBasedPolicy
.
(
)
->
Unit
)
any
Of
Link copied to clipboard
fun
anyOf
(
builder
:
CollectionBasedPolicy
.
(
)
->
Unit
)
check
Authorized
Link copied to clipboard
open
override
fun
checkAuthorized
(
accessRequest
:
AccessRequest
)
:
AccessResponse
environment
Link copied to clipboard
fun
environment
(
pathRoot
:
String
,
vararg
pathRest
:
String
)
:
OperatorBuilder
not
All
Of
Link copied to clipboard
fun
notAllOf
(
builder
:
CollectionBasedPolicy
.
(
)
->
Unit
)
not
Any
Of
Link copied to clipboard
fun
notAnyOf
(
builder
:
CollectionBasedPolicy
.
(
)
->
Unit
)
resource
Link copied to clipboard
fun
resource
(
pathRoot
:
String
,
vararg
pathRest
:
String
)
:
OperatorBuilder
subject
Link copied to clipboard
fun
subject
(
pathRoot
:
String
,
vararg
pathRest
:
String
)
:
OperatorBuilder