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.
  • Method Details

    • builder

      public static PolicyValidator.PolicyConfig.Builder builder()
      Creates a fluent API builder to build new instances of this class.
      Returns:
      a new builder instance
    • policyStatements

      public List<String> 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