Class JavaxElPolicyExecutor
- java.lang.Object
- 
- io.helidon.security.abac.policy.el.JavaxElPolicyExecutor
 
- 
- All Implemented Interfaces:
- PolicyExecutor
 
 public final class JavaxElPolicyExecutor extends Object implements PolicyExecutor PolicyExecutorfor Java EE Expression Language (EL). See tutorial for details of the EL: https://docs .oracle.com/javaee/7/tutorial/jsf-el005.htm#BNAIK
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJavaxElPolicyExecutor.BuilderA fluent API builder forJavaxElPolicyExecutor.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaxElPolicyExecutor.Builderbuilder()Creates a fluent API builder to build new instances of this class.static JavaxElPolicyExecutorcreate()Create a new instance configured with defaults.static JavaxElPolicyExecutorcreate(Config config)Create an instance based on configuration.voidexecutePolicy(String policyStatement, Errors.Collector collector, ProviderRequest request)Execute a policy based on a policy statement.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface io.helidon.security.abac.policy.spi.PolicyExecutorsupports
 
- 
 
- 
- 
- 
Method Detail- 
builderpublic static JavaxElPolicyExecutor.Builder builder() Creates a fluent API builder to build new instances of this class.- Returns:
- a new builder instance
 
 - 
createpublic static JavaxElPolicyExecutor create(Config config) Create an instance based on configuration.- Parameters:
- config- configuration located on the key provided by- JavaxElPolicyExecutorService.configKey()
- Returns:
- a new configured instance
 
 - 
createpublic static JavaxElPolicyExecutor create() Create a new instance configured with defaults.- Returns:
- a new policy executor
 
 - 
executePolicypublic void executePolicy(String policyStatement, Errors.Collector collector, ProviderRequest request) Description copied from interface:PolicyExecutorExecute a policy based on a policy statement.- Specified by:
- executePolicyin interface- PolicyExecutor
- Parameters:
- policyStatement- statement to evaluate
- collector- register- Errors.Collector.fatal(Object, String)in case the policy statement denies the request, do nothing for successful execution.- Errors.Collector.warn(Object, String)and- Errors.Collector.hint(Object, String)may be used for troubleshooting/debugging purposes
- request- request providing access to subject, service subject, environment and object (s)
 
 
- 
 
-