Package io.helidon.security.abac.policy
Class PolicyValidator.Builder
java.lang.Object
io.helidon.security.abac.policy.PolicyValidator.Builder
- All Implemented Interfaces:
Builder<PolicyValidator.Builder,
,PolicyValidator> Supplier<PolicyValidator>
- Enclosing class:
- PolicyValidator
public static final class PolicyValidator.Builder
extends Object
implements Builder<PolicyValidator.Builder,PolicyValidator>
A fluent API builder for
PolicyValidator
.-
Method Summary
Modifier and TypeMethodDescriptionaddExecutor
(PolicyExecutor executor) Add an executor (that is not available as a java service).build()
Build the instance from this builder.Update this builder from configuration.
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<PolicyValidator.Builder,
PolicyValidator> - Returns:
- instance of the built type
-
addExecutor
Add an executor (that is not available as a java service).- Parameters:
executor
- to evaluate policy statements- Returns:
- updated builder instance
-
config
Update this builder from configuration.- Parameters:
config
- configuration instance located onPolicyValidatorService.configKey()
- Returns:
- updated builder instance
-