public abstract class BaseSelfEditingPolicy extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.ServletContext |
ctx |
protected BaseResourceBean.RoleLevel |
roleLevel |
| Constructor and Description |
|---|
BaseSelfEditingPolicy(javax.servlet.ServletContext ctx,
BaseResourceBean.RoleLevel roleLevel) |
| Modifier and Type | Method and Description |
|---|---|
protected PolicyDecision |
authorizedDecision(String message)
An AUTHORIZED decision with a message like "PolicyClass: message".
|
protected boolean |
canModifyPredicate(Property predicate) |
protected boolean |
canModifyResource(String uri) |
protected PolicyDecision |
cantModifyPredicate(Property predicate) |
protected PolicyDecision |
cantModifyResource(String uri) |
protected PolicyDecision |
inconclusiveDecision(String message)
An INCONCLUSIVE decision with a message like "PolicyClass: message".
|
protected PolicyDecision |
userNotAuthorizedToStatement() |
protected final javax.servlet.ServletContext ctx
protected final BaseResourceBean.RoleLevel roleLevel
public BaseSelfEditingPolicy(javax.servlet.ServletContext ctx,
BaseResourceBean.RoleLevel roleLevel)
protected boolean canModifyResource(String uri)
protected boolean canModifyPredicate(Property predicate)
protected PolicyDecision cantModifyResource(String uri)
protected PolicyDecision cantModifyPredicate(Property predicate)
protected PolicyDecision userNotAuthorizedToStatement()
protected PolicyDecision inconclusiveDecision(String message)
protected PolicyDecision authorizedDecision(String message)
Copyright © 2022. All rights reserved.