|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StandardManager
wt.access.StandardAccessControlManager
The StandardAccessControlManager provides the standard implementation of a manager for access control. In addition to containing implementations for the methods in the AccessControlManager interface, it contains methods for maintenance of the ACL cache and auxiliary methods for ACL creation and maintenance.
Use the newStandardAccessControlManager
static factory method(s),
not the StandardAccessControlManager
constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
Nested Class Summary | |
(package private) class |
StandardAccessControlManager.EventListener
|
(package private) class |
StandardAccessControlManager.MultiEventListener
|
Field Summary | |
private static AclCache |
aclCache
|
private static String |
ADMIN_RESOURCE
|
private static String |
CLASSNAME
|
private static boolean |
enforce
|
private static String |
ENTRY_KEY_SEQUENCE
Name of the entry key sequence. |
private static int[] |
FROM_INDEX
|
private static String |
POLICY_KEY
|
private static long |
READ_MASK
|
private static String |
RESOURCE
|
private static boolean |
VALIDATE_ACCESS_CHECKS
|
private static boolean |
VALIDATE_TRANSACTION
|
private static boolean |
VERBOSE_EVENT
|
private static boolean |
VERBOSE_EXECUTION
|
private static boolean |
VERBOSE_POLICY
|
Fields inherited from class wt.services.StandardManager |
|
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Constructor Summary | |
StandardAccessControlManager()
|
Method Summary | |
AdHocControlled |
addPermission(AdHocControlled obj,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key)
Adds an ad hoc access control rule granting a principal the specified permission to an object. |
AdHocControlled |
addPermission(AdHocControlled obj,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key,
long owner_id)
Adds an ad hoc access control rule granting a principal the specified permission to an object. |
void |
addPermission(WTCollection objects,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key)
Adds an ad hoc access control rule for each of the objects in a collection, granting a principal the specified permission to the objects. |
void |
addPermission(WTCollection objects,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key,
long owner_id)
Adds an ad hoc access control rule for each of the objects in a collection, granting a principal the specified permission to the objects. |
AdHocControlled |
addPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
AdHocAccessKey owner_key)
Adds an ad hoc access control rule granting a principal the specified permissions to an object. |
AdHocControlled |
addPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
AdHocAccessKey owner_key,
long owner_id)
Adds an ad hoc access control rule granting a principal the specified permissions to an object. |
private AdHocControlled |
addPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
String owner)
|
void |
addPermissions(WTCollection objects,
WTPrincipalReference principal_ref,
Collection permissions,
AdHocAccessKey owner_key)
Adds an ad hoc access control rule for each of the objects in a collection, granting a principal the specified permissions to the objects. |
void |
addPermissions(WTCollection objects,
WTPrincipalReference principal_ref,
Collection permissions,
AdHocAccessKey owner_key,
long owner_id)
Adds an ad hoc access control rule for each of the objects in a collection, granting a principal the specified permissions to the objects. |
private void |
addPermissions(WTCollection objects,
WTPrincipalReference principal_ref,
Collection permissions,
String owner)
|
void |
checkAccess(AdminDomainRef domain_ref,
String type_id,
AccessPermission permission)
Checks if the current principal has the given access permission over a given type in a given domain (irrespective of state). |
boolean |
checkAccess(Object object,
AccessPermission permission)
Determines whether the current principal has a given permission on a given object. |
boolean |
checkAccess(Object object,
String permission)
Deprecated. |
void |
checkAccess(WTCollection objects,
AccessPermission permission)
Determines whether the current principal has a given permission on a collection of objects. |
private void |
checkChangePermissions(WTCollection objects,
long permission_mask)
|
private AclEntrySet |
constructAclEntrySet(AccessSelector selector)
|
AdHocControlled |
copyPermissions(AdHocControlled source,
AdHocControlled target)
Copies permissions from a source object to a target object. |
AdHocControlled |
copyPermissions(AdHocControlled source,
AdHocControlled target,
AdHocAccessKey owner_key)
Copies permissions from a source object to a target object. |
AdHocControlled |
copyPermissions(AdHocControlled source,
AdHocControlled target,
AdHocAccessKey owner_key,
long owner_id)
Copies permissions from a source object to a target object. |
private AdHocControlled |
copyPermissions(AdHocControlled source,
AdHocControlled target,
String owner)
|
void |
copyPermissions(AdHocControlled source,
WTCollection targets,
AdHocAccessKey owner_key)
Copies permissions from a source object to a collection of target objects. |
void |
copyPermissions(AdHocControlled source,
WTCollection targets,
AdHocAccessKey owner_key,
long owner_id)
Copies permissions from a source object to a collection of target objects. |
private void |
copyPermissions(AdHocControlled source,
WTCollection targets,
String owner)
|
void |
createAccessControlRule(AdminDomainRef domain_ref,
String type_id,
String state_key,
WTPrincipalReference principal_ref,
boolean grant,
Vector permissions)
Creates an access control rule defining the rights of a principal to access objects of a specified type and state, within a domain. |
void |
createAccessControlRule(AdminDomainRef domain_ref,
String type_id,
String state_key,
WTPrincipalReference principal_ref,
Vector grant_permissions,
Vector deny_permissions)
Creates an access control rule defining the rights of a principal to access objects of a specified type and state, within a domain. |
void |
createAllRule(AdminDomainRef domain_ref,
String type_id,
WTPrincipalReference principal_ref)
To be used only by wt.admin.Install Supported API: false |
private WTAclEntry |
createPolicyEntry(boolean negative,
WTPrincipalReference principal_ref,
Vector permissions)
|
void |
deleteAccessControlRule(AdminDomainRef domain_ref,
String type_id,
String state_key,
WTPrincipalReference principal_ref)
Deletes an access control rule defining the rights of a principal to access objects of a specified type and state, within a domain. |
void |
deleteAccessControlRules(AdminDomainRef domain_ref)
Deletes all access control rules within a domain. |
private void |
deletePolicyAcls(AdminDomainRef domain_ref)
|
void |
emitAccessEvent(String event_type,
Object target,
AccessPermission permission,
WTMessage message)
Emits an access control event of a given type. |
ObjectVectorIfc |
filterObjects(ObjectVectorIfc objects,
AccessPermission permission)
Given a set of objects, this method constructs and returns a new set containing only objects where the current principal is granted the permission to these objects. |
QueryResult |
filterObjects(QueryResult objects,
AccessPermission permission)
Given a set of objects (stored as a QueryResult), this method constructs and returns a new set containing only objects where the current principal is granted the permission to these objects. |
QueryResult |
filterObjects(QueryResult objects,
String permission)
Deprecated. |
EnumeratorVector[] |
getAccessControlRule(AdminDomainRef domain_ref,
String type_id,
String state_key,
WTPrincipalReference principal_ref)
Gets an access control rule defining the rights of a principal to access objects of a specified type and state, within a domain. |
AccessPolicyRule |
getAccessPolicyRule(AccessSelector selector)
Returns the access policy rule for the specified selector. |
Enumeration |
getAccessPolicyRules(AdminDomainRef domain_ref)
Returns all the access policy rules for the specified domain in the form of an enumeration. |
private static AclCache |
getAclCache()
|
private QueryResult |
getAdHocEntries(AdHocControlled obj,
WTPrincipalReference principal_ref)
|
private HashMap |
getAdHocEntries(WTCollection objects,
String owner)
|
private HashMap |
getAdHocEntries(WTCollection objects,
WTPrincipalReference principal_ref)
|
private HashMap |
getAdHocEntries(WTCollection objects,
WTPrincipalReference principal_ref,
String owner)
|
private WTAclEntry |
getAdHocEntry(AdHocControlled obj,
WTPrincipalReference principal_ref,
String owner)
|
String |
getConceptualClassname()
Deprecated. |
private WTPrincipal |
getCurrentPrincipal()
|
Enumeration |
getEntries(AccessControlList obj)
Returns an Enumeration of access control entries
for an wt.access.AccessControlLink object. |
private String |
getObjectString(Object obj)
|
private HashMap |
getPermissionMap(AdHocAclSpec specification,
Map principalMap)
|
private HashMap |
getPermissionMap(AdHocAclSpec specification,
Map principalMap,
String owner)
|
private long |
getPermissionMask(WTPrincipal principal,
AccessControlled object)
|
EnumeratorVector |
getPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
AdHocAccessKey owner_key)
Returns the permissions ( EnumeratorVector of AccessPermission ) granted to a principal for an object,
by an ad hoc access control rule with a specified owner. |
EnumeratorVector |
getPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
AdHocAccessKey owner_key,
long owner_id)
Returns the permissions ( EnumeratorVector of AccessPermission ) granted to a principal for an object,
by an ad hoc access control rule with a specified owner. |
private EnumeratorVector |
getPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
String owner)
|
PolicyAcl |
getPolicyAcl(AccessSelector selector)
Returns the policy acl for the given selector. |
private QueryResult |
getPolicyEntries(AccessPolicyRule rule,
WTPrincipalReference principal_ref)
|
private AclEntrySet |
getPolicyEntrySet(AccessControlled object)
|
private AccessSelector |
getRuleSelector(AdminDomainRef domain_ref,
String type_id,
String state_key)
|
Hashtable |
getSurrogateAttributes(Class a_targetClass)
Indicates which attributes are necessary for making the access control decision on an object of the given class. |
boolean |
hasAccess(Object object,
AccessPermission permission)
Determines whether the current principal has the given access permission over the object passed as argument. |
boolean |
hasAccess(Object object,
String permission)
Deprecated. |
boolean |
hasAccess(WTCollection objects,
AccessPermission permission)
Determines whether the current principal has the given access permission over the collection of objects passed as argument. |
boolean |
hasAccess(WTPrincipal user,
Object object,
AccessPermission permission)
Determines whether the given principal has the given access permission over the object passed as argument. |
boolean |
hasAccess(WTPrincipal user,
Object object,
String permission)
Deprecated. |
boolean |
hasAccess(WTPrincipal user,
String type_id,
AdminDomainRef domain_ref,
State state,
AccessPermission permission)
Determines whether the given principal has the given access permission over a given type in a given domain and state. |
boolean |
hasAccess(WTPrincipal user,
String type_id,
AdminDomainRef domain_ref,
State state,
String permission)
Deprecated. |
boolean |
hasAccess(WTPrincipal principal,
WTCollection objects,
AccessPermission permission)
Determines whether the given principal has the given access permission over the collection of objects passed as argument. |
private boolean |
hasAccess(WTPrincipal principal,
WTCollection objects,
AccessPermission permission,
boolean check_all)
|
private boolean |
hasSurrogateAccess(WTPrincipal user,
AccessControlSurrogate surrogate,
AccessPermission permission)
|
private void |
logNotAuthorized(AdHocControlled object,
WTPrincipal principal,
long principal_permissions,
long change_permissions)
|
private void |
logNotAuthorized(Object object,
WTPrincipal principal,
AccessPermission permission)
|
static StandardAccessControlManager |
newStandardAccessControlManager()
Default factory for the class. |
protected void |
performStartupProcess()
Dummy method to be overridden by subclasses. |
void |
reassignPermissions(AdHocControlled obj,
WTPrincipalReference old_principal_ref,
WTPrincipalReference new_principal_ref,
AdHocAccessKey owner_key)
Reassigns permissions a principal has for an object to another principal, for all ad hoc access control rules with the specified owner. |
void |
reassignPermissions(AdHocControlled obj,
WTPrincipalReference old_principal_ref,
WTPrincipalReference new_principal_ref,
AdHocAccessKey owner_key,
long owner_id)
Reassigns permissions a principal has for an object to another principal, for all ad hoc access control rules with the specified owner. |
private void |
reassignPermissions(AdHocControlled obj,
WTPrincipalReference old_principal_ref,
WTPrincipalReference new_principal_ref,
String owner)
|
AdHocControlled |
removePermission(AdHocControlled obj,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key)
Removes the specified permission from the set of permissions granted to a principal for an object. |
AdHocControlled |
removePermission(AdHocControlled obj,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key,
long owner_id)
Removes the specified permission from the set of permissions granted to a principal for an object. |
void |
removePermission(WTCollection objects,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key)
Removes the specified permission from the set of permissions granted to a principal for each of the objects in a collection. |
void |
removePermission(WTCollection objects,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key,
long owner_id)
Removes the specified permission from the set of permissions granted to a principal for each of the objects in a collection. |
AdHocControlled |
removePermissions(AdHocControlled obj,
AdHocAccessKey owner_key)
Removes all ad hoc access control rules with the specified owner. |
AdHocControlled |
removePermissions(AdHocControlled obj,
AdHocAccessKey owner_key,
long owner_id)
Removes all ad hoc access control rules with the specified owner. |
private AdHocControlled |
removePermissions(AdHocControlled obj,
String owner)
|
AdHocControlled |
removePermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
AdHocAccessKey owner_key)
Removes the specified permissions from the set of permissions granted to a principal for an object. |
AdHocControlled |
removePermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
AdHocAccessKey owner_key,
long owner_id)
Removes the specified permissions from the set of permissions granted to a principal for an object. |
private AdHocControlled |
removePermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
String owner)
|
void |
removePermissions(WTCollection objects,
WTPrincipalReference principal_ref,
Collection permissions,
AdHocAccessKey owner_key)
Removes the specified permissions from the set of permissions granted to a principal for an object. |
void |
removePermissions(WTCollection objects,
WTPrincipalReference principal_ref,
Collection permissions,
AdHocAccessKey owner_key,
long owner_id)
Removes the specified permissions from the set of permissions granted to a principal for each of the objects in a collection. |
private void |
removePermissions(WTCollection objects,
WTPrincipalReference principal_ref,
Collection permissions,
String owner)
|
private AdHocControlled |
replacePermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
String owner)
|
AdHocControlled |
setPermission(AdHocControlled obj,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key)
Adds an ad hoc access control rule granting a principal the specified permission to an object. |
AdHocControlled |
setPermission(AdHocControlled obj,
WTPrincipalReference principal_ref,
AccessPermission permission,
AdHocAccessKey owner_key,
long owner_id)
Adds an ad hoc access control rule granting a principal the specified permission to an object. |
void |
setPermissions(AdHocControlled obj,
AdHocAclSpec specification,
WTRoleHolder2 role_holder,
AdHocAccessKey owner_key)
Creates ad hoc access control rules granting principals permissions to an object, based on an ad hoc access specification ( AdHocAclSpec ). |
AdHocControlled |
setPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
AdHocAccessKey owner_key)
Deprecated. |
AdHocControlled |
setPermissions(AdHocControlled obj,
WTPrincipalReference principal_ref,
Vector permissions,
AdHocAccessKey owner_key,
long owner_id)
Adds an ad hoc access control rule granting a principal the specified permissions to an object. |
void |
setPermissions(List objects,
List specifications,
List principal_maps,
AdHocAccessKey owner_key)
Creates ad hoc access control rules granting principals permissions to objects, based on an ad hoc access specification ( AdHocAclSpec )
and a role to principal mapping. |
String |
showPermissions(AdHocControlled obj)
Returns a string representation of the ad hoc access control rules for the specified object. |
void |
updateAccessControlRule(AdminDomainRef domain_ref,
String type_id,
String state_key,
WTPrincipalReference principal_ref,
boolean grant,
Vector permissions)
Updates an access control rule defining the rights of a principal to access objects of a specified type and state, within a domain. |
void |
updateAccessControlRule(AdminDomainRef domain_ref,
String type_id,
String state_key,
WTPrincipalReference principal_ref,
Vector grant_permissions,
Vector deny_permissions)
Updates an access control rule defining the rights of a principal to access objects of a specified type and state, within a domain. |
private void |
updateAdHocAcl(AdHocControlled persisted_object)
|
private void |
updateAdHocAcl(AdHocControlled obj,
WTPrincipalReference principal_ref)
|
private void |
updateAdHocAcls(WTCollection objects,
WTPrincipalReference principal_ref)
|
private void |
updateAdHocAcls(WTSet persisted_objects)
|
private void |
updatePolicyAcl(PolicyAcl acl)
|
private void |
updatePolicyAcls(AccessSelector selector)
|
private void |
updatePolicyAcls(AdminDomainRef domain_ref)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private static AclCache aclCache
private static boolean enforce
private static final String ENTRY_KEY_SEQUENCE
private static final String POLICY_KEY
private static final String ADMIN_RESOURCE
private static final long READ_MASK
private static final int[] FROM_INDEX
private static boolean VERBOSE_POLICY
private static boolean VERBOSE_EVENT
private static boolean VERBOSE_EXECUTION
private static boolean VALIDATE_ACCESS_CHECKS
private static boolean VALIDATE_TRANSACTION
Constructor Detail |
public StandardAccessControlManager()
Method Detail |
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
getConceptualClassname
in class StandardManager
public static StandardAccessControlManager newStandardAccessControlManager() throws WTException
WTException
public boolean checkAccess(Object object, AccessPermission permission) throws WTException
AccessControlEvent.NOT_AUTHORIZED
event for auditing purposes and throws a NotAuthorizedException if
this is not the case.
checkAccess
in interface AccessControlManager
object
- permission
-
WTException
public void checkAccess(WTCollection objects, AccessPermission permission) throws WTException
AccessControlEvent.NOT_AUTHORIZED
event for auditing purposes and throws a NotAuthorizedException if
this is not the case.
checkAccess
in interface AccessControlManager
objects
- permission
-
WTException
public boolean checkAccess(Object object, String permission) throws WTException
AccessControlEvent.NOT_AUTHORIZED
event for auditing purposes and throws a NotAuthorizedException if
this is not the case.
checkAccess
in interface AccessControlManager
object
- permission
-
WTException
checkAccess(Object object, AccessPermission permission)
public void checkAccess(AdminDomainRef domain_ref, String type_id, AccessPermission permission) throws WTException
AccessControlEvent.NOT_AUTHORIZED
event for auditing
purposes and throws a NotAuthorizedException if this is not the case.
The access is evaluated only taking into account access policies.
For a specific object this is only part of the answer as the object
may be ad hoc controlled and have an ad hoc ACL that provides additional
access rights.
Supported API: false
checkAccess
in interface AccessControlManager
domain_ref
- type_id
- permission
-
WTException
public boolean hasAccess(Object object, AccessPermission permission) throws WTException
hasAccess
in interface AccessControlManager
object
- permission
-
WTException
public boolean hasAccess(WTCollection objects, AccessPermission permission) throws WTException
hasAccess
in interface AccessControlManager
objects
- permission
-
WTException
public boolean hasAccess(Object object, String permission) throws WTException
hasAccess
in interface AccessControlManager
object
- permission
-
WTException
hasAccess(Object object, AccessPermission permission)
public boolean hasAccess(WTPrincipal user, Object object, AccessPermission permission) throws WTException
hasAccess
in interface AccessControlManager
user
- object
- permission
-
WTException
public boolean hasAccess(WTPrincipal principal, WTCollection objects, AccessPermission permission) throws WTException
hasAccess
in interface AccessControlManager
principal
- objects
- permission
-
WTException
public boolean hasAccess(WTPrincipal user, Object object, String permission) throws WTException
hasAccess
in interface AccessControlManager
user
- object
- permission
-
WTException
hasAccess(WTPrincipal user, Object object, AccessPermission
permission)
public boolean hasAccess(WTPrincipal user, String type_id, AdminDomainRef domain_ref, State state, AccessPermission permission) throws WTException
hasAccess
in interface AccessControlManager
user
- type_id
- domain_ref
- state
- permission
-
WTException
public boolean hasAccess(WTPrincipal user, String type_id, AdminDomainRef domain_ref, State state, String permission) throws WTException
hasAccess
in interface AccessControlManager
user
- type_id
- domain_ref
- state
- permission
-
WTException
hasAccess(WTPrincipal user, String type_id, AdminDomainRef domain_ref,
State state, AccessPermission permission)
public ObjectVectorIfc filterObjects(ObjectVectorIfc objects, AccessPermission permission) throws WTException
This method can be used to filter
out objects for which the user has no read access after a query is
performed.
Supported API: true
filterObjects
in interface AccessControlManager
objects
- permission
-
WTException
public QueryResult filterObjects(QueryResult objects, AccessPermission permission) throws WTException
This method can be
used to filter out objects for which the user has no read access after
a database query is performed.
Supported API: true
filterObjects
in interface AccessControlManager
objects
- permission
-
WTException
public QueryResult filterObjects(QueryResult objects, String permission) throws WTException
This method can be
used to filter out objects for which the user has no read access after
a database query is performed.
Supported API: true
filterObjects
in interface AccessControlManager
objects
- permission
-
WTException
filterObjects(QueryResult objects, AccessPermission permission)
public void createAccessControlRule(AdminDomainRef domain_ref, String type_id, String state_key, WTPrincipalReference principal_ref, Vector grant_permissions, Vector deny_permissions) throws WTException
createAccessControlRule
in interface AccessControlManager
domain_ref
- reference to the domain the rule is fortype_id
- logical or persisted type identifierstate_key
- life cycle state key (State.toString()
value, or null for all states)principal_ref
- reference to a principalgrant_permissions
- Vector
of permissions (AccessPermission
) to grantdeny_permissions
- Vector
of permissions (AccessPermission
) to deny
WTException
AccessPermission
public void createAccessControlRule(AdminDomainRef domain_ref, String type_id, String state_key, WTPrincipalReference principal_ref, boolean grant, Vector permissions) throws WTException
createAccessControlRule
in interface AccessControlManager
domain_ref
- reference to the domain the rule is fortype_id
- logical or persisted type identifierstate_key
- life cycle state key (State.toString()
value, or null for all states)principal_ref
- reference to a principalgrant
- true = grant, false = denypermissions
- Vector
of permissions (AccessPermission
)
WTException
AccessPermission
public void deleteAccessControlRule(AdminDomainRef domain_ref, String type_id, String state_key, WTPrincipalReference principal_ref) throws WTException
deleteAccessControlRule
in interface AccessControlManager
domain_ref
- reference to the domain the rule is fortype_id
- logical or persisted type identifierstate_key
- life cycle state key (State.toString()
value, or null for all states)principal_ref
- reference to a principal
WTException
public void deleteAccessControlRules(AdminDomainRef domain_ref) throws WTException
This method is intended for testing purposes only, to support automated
tests that need to reinitialize the testing environment.
Supported API: false
deleteAccessControlRules
in interface AccessControlManager
domain_ref
- reference to the domain the rule is for
WTException
public EnumeratorVector[] getAccessControlRule(AdminDomainRef domain_ref, String type_id, String state_key, WTPrincipalReference principal_ref) throws WTException
EnumeratorVector
array where the first element
contains any permissions granted and the second element contains any
permissions denied to the principal.
getAccessControlRule
in interface AccessControlManager
domain_ref
- reference to the domain the rule is fortype_id
- logical or persisted type identifierstate_key
- life cycle state key (State.toString()
value, or null for all states)principal_ref
- reference to a principal
WTException
public void updateAccessControlRule(AdminDomainRef domain_ref, String type_id, String state_key, WTPrincipalReference principal_ref, Vector grant_permissions, Vector deny_permissions) throws WTException
updateAccessControlRule
in interface AccessControlManager
domain_ref
- reference to the domain the rule is fortype_id
- logical or persisted type identifierstate_key
- life cycle state key (State.toString()
value, or null for all states)principal_ref
- reference to a principalgrant_permissions
- Vector
of permissions (AccessPermission
) to grantdeny_permissions
- Vector
of permissions (AccessPermission
) to deny
WTException
AccessPermission
public void updateAccessControlRule(AdminDomainRef domain_ref, String type_id, String state_key, WTPrincipalReference principal_ref, boolean grant, Vector permissions) throws WTException
updateAccessControlRule
in interface AccessControlManager
domain_ref
- reference to the domain the rule is fortype_id
- logical or persisted type identifierstate_key
- life cycle state key (State.toString()
value, or null for all states)principal_ref
- reference to a principalgrant
- true = grant, false = denypermissions
- Vector
of permissions (AccessPermission
)
WTException
AccessPermission
public PolicyAcl getPolicyAcl(AccessSelector selector) throws WTException
getPolicyAcl
in interface AccessControlManager
selector
-
WTException
public AccessPolicyRule getAccessPolicyRule(AccessSelector selector) throws WTException
getAccessPolicyRule
in interface AccessControlManager
selector
-
WTException
public Enumeration getAccessPolicyRules(AdminDomainRef domain_ref) throws WTException
getAccessPolicyRules
in interface AccessControlManager
domain_ref
-
WTException
public Hashtable getSurrogateAttributes(Class a_targetClass) throws WTException
getSurrogateAttributes
in interface AccessControlManager
a_targetClass
-
WTException
public AdHocControlled addPermission(AdHocControlled obj, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
addPermission
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermission
- permission to be grantedowner_key
- key identifying the rule's owner
WTException
public AdHocControlled addPermission(AdHocControlled obj, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
addPermission
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermission
- permission to be grantedowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled addPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, AdHocAccessKey owner_key) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
addPermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermissions
- permissions to be granted (Vector
of AccessPermission
)owner_key
- key identifying the rule's owner
WTException
public AdHocControlled addPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
addPermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermissions
- permissions to be granted (Vector
of AccessPermission
)owner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled copyPermissions(AdHocControlled source, AdHocControlled target, AdHocAccessKey owner_key) throws WTException
Note: The source object must be persistent. If the target object
is persistent, this method must be called from within a transaction
that includes an update to the target object.
Supported API: false
copyPermissions
in interface AccessControlManager
source
- source objecttarget
- target objectowner_key
- key identifying the rule's owner
WTException
public AdHocControlled copyPermissions(AdHocControlled source, AdHocControlled target, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: The source object must be persistent. If the target object
is persistent, this method must be called from within a transaction
that includes an update to the target object.
Supported API: false
copyPermissions
in interface AccessControlManager
source
- source objecttarget
- target objectowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public EnumeratorVector getPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, AdHocAccessKey owner_key) throws WTException
EnumeratorVector
of AccessPermission
) granted to a principal for an object,
by an ad hoc access control rule with a specified owner.
getPermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal whose permissions are to be returnedowner_key
- key identifying the rule's owner
WTException
public EnumeratorVector getPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, AdHocAccessKey owner_key, long owner_id) throws WTException
EnumeratorVector
of AccessPermission
) granted to a principal for an object,
by an ad hoc access control rule with a specified owner.
getPermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal whose permissions are to be returnedowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled removePermission(AdHocControlled obj, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permission
is only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes.
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermission
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermission
- permission to be removedowner_key
- key identifying the rule's owner
WTException
public AdHocControlled removePermission(AdHocControlled obj, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key, long owner_id) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permission
is only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes.
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermission
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermission
- permission to be removedowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled removePermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, AdHocAccessKey owner_key) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permissions
are only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes.
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermissions
- permissions to be removed (Vector
of AccessPermission
)owner_key
- key identifying the rule's owner
WTException
public AdHocControlled removePermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, AdHocAccessKey owner_key, long owner_id) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permissions
are only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes.
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermissions
- permissions to be removed (Vector
of AccessPermission
)owner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled removePermissions(AdHocControlled obj, AdHocAccessKey owner_key) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermissions
in interface AccessControlManager
obj
- object the rules are forowner_key
- key identifying the rules' owner
WTException
public AdHocControlled removePermissions(AdHocControlled obj, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermissions
in interface AccessControlManager
obj
- object the rules are forowner_key
- key identifying the rules' ownerowner_id
- identifier used by the rules' owner to qualify the key
WTException
public AdHocControlled setPermission(AdHocControlled obj, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
setPermission
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermission
- permission to be grantedowner_key
- key identifying the rule's owner
WTException
public AdHocControlled setPermission(AdHocControlled obj, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
setPermission
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermission
- permission to be grantedowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled setPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, AdHocAccessKey owner_key) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
setPermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermissions
- permissions to be granted (Vector
of AccessPermission
)owner_key
- key identifying the rule's owner
WTException
setPermissions(List objects, List specifications, List principal_maps,
AdHocAccessKey owner_key)
public AdHocControlled setPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
setPermissions
in interface AccessControlManager
obj
- object the rule is forprincipal_ref
- principal the permission applies topermissions
- permissions to be granted (Vector
of AccessPermission
)owner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public String showPermissions(AdHocControlled obj) throws WTException
showPermissions
in interface AccessControlManager
obj
- object to return rules for
WTException
public Enumeration getEntries(AccessControlList obj) throws WTException
Enumeration
of access control entries
for an wt.access.AccessControlLink
object. All enabled entries
are returned.
getEntries
in interface AccessControlManager
obj
- object with a list of WTAclEntry
objects
WTException
public void emitAccessEvent(String event_type, Object target, AccessPermission permission, WTMessage message) throws WTException
emitAccessEvent
in interface AccessControlManager
event_type
- target
- permission
- message
-
WTException
public void createAllRule(AdminDomainRef domain_ref, String type_id, WTPrincipalReference principal_ref) throws WTException
createAllRule
in interface AccessControlManagerSvr
domain_ref
- type_id
- principal_ref
-
WTException
public void addPermission(WTCollection objects, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key) throws WTException
Note: If the objects in the collection are persistent, this method
must be called from within a transaction that includes an update to
the objects.
Supported API: false
addPermission
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermission
- permission to be grantedowner_key
- key identifying the rule's owner
WTException
public void addPermission(WTCollection objects, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the objects in the collection are persistent, this method
must be called from within a transaction that includes an update to
the objects.
Supported API: false
addPermission
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermission
- permission to be grantedowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public void addPermissions(WTCollection objects, WTPrincipalReference principal_ref, Collection permissions, AdHocAccessKey owner_key) throws WTException
Note: If the objects in the collection are persistent, this method
must be called from within a transaction that includes an update to
the objects.
Supported API: false
addPermissions
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermissions
- permissions to be granted (Collection
of AccessPermission
)owner_key
- key identifying the rule's owner
WTException
public void addPermissions(WTCollection objects, WTPrincipalReference principal_ref, Collection permissions, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: If the objects in the collection are persistent, this method
must be called from within a transaction that includes an update to
the objects.
Supported API: false
addPermissions
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermissions
- permissions to be granted (Collection
of AccessPermission
)owner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public AdHocControlled copyPermissions(AdHocControlled source, AdHocControlled target) throws WTException
Note: This method is to be used for duplicating permissions when
creating a new object based on another object (for example, checking
in a new iteration of a RevisionControlled
object). It
must be called from within a transaction that includes an update to
the target object.
Supported API: false
copyPermissions
in interface AccessControlManagerSvr
source
- source objecttarget
- target object
WTException
public void copyPermissions(AdHocControlled source, WTCollection targets, AdHocAccessKey owner_key) throws WTException
Note: The source object must be persistent. If the target objects
are persistent, this method must be called from within a transaction
that includes an update to the target objects.
Supported API: false
copyPermissions
in interface AccessControlManagerSvr
source
- source objecttargets
- target objectsowner_key
- key identifying the rule's owner
WTException
public void copyPermissions(AdHocControlled source, WTCollection targets, AdHocAccessKey owner_key, long owner_id) throws WTException
Note: The source object must be persistent. If the target objects
are persistent, this method must be called from within a transaction
that includes an update to the target objects.
Supported API: false
copyPermissions
in interface AccessControlManagerSvr
source
- source objecttargets
- target objectsowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public void reassignPermissions(AdHocControlled obj, WTPrincipalReference old_principal_ref, WTPrincipalReference new_principal_ref, AdHocAccessKey owner_key) throws WTException
reassignPermissions
in interface AccessControlManagerSvr
obj
- object the rules are forold_principal_ref
- principal whose permissions are to be reassignednew_principal_ref
- principal to reassign permissions toowner_key
- key identifying the rules' owner
WTException
public void reassignPermissions(AdHocControlled obj, WTPrincipalReference old_principal_ref, WTPrincipalReference new_principal_ref, AdHocAccessKey owner_key, long owner_id) throws WTException
reassignPermissions
in interface AccessControlManagerSvr
obj
- object the rules are forold_principal_ref
- principal whose permissions are to be reassignednew_principal_ref
- principal to reassign permissions toowner_key
- key identifying the rules' ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public void removePermission(WTCollection objects, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permission
is only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes to
the object.
Note: If the objects are persistent, this method must be called
from within a transaction that includes an update to the objects.
Supported API: false
removePermission
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermission
- permission to be removedowner_key
- key identifying the rule's owner
WTException
public void removePermission(WTCollection objects, WTPrincipalReference principal_ref, AccessPermission permission, AdHocAccessKey owner_key, long owner_id) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permission
is only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes to
the object.
Note: If the objects are persistent, this method must be called
from within a transaction that includes an update to the objects.
Supported API: false
removePermission
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermission
- permission to be removedowner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public void removePermissions(WTCollection objects, WTPrincipalReference principal_ref, Collection permissions, AdHocAccessKey owner_key) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permissions
are only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes.
Note: If the object is persistent, this method must be called from
within a transaction that includes an update to the object.
Supported API: false
removePermissions
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermissions
- permissions to be removed (Collection
of AccessPermission
)owner_key
- key identifying the rule's owner
WTException
public void removePermissions(WTCollection objects, WTPrincipalReference principal_ref, Collection permissions, AdHocAccessKey owner_key, long owner_id) throws WTException
AccessPermission.ALL
is specified, all permissions are removed. If no permissions remain,
the ad hoc access control rule for the principal is removed. The permissions
are only removed from a rule with the specified owner. If there is
no matching rule, this method returns without making any changes to
the object.
Note: If the objects are persistent, this method must be called
from within a transaction that includes an update to the objects.
Supported API: false
removePermissions
in interface AccessControlManagerSvr
objects
- objects the rules are forprincipal_ref
- principal the permission applies topermissions
- permissions to be removed (Collection
of AccessPermission
)owner_key
- key identifying the rule's ownerowner_id
- identifier used by the rule's owner to qualify the key
WTException
public void setPermissions(AdHocControlled obj, AdHocAclSpec specification, WTRoleHolder2 role_holder, AdHocAccessKey owner_key) throws WTException
AdHocAclSpec
).
If rules with the specified owner already exist, the new rules replace
the existing rules. Changes to the entrySet
attribute
of the object are persisted. This method bypasses access control checks.
setPermissions
in interface AccessControlManagerSvr
obj
- object the rules are forspecification
- ad hoc access specificationrole_holder
- role to principal mappingowner_key
- key identifying the rules' owner
WTException
public void setPermissions(List objects, List specifications, List principal_maps, AdHocAccessKey owner_key) throws WTException
AdHocAclSpec
)
and a role to principal mapping. If rules with the specified owner
already exist for the principals, the new rules replace the existing
rules. Changes to the entrySet
attribute of the objects
are persisted. This method bypasses access control checks.
The objects
parameter is a list where the elements are
each a WTList
of objects to be associated
with the ad hoc access specification and role to principal mapping
at the same index in the specifications
and principal_map
lists.
Supported API: false
setPermissions
in interface AccessControlManagerSvr
objects
- list of objects the rules are forspecifications
- list of ad hoc access specificationsprincipal_maps
- list of role to principal mappingsowner_key
- key identifying the rules' owner
WTException
protected void performStartupProcess() throws ManagerException
StandardManager
performStartupProcess
in class StandardManager
ManagerException
private AdHocControlled addPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, String owner) throws WTException
WTException
private void addPermissions(WTCollection objects, WTPrincipalReference principal_ref, Collection permissions, String owner) throws WTException
WTException
private void checkChangePermissions(WTCollection objects, long permission_mask) throws WTException
WTException
private AclEntrySet constructAclEntrySet(AccessSelector selector) throws WTException
WTException
private AdHocControlled copyPermissions(AdHocControlled source, AdHocControlled target, String owner) throws WTException
WTException
private void copyPermissions(AdHocControlled source, WTCollection targets, String owner) throws WTException
WTException
private WTAclEntry createPolicyEntry(boolean negative, WTPrincipalReference principal_ref, Vector permissions) throws WTException
WTException
private void deletePolicyAcls(AdminDomainRef domain_ref) throws WTException
WTException
private static AclCache getAclCache()
private QueryResult getAdHocEntries(AdHocControlled obj, WTPrincipalReference principal_ref) throws WTException
WTException
private HashMap getAdHocEntries(WTCollection objects, WTPrincipalReference principal_ref) throws WTException
WTException
private HashMap getAdHocEntries(WTCollection objects, String owner) throws WTException
WTException
private HashMap getAdHocEntries(WTCollection objects, WTPrincipalReference principal_ref, String owner) throws WTException
WTException
private WTAclEntry getAdHocEntry(AdHocControlled obj, WTPrincipalReference principal_ref, String owner) throws WTException
WTException
private WTPrincipal getCurrentPrincipal() throws WTException
WTException
private String getObjectString(Object obj)
private HashMap getPermissionMap(AdHocAclSpec specification, Map principalMap)
private HashMap getPermissionMap(AdHocAclSpec specification, Map principalMap, String owner) throws WTException
WTException
private long getPermissionMask(WTPrincipal principal, AccessControlled object) throws WTException
WTException
private EnumeratorVector getPermissions(AdHocControlled obj, WTPrincipalReference principal_ref, String owner) throws WTException
WTException
private QueryResult getPolicyEntries(AccessPolicyRule rule, WTPrincipalReference principal_ref) throws WTException
WTException
private AclEntrySet getPolicyEntrySet(AccessControlled object) throws WTException
WTException
private AccessSelector getRuleSelector(AdminDomainRef domain_ref, String type_id, String state_key) throws WTException
WTException
private boolean hasAccess(WTPrincipal principal, WTCollection objects, AccessPermission permission, boolean check_all) throws WTException
WTException
private boolean hasSurrogateAccess(WTPrincipal user, AccessControlSurrogate surrogate, AccessPermission permission) throws WTException
WTException
private void logNotAuthorized(AdHocControlled object, WTPrincipal principal, long principal_permissions, long change_permissions)
private void logNotAuthorized(Object object, WTPrincipal principal, AccessPermission permission) throws WTException
WTException
private void reassignPermissions(AdHocControlled obj, WTPrincipalReference old_principal_ref, WTPrincipalReference new_principal_ref, String owner) throws WTException
WTException
private AdHocControlled removePermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, String owner) throws WTException
WTException
private void removePermissions(WTCollection objects, WTPrincipalReference principal_ref, Collection permissions, String owner) throws WTException
WTException
private AdHocControlled removePermissions(AdHocControlled obj, String owner) throws WTException
WTException
private AdHocControlled replacePermissions(AdHocControlled obj, WTPrincipalReference principal_ref, Vector permissions, String owner) throws WTException
WTException
private void updateAdHocAcl(AdHocControlled persisted_object) throws WTException
WTException
private void updateAdHocAcls(WTSet persisted_objects) throws WTException
WTException
private void updateAdHocAcl(AdHocControlled obj, WTPrincipalReference principal_ref) throws WTException
WTException
private void updateAdHocAcls(WTCollection objects, WTPrincipalReference principal_ref) throws WTException
WTException
private void updatePolicyAcl(PolicyAcl acl) throws WTException
WTException
private void updatePolicyAcls(AccessSelector selector) throws WTException
WTException
private void updatePolicyAcls(AdminDomainRef domain_ref) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |