|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteACE
A CentraSiteACE represents one access control element as part of a CentraSiteACL. It corresponds to a WebDAV ACE element. A CentraSiteACE maintains Principal and Privilege information. By default, the privileges are granted (vs. denied). WebDAV also has "protected" and "inherited" attributes, however these are currently not supported by the CentraSite XML server.
Method Summary | |
---|---|
void |
addPrivilege(CentraSitePrivilege privilege)
Add a privilege. |
CentraSitePrincipal |
getPrincipal()
Get the principal. |
java.util.Collection |
getPrivileges()
Get the privileges. |
boolean |
isGrant()
Returns true, if the privileges of this ACE are all granted, and false if the privileges of this ACE are all denied. |
void |
removePrivilege(CentraSitePrivilege privilege)
Remove a privilege. |
void |
setGrant(boolean grant)
Set whether the privileges of this ACE are granted (grant=true) or denied (grant=false) |
void |
setOwnerObject(CentraSiteACL owner)
Set this CentraSiteACE's owner object |
void |
setPrincipal(CentraSitePrincipal principal)
Set the principal. |
void |
setPrincipal(javax.xml.namespace.QName principal)
Set the principal. |
Method Detail |
---|
void setPrincipal(CentraSitePrincipal principal)
principal
- the principalvoid setPrincipal(javax.xml.namespace.QName principal)
principal
- the principalCentraSitePrincipal getPrincipal()
void addPrivilege(CentraSitePrivilege privilege)
privilege
- a privilegevoid removePrivilege(CentraSitePrivilege privilege)
privilege
- the privilege to be removedjava.util.Collection getPrivileges()
void setGrant(boolean grant)
grant
- true to grant, false to denyboolean isGrant()
void setOwnerObject(CentraSiteACL owner)
owner
- this CentraSiteACE's owner object, maybe null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |