Package io.helidon.security.abac.policy
Class PolicyValidator.PolicyConfig
java.lang.Object
io.helidon.security.abac.policy.PolicyValidator.PolicyConfig
- All Implemented Interfaces:
AbacValidatorConfig
- Enclosing class:
PolicyValidator
public static final class PolicyValidator.PolicyConfig
extends Object
implements AbacValidatorConfig
Configuration of policy validator - a statement and whether to inherit value
from parents.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent API builder forPolicyValidator.PolicyConfig
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a fluent API builder to build new instances of this class.The policy statements collected through configuration hierarchy.boolean
Whether to inherit statements from parent configurations.
-
Method Details
-
builder
Creates a fluent API builder to build new instances of this class.- Returns:
- a new builder instance
-
policyStatements
The policy statements collected through configuration hierarchy.- Returns:
- list of statements in order they should be executed
-
shouldInherit
public boolean shouldInherit()Whether to inherit statements from parent configurations.- Returns:
- true to inherit, false to execute only this class's statements
-