|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all objects which requires an authorization.
Method Summary | |
Permission |
getPermission()
Returns the authorizations required to access an object If the method returns null no access rights is required. |
boolean |
show(Principal principal)
Checks if the Object has a required permission. |
Method Detail |
public Permission getPermission()
null
no access rights is required.
public boolean show(Principal principal)
principal
- the users principal object
true
if the permission exists
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |