|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.jaas.principal.ACLImpl
public class ACLImpl
This class represents access control list as a principal.
Constructor Summary | |
---|---|
ACLImpl()
|
Method Summary | |
---|---|
void |
addPermission(Object permission)
Adds permission in to the list of permissions for this principal. |
List |
getList()
Returns list of permissions for this principal. |
String |
getName()
Get name given to this principal. |
String |
getRepository()
Get repository ID for which this ACL has been constructed. |
String |
getWorkspace()
Get workspace ID for which this ACL has been constructed. |
void |
setList(List list)
Initialize access control list with provided permissions it will overwrite any existing permissions set before. |
void |
setName(String name)
Set this principal name. |
void |
setRepository(String repository)
Set repository ID for which this ACL will be constructed. |
void |
setWorkspace(String workspace)
Set workspace ID for which this ACL will be constructed. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
equals, hashCode |
Constructor Detail |
---|
public ACLImpl()
Method Detail |
---|
public String getName()
getName
in interface ACL
getName
in interface Principal
public void setName(String name)
setName
in interface ACL
public String getRepository()
getRepository
in interface ACL
public void setRepository(String repository)
setRepository
in interface ACL
repository
- public String getWorkspace()
getWorkspace
in interface ACL
public void setWorkspace(String workspace)
setWorkspace
in interface ACL
workspace
- public void addPermission(Object permission)
addPermission
in interface ACL
permission
- public void setList(List list)
setList
in interface ACL
list
- public List getList()
getList
in interface ACL
public String toString()
toString
in interface Principal
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |