|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.lu.thep.waf.PermissionController
public class PermissionController
Extend this class and override all methods to verify if a user(Principal) is allowed to run an action or not.
| Constructor Summary | |
|---|---|
PermissionController()
|
|
| Method Summary | |
|---|---|
void |
init()
Override this method and initiate all action permissions |
void |
isAllowed(AbstractAction action,
java.security.Principal user)
Override this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PermissionController()
| Method Detail |
|---|
public void isAllowed(AbstractAction action,
java.security.Principal user)
throws LoginRequiredException,
PermissionDenied
action - user -
LoginRequiredException - when an requested action needs
authentication
PermissionDenied - when authenticated user ha insufficient
permissions to execute the actionpublic void init()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||