|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.core.security.Scheme
Constructor Summary | |
Scheme()
Creates a new empty scheme. |
|
Scheme(Scheme other)
Copy constructor. |
Method Summary | |
void |
add(java.lang.String[] path,
java.lang.String role,
java.lang.String permission)
Add a permission. |
void |
clear()
Clear the scheme. |
java.util.Set |
get(java.lang.String[] path,
java.util.Set roles)
Get the set of permissions for the given roles and path. |
java.util.Set |
get(java.lang.String[] path,
java.lang.String role)
Get the set of permissions for the given domain, role and path. |
java.util.Set |
getChildrenNames(java.lang.String[] path)
Return a set of the children names. |
java.util.Set |
getRoles(java.lang.String[] path)
|
void |
remove(java.lang.String[] path)
Remove an item. |
void |
remove(java.lang.String[] path,
java.lang.String role,
java.lang.String permission)
Remove a permission. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Scheme()
public Scheme(Scheme other) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if the copied scheme argument is nullMethod Detail |
public java.util.Set getChildrenNames(java.lang.String[] path)
public java.util.Set getRoles(java.lang.String[] path)
public java.util.Set get(java.lang.String[] path, java.lang.String role)
public java.util.Set get(java.lang.String[] path, java.util.Set roles)
public void add(java.lang.String[] path, java.lang.String role, java.lang.String permission)
java.lang.UnsupportedOperationException
- if the scheme is not mutablepublic void remove(java.lang.String[] path, java.lang.String role, java.lang.String permission)
java.lang.UnsupportedOperationException
- if the scheme is not mutablepublic void remove(java.lang.String[] path)
java.lang.UnsupportedOperationException
- if the scheme is not mutablepublic void clear()
java.lang.UnsupportedOperationException
- if the scheme is not mutable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |