|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface a component deals with. It allows a component to perform authorization queries on it.
Field Summary | |
static java.lang.String |
ANONYMOUS_ROLE
Anonymous ( "" ) role value. |
static java.util.Set |
ANONYMOUS_ROLE_SET
Anonymous role. |
Method Summary | |
boolean |
hasPermission(java.util.Set roles,
java.lang.String permission)
Return true if one of the given roles has the global permission. |
boolean |
hasPermission(java.util.Set roles,
java.lang.String[] path,
java.lang.String permission)
Return true if one of the given roles has the local permission. |
boolean |
hasPermission(java.lang.String domain,
java.util.Set roles,
java.lang.String permission)
Return true if one of the given roles has the global permission. |
boolean |
hasPermission(java.lang.String domain,
java.util.Set roles,
java.lang.String[] path,
java.lang.String permission)
Return true if one of the given roles has the local permission. |
boolean |
hasPermission(java.lang.String role,
java.lang.String permission)
Return true if the given role has the global permission. |
boolean |
hasPermission(java.lang.String role,
java.lang.String[] path,
java.lang.String permission)
Return true if the given role has the local permission. |
boolean |
hasPermission(java.lang.String domain,
java.lang.String role,
java.lang.String permission)
Return true if the given role has the global permission. |
boolean |
hasPermission(java.lang.String domain,
java.lang.String role,
java.lang.String[] path,
java.lang.String permission)
Return true if the given role has the local permission. |
Field Detail |
public static final java.lang.String ANONYMOUS_ROLE
public static final java.util.Set ANONYMOUS_ROLE_SET
Method Detail |
public boolean hasPermission(java.lang.String domain, java.lang.String role, java.lang.String permission)
public boolean hasPermission(java.lang.String domain, java.util.Set roles, java.lang.String permission)
public boolean hasPermission(java.lang.String domain, java.lang.String role, java.lang.String[] path, java.lang.String permission)
public boolean hasPermission(java.lang.String domain, java.util.Set roles, java.lang.String[] path, java.lang.String permission)
public boolean hasPermission(java.lang.String role, java.lang.String permission)
public boolean hasPermission(java.util.Set roles, java.lang.String permission)
public boolean hasPermission(java.lang.String role, java.lang.String[] path, java.lang.String permission)
public boolean hasPermission(java.util.Set roles, java.lang.String[] path, java.lang.String permission)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |