|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.core.security.NullAuthorizationRealm
Field Summary | |
static NullAuthorizationRealm |
instance
|
Fields inherited from interface org.jboss.portal.core.security.AuthorizationRealm |
ANONYMOUS_ROLE, ANONYMOUS_ROLE_SET |
Constructor Summary | |
NullAuthorizationRealm()
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final NullAuthorizationRealm instance
Constructor Detail |
public NullAuthorizationRealm()
Method Detail |
public boolean hasPermission(java.lang.String domain, java.lang.String role, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.lang.String domain, java.util.Set roles, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.lang.String domain, java.lang.String role, java.lang.String[] path, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.lang.String domain, java.util.Set roles, java.lang.String[] path, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.lang.String role, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.util.Set roles, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.lang.String role, java.lang.String[] path, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
public boolean hasPermission(java.util.Set roles, java.lang.String[] path, java.lang.String permission)
AuthorizationRealm
hasPermission
in interface AuthorizationRealm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |