public interface SecuredResource
SecurityDomain| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addAccessControlEntry(AccessControlEntry newAccessControlEntry)
Adds a new access control entry to this resource. 
 | 
AccessControlEntry[] | 
getAccessControlList()
Returns the access control list associated with this resource. 
 | 
java.lang.String | 
getName()
Returns the name of the resource. 
 | 
boolean | 
hasAccess(User pUser,
         AccessRight pDesiredAccess)
Returns true if the indicated user has the desired access to this
 resource. 
 | 
void | 
removeAccessControlEntry(AccessControlEntry oldAccessControlEntry)
Removes an access control entry from this resource. 
 | 
void | 
setAccessControlList(AccessControlEntry[] newAccessControlList)
Changes the access control list associated with this resource. 
 | 
static final java.lang.String CLASS_VERSION
java.lang.String getName()
AccessControlEntry[] getAccessControlList() throws PermissionDeniedException
PermissionDeniedExceptionvoid setAccessControlList(AccessControlEntry[] newAccessControlList) throws InvalidAccessControlEntryException, PermissionDeniedException
void addAccessControlEntry(AccessControlEntry newAccessControlEntry) throws InvalidAccessControlEntryException, PermissionDeniedException
void removeAccessControlEntry(AccessControlEntry oldAccessControlEntry) throws InvalidAccessControlEntryException, PermissionDeniedException
boolean hasAccess(User pUser, AccessRight pDesiredAccess)