|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--oracle.ifs.beans.LibraryObject
|
+--oracle.ifs.beans.TieLibraryObject
|
+--oracle.ifs.beans.PublicObject
|
+--oracle.ifs.beans.TiePublicObject
|
+--oracle.ifs.beans.AccessControlList
The AccessControlList class represents a set of access control entries that are referenced by one or more public Objects.
AccessLevel,
DirectoryObject,
DirectoryUser,
PublicObject| Field Summary | |
static java.lang.String |
CLASS_NAME
This class name for this class. |
static java.lang.String |
SHARED_ATTRIBUTE
An indicator of whether more than one PublicObject refers to this AccessControlList. |
| Method Summary | |
boolean |
checkEffectiveAccess(DirectoryObject obj,
AccessLevel level)
Check to see if specified user has the specified access level on this object. |
boolean |
checkGrantedAccess(AccessLevel level)
Check if current user has the specified access level on this object. |
boolean |
checkGrantedAccess(DirectoryObject obj,
AccessLevel requestedLevel)
Check to see if specified user/group has the specified access level on this object. |
AccessLevel |
getEffectiveAccessLevel(DirectoryObject obj)
Returns the effective access level on this object for the specified user. |
AccessLevel |
getGrantedAccessLevel()
Returns the access level on this object for the current user. |
AccessLevel |
getGrantedAccessLevel(DirectoryObject obj)
Returns the access level on this object for a specified DirectoryObject. |
AccessControlEntry |
grantAccess(AccessControlEntryDefinition aceDef)
Add or extend an ACE for this ACL. |
void |
handleEvent(IfsEvent event)
Handles the specified event. |
boolean |
isShared()
Return indication as to whether this is a shared ACL, meaning more than one PublicObject refers to it. |
void |
removeAccessControlEntry(AccessControlEntry ace)
Remove an ACE from this ACL. |
AccessControlEntry |
revokeAccess(AccessControlEntryDefinition aceDef)
Remove or restrict an ACE for this ACL. |
void |
revokeAllAccess()
Remove all ACEs for this ACL. |
void |
updateAccessControlEntry(AccessControlEntry ace,
AccessControlEntryDefinition aceDef)
Update an ACE in this ACL. |
| Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, invokeServerMethod, isInstanceOf, isTraced, lookupInstanceLabel, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setName, toString, trace, update |
| Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
| Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
| Field Detail |
public static final java.lang.String CLASS_NAME
public static final java.lang.String SHARED_ATTRIBUTE
| Method Detail |
public AccessLevel getGrantedAccessLevel()
throws IfsException
IfsException - if operation fails.
public AccessLevel getGrantedAccessLevel(DirectoryObject obj)
throws IfsException
obj - the DirectoryObjectIfsException - if operation fails.
public boolean checkGrantedAccess(AccessLevel level)
throws IfsException
level - specified level.IfsException - if operation fails.
public boolean checkGrantedAccess(DirectoryObject obj,
AccessLevel requestedLevel)
throws IfsException
obj - the DirectoryObjectlevel - specified level.IfsException - if operation fails.
public AccessLevel getEffectiveAccessLevel(DirectoryObject obj)
throws IfsException
getEffectiveAccessLevel in class PublicObjectuser - specified user on which to check Access ControlIfsException - if operation fails.
public boolean checkEffectiveAccess(DirectoryObject obj,
AccessLevel level)
throws IfsException
checkEffectiveAccess in class PublicObjectuser - specified user on which to check Access Controllevel - specified level.IfsException - if operation fails.
public boolean isShared()
throws IfsException
IfsException - if operation fails.
public AccessControlEntry grantAccess(AccessControlEntryDefinition aceDef)
throws IfsException
grantAccess in class PublicObjectaceDef - AccessControlEntry definitionIfsException - if operation fails.
public AccessControlEntry revokeAccess(AccessControlEntryDefinition aceDef)
throws IfsException
revokeAccess in class PublicObjectaceDef - AccessControlEntry definitionIfsException - if operation fails.
public void revokeAllAccess()
throws IfsException
revokeAllAccess in class PublicObjectIfsException - if operation fails.
public void handleEvent(IfsEvent event)
throws IfsException
handleEvent in class PublicObjectevent - the eventIfsException - if the operation fails
public void removeAccessControlEntry(AccessControlEntry ace)
throws IfsException
ace - AccessControlEntry to be removedIfsException - if operation fails.
public void updateAccessControlEntry(AccessControlEntry ace,
AccessControlEntryDefinition aceDef)
throws IfsException
ace - AccessControlEntry to be updatedaceDef - the definition of the updatesIfsException - if operation fails.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||