public interface Evaluation
An Evaluation is mainly used by PolicyProvider in order to evaluate a single
and specific ResourcePermission against the configured policies.
| Modifier and Type | Method and Description |
|---|---|
void |
deny()
Denies the requested permission.
|
EvaluationContext |
getContext()
Returns the
EvaluationContext. |
ResourcePermission |
getPermission()
Returns the
ResourcePermission to be evaluated. |
void |
grant()
Grants the requested permission to the caller.
|
ResourcePermission getPermission()
ResourcePermission to be evaluated.EvaluationContext getContext()
EvaluationContext. Which provides access to the whole evaluation runtime context.void grant()
void deny()
Copyright © 2016 JBoss by Red Hat. All rights reserved.