Package io.helidon.security.abac.policy
Class PolicyValidator.PolicyConfig.Builder
java.lang.Object
io.helidon.security.abac.policy.PolicyValidator.PolicyConfig.Builder
- All Implemented Interfaces:
- Builder<PolicyValidator.PolicyConfig.Builder,,- PolicyValidator.PolicyConfig> - Supplier<PolicyValidator.PolicyConfig>
- Enclosing class:
- PolicyValidator.PolicyConfig
public static final class PolicyValidator.PolicyConfig.Builder
extends Object
implements Builder<PolicyValidator.PolicyConfig.Builder,PolicyValidator.PolicyConfig> 
A fluent API builder for 
PolicyValidator.PolicyConfig.- 
Method Summary
- 
Method Details- 
statementThe statement of this policy. Actual value depends on policy engine in use.- Parameters:
- policyStatement- statement to validate access against
- Returns:
- updated builder instance
 
- 
inheritBy default, all policy statements defined on all levels (application, class, method, field) are executed in order. If set to false, on the last policy in the list is executed (e.g. only on method for resource method of Jersey integration, if it is defined on method). NOTE: if there is no statement defined on current level, we will use a statement from nearest level above- Parameters:
- inherit- whether to inherit policies from annotations defined on higher level
- Returns:
- updated builder instance
 
- 
configUpdate this builder from configuration.- Parameters:
- config- config instance located on the key- PolicyValidator.configKey()
- Returns:
- updated builder instance
 
- 
buildDescription copied from interface:BuilderBuild the instance from this builder.- Specified by:
- buildin interface- Builder<PolicyValidator.PolicyConfig.Builder,- PolicyValidator.PolicyConfig> 
- Returns:
- instance of the built type
 
 
-