PolicyExecutorServicepublic class JavaxElPolicyExecutorService extends java.lang.Object implements PolicyExecutorService
JavaxElPolicyExecutor to be automatically added as a policy executor for ABAC.| Constructor | Description |
|---|---|
JavaxElPolicyExecutorService() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
configKey() |
Configuration key that is expected by this policy validator service.
|
PolicyExecutor |
instantiate(Config config) |
Create a new instance of a
PolicyExecutor based on the configuration provider. |
public java.lang.String configKey()
PolicyExecutorService
security.providers:
- abac
policy-validator:
my-custom-policy-engine:
some-key: "some value"
another-key: "another value"
configKey in interface PolicyExecutorServicepublic PolicyExecutor instantiate(Config config)
PolicyExecutorServicePolicyExecutor based on the configuration provider.
Another option is to use a builder directly with PolicyValidator.Builder.addExecutor(io.helidon.security.abac.policy.spi.PolicyExecutor)instantiate in interface PolicyExecutorServiceconfig - configuration as located on PolicyExecutorService.configKey().PolicyValidator to evaluate policy
statementsCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.