public class JavaxElPolicyExecutorService extends java.lang.Object implements PolicyExecutorService
JavaxElPolicyExecutor to be automatically added as a policy executor for ABAC.| Constructor and Description |
|---|
JavaxElPolicyExecutorService() |
| Modifier and Type | Method and 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#addExecutorinstantiate 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.