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.
|
AuthorizationProvider |
getAuthorizationProvider() |
EvaluationContext |
getContext()
Returns the
EvaluationContext. |
ResourcePermission |
getPermission()
Returns the
ResourcePermission to be evaluated. |
Policy |
getPolicy()
Returns the
Policy. |
Realm |
getRealm()
Returns a
Realm that can be used by policies to query information. |
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.Realm getRealm()
Realm that can be used by policies to query information.Realm instanceAuthorizationProvider getAuthorizationProvider()
void grant()
void deny()
Copyright © 2018 JBoss by Red Hat. All rights reserved.