|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface is implemented by an object, whose access should be protected. After that, the object must be registered using the SecurityUtil.registerPrincipal() method.
| Method Summary | |
boolean |
hasRight(java.lang.String right)
Checks if the object has the specified right. |
boolean |
isInRole(java.lang.String role)
Checks if the object has the specified permission. |
| Method Detail |
public boolean isInRole(java.lang.String role)
role - The symbolic name for the role to check.
public boolean hasRight(java.lang.String right)
right - The symbolic name for the right to check.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||