|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AssertionPolicy
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.riotfamily.riot.security.policy.AuthorizationPolicy |
|---|
AuthorizationPolicy.Permission |
| Field Summary |
|---|
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Method Summary | |
|---|---|
void |
assertIsGranted(RiotUser user,
String action,
Object object)
By contract this method is invoked whenever an action is about to be executed. |
| Methods inherited from interface org.riotfamily.riot.security.policy.AuthorizationPolicy |
|---|
getPermission |
| Methods inherited from interface org.springframework.core.Ordered |
|---|
getOrder |
| Method Detail |
|---|
void assertIsGranted(RiotUser user,
String action,
Object object)
throws PermissionDeniedException
subject - The useraction - The action to be performedobject - The object on which the action is to be performed
PermissionDeniedException - if the permission is not granted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||