|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.security.GenericSecuredResource
public class GenericSecuredResource
A generic implementation of the SecuredResource interface.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
GenericSecuredResource(java.lang.String pName)
|
Method Summary | |
---|---|
void |
addAccessControlEntry(AccessControlEntry pNewAce)
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 pOldAce)
Removes an access control entry from this resource. |
void |
setAccessControlList(AccessControlEntry[] pNewAcl)
Changes access control list associated with this resource. |
void |
setName(java.lang.String pNewName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GenericSecuredResource(java.lang.String pName)
Method Detail |
---|
public void setName(java.lang.String pNewName)
public java.lang.String getName()
getName
in interface SecuredResource
public AccessControlEntry[] getAccessControlList()
getAccessControlList
in interface SecuredResource
public void setAccessControlList(AccessControlEntry[] pNewAcl) throws PermissionDeniedException
setAccessControlList
in interface SecuredResource
PermissionDeniedException
public void addAccessControlEntry(AccessControlEntry pNewAce) throws PermissionDeniedException
addAccessControlEntry
in interface SecuredResource
PermissionDeniedException
public void removeAccessControlEntry(AccessControlEntry pOldAce) throws PermissionDeniedException
removeAccessControlEntry
in interface SecuredResource
PermissionDeniedException
public boolean hasAccess(User pUser, AccessRight pDesiredAccess)
hasAccess
in interface SecuredResource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |