|
||||||||||
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(java.lang.Object permission)
Adds permission in to the list of permissions for this principal. |
java.util.List |
getList()
Returns list of permissions for this principal. |
java.lang.String |
getName()
Get name given to this principal. |
java.lang.String |
getRepository()
Get repository ID for which this ACL has been constructed. |
java.lang.String |
getWorkspace()
Get workspace ID for which this ACL has been constructed. |
void |
setList(java.util.List list)
Initialize access control list with provided permissions it will overwrite any existing permissions set before. |
void |
setName(java.lang.String name)
Set this principal name. |
void |
setRepository(java.lang.String repository)
Set repository ID for which this ACL will be constructed. |
void |
setWorkspace(java.lang.String workspace)
Set workspace ID for which this ACL will be constructed. |
java.lang.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 java.lang.String getName()
getName
in interface ACL
getName
in interface java.security.Principal
public void setName(java.lang.String name)
setName
in interface ACL
public java.lang.String getRepository()
getRepository
in interface ACL
public void setRepository(java.lang.String repository)
setRepository
in interface ACL
repository
- public java.lang.String getWorkspace()
getWorkspace
in interface ACL
public void setWorkspace(java.lang.String workspace)
setWorkspace
in interface ACL
workspace
- public void addPermission(java.lang.Object permission)
addPermission
in interface ACL
permission
- public void setList(java.util.List list)
setList
in interface ACL
list
- public java.util.List getList()
getList
in interface ACL
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |