|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecuredResource
An interface used to work with a resource that has associated access control entries.
SecurityDomain
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
java.lang.String getName()
AccessControlEntry[] getAccessControlList() throws PermissionDeniedException
PermissionDeniedException
void setAccessControlList(AccessControlEntry[] newAccessControlList) throws InvalidAccessControlEntryException, PermissionDeniedException
InvalidAccessControlEntryException
PermissionDeniedException
void addAccessControlEntry(AccessControlEntry newAccessControlEntry) throws InvalidAccessControlEntryException, PermissionDeniedException
InvalidAccessControlEntryException
PermissionDeniedException
void removeAccessControlEntry(AccessControlEntry oldAccessControlEntry) throws InvalidAccessControlEntryException, PermissionDeniedException
InvalidAccessControlEntryException
PermissionDeniedException
boolean hasAccess(User pUser, AccessRight pDesiredAccess)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |