Class JavaxElPolicyExecutorService
java.lang.Object
io.helidon.security.abac.policy.el.JavaxElPolicyExecutorService
- All Implemented Interfaces:
PolicyExecutorService
Java service for
JavaxElPolicyExecutor
to be automatically added as a policy executor for ABAC.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration key that is expected by this policy validator service.instantiate
(Config config) Create a new instance of aPolicyExecutor
based on the configuration provider.
-
Constructor Details
-
JavaxElPolicyExecutorService
public JavaxElPolicyExecutorService()
-
-
Method Details
-
configKey
Description copied from interface:PolicyExecutorService
Configuration key that is expected by this policy validator service. This is obtained from policy-validator area in configuration. Example:security.providers: - abac policy-validator: my-custom-policy-engine: some-key: "some value" another-key: "another value"
- Specified by:
configKey
in interfacePolicyExecutorService
- Returns:
- configuration key (e.g. "my-custom-policy-engine" from example above)
-
instantiate
Description copied from interface:PolicyExecutorService
Create a new instance of aPolicyExecutor
based on the configuration provider. Another option is to use a builder directly withPolicyValidator.Builder.addExecutor(io.helidon.security.abac.policy.spi.PolicyExecutor)
- Specified by:
instantiate
in interfacePolicyExecutorService
- Parameters:
config
- configuration as located onPolicyExecutorService.configKey()
.- Returns:
- new executor instance to be used by
PolicyValidator
to evaluate policy statements
-