Class Result
- java.lang.Object
-
- org.keycloak.authorization.policy.evaluation.Result
-
public class Result extends Object
- Author:
- Pedro Igor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Result.PolicyResult
-
Constructor Summary
Constructors Constructor Description Result(ResourcePermission permission, Evaluation evaluation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Decision.Effect
getEffect()
Evaluation
getEvaluation()
ResourcePermission
getPermission()
Result.PolicyResult
getPolicy(Policy policy)
Collection<Result.PolicyResult>
getResults()
Result.PolicyResult
policy(Policy policy)
void
setStatus(Decision.Effect status)
-
-
-
Constructor Detail
-
Result
public Result(ResourcePermission permission, Evaluation evaluation)
-
-
Method Detail
-
getPermission
public ResourcePermission getPermission()
-
getResults
public Collection<Result.PolicyResult> getResults()
-
getEvaluation
public Evaluation getEvaluation()
-
policy
public Result.PolicyResult policy(Policy policy)
-
setStatus
public void setStatus(Decision.Effect status)
-
getEffect
public Decision.Effect getEffect()
-
getPolicy
public Result.PolicyResult getPolicy(Policy policy)
-
-