public interface tcAccessPolicyOperationsIntf extends tcUtilityOperationsIntf
| Modifier and Type | Interface and Description |
|---|---|
static class |
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType |
static class |
tcAccessPolicyOperationsIntf.PolicyOwnerType |
| Modifier and Type | Method and Description |
|---|---|
void |
assignGroups(long policyKey,
long[] groupKeys)
This method assigns objects to be denied to the given access policy.
|
void |
assignGroupToPolicies(long groupKey,
long[] polKeys)
This method assigns a group to multiple access policies.
|
void |
assignObjects(long policyKey,
long[] objectKeys,
java.util.Map attributeList)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
long |
createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
boolean[] revokeObjectIfNotApply,
long[] denyObjKeys,
long[] groupKeys)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy) |
long |
createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
boolean[] revokeObjectIfNotApply,
long[] denyObjKeys,
long[] groupKeys,
AccessPolicyResourceData[] resourceData)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy) |
long |
createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy) |
long |
createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys,
AccessPolicyResourceData[] resourceData)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy) |
long |
createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys,
long[] groupKeys)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy) |
long |
createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys,
long[] groupKeys,
AccessPolicyResourceData[] resourceData)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy) |
Thor.API.tcResultSet |
evaluatePolicyEffect(long userKey,
long groupKey)
Given a specific user, this method will answer the hypothetical question regarding which resources would get provisioned to that user if the user were made a member of the specified group.
|
Thor.API.tcResultSet |
findAccessPolicies(java.util.Map attributeList)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#findAccessPolicies(SearchCriteria searchCriteria, Map |
Thor.API.tcResultSet |
getAccessPolicyByResourceName(java.lang.String objName)
Returns all the access policies related to the resource object provided
|
Thor.API.tcResultSet |
getAssignableGroups()
Returns a list of groups (in the form of a tcResultSet) that can be assigned to any policy.
|
Thor.API.tcResultSet |
getAssignableObjects()
Returns a list of objects (in the form of a tcResultSet) that can be provisioned or denied by any policy.
|
Thor.API.tcResultSet |
getAssignedGroups(long policyKey)
Returns a list of groups (in the form of a tcResultSet) that are assigned to the policy.
|
Thor.API.tcResultSet |
getAssignedObjects(long policyKey)
Deprecated.
|
Thor.API.tcResultSet |
getDataSpecifiedFor(long policyKey)
Deprecated.
|
AccessPolicyResourceData |
getDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#getDefaultParentDataIDList(String peID) |
AccessPolicyResourceData[] |
getDataSpecifiedForObjects(long policyKey)
Deprecated.
|
int |
getLowestPriority()
Deprecated.
As of 12c use
AccessPolicyService.getLowestPriority() |
Thor.API.tcResultSet |
getUnassignedGroups(long policyKey)
Returns a list of groups (in the form of a tcResultSet) that can be assigned to the policy.
|
Thor.API.tcResultSet |
getUnassignedObjects(long policyKey)
Returns a list of objects (in the form of a tcResultSet) that can be provisioned or denied by the policy.
|
void |
removeDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
boolean |
removeEntitlementFromPolicy(java.lang.Long polKey,
java.lang.Long objKey,
java.lang.String formFldName,
java.lang.String formFldVal)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
void |
setDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey,
AccessPolicyResourceData resourceData)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
void |
setDataSpecifiedForObjects(long policyKey,
AccessPolicyResourceData[] resourceData)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
void |
unAssignGroups(long policyKey,
long[] groupKeys)
This method unassign the given groups from the access policy.
|
void |
unAssignObjects(long policyKey,
long[] objectKeys)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
void |
updateAccessPolicy(Thor.API.tcResultSet accessPolicyResultSet,
java.util.Map attributeList)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
void |
updateAllDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey,
AccessPolicyResourceData resourceData)
Deprecated.
As of 12c use
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy) |
close, getName, setCountry, setLanguage, setVariantThor.API.tcResultSet getUnassignedObjects(long policyKey)
throws tcPolicyNotFoundException,
tcAPIException,
tcAPIException
policyKey - the policy key for the object to be assigned.tcPolicyNotFoundException - if the policy is not found in the database.tcAPIException - if there is a problem retrieving the informationThor.API.tcResultSet getAssignableObjects()
throws tcAPIException,
tcAPIException
tcAPIException - if there is a problem retrieving the information@Deprecated
Thor.API.tcResultSet getAssignedObjects(long policyKey)
throws tcPolicyNotFoundException,
tcAPIException,
tcAPIException
AccessPolicyService.getAccessPolicy(String id, boolean populateDefaultData)policyKey - the policy key.tcPolicyNotFoundException - if the policy is not found in the database.tcAPIException - if there is a problem retrieving the informationThor.API.tcResultSet getUnassignedGroups(long policyKey)
throws tcAPIException,
tcPolicyNotFoundException,
tcAPIException
policyKey - the policy key for the groups to be assigned.tcAPIException - if there is a problem retrieving the informationtcPolicyNotFoundException - raise if the policy is not a valid policy keyThor.API.tcResultSet getAssignableGroups()
throws tcAPIException,
tcAPIException
tcAPIException - if there is a problem retrieving the informationThor.API.tcResultSet getAssignedGroups(long policyKey)
throws tcAPIException,
tcPolicyNotFoundException,
tcAPIException
policyKey - the policy key for the groups to be assigned.tcAPIException - if there is a problem retrieving the informationtcPolicyNotFoundException - raised if the policy is not found@Deprecated
long createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys,
long[] groupKeys)
throws tcObjectNotFoundException,
tcGroupNotFoundException,
tcInvalidAttributeException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy)attributeList - the access policy information to create the policy: provObjKeys - array of object keys to be assigned to be provisioningactionIfPolNotApply - same size array as provObjKeys and should contain an action value that signifies the action to be taken on the provObjKey in the same index - revoke, disabledenyObjKeys - array of object keys to be assigned to be deniedgroupKeys - array of group keys to be assignedtcObjectNotFoundException - if any object key is not valid.tcGroupNotFoundException - if any group key is not valid.tcInvalidAttributeException - raise if one of the attributes is not validtcAPIException - if there is any problem creating the access policy.@Deprecated
long createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
boolean[] revokeObjectIfNotApply,
long[] denyObjKeys,
long[] groupKeys)
throws tcObjectNotFoundException,
tcGroupNotFoundException,
tcInvalidAttributeException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy)attributeList - the access policy information to create the policy: provObjKeys - array of object keys to be assigned to be provisioningrevokeObjectIfNotApply - same size array as provObjKeys and should contain a boolean value that signifies if the provObjeKey in the same index as provObjKeys needs to be revoke when the object doesn't apply any longer.denyObjKeys - array of object keys to be assigned to be deniedgroupKeys - array of group keys to be assignedtcObjectNotFoundException - if any object key is not valid.tcGroupNotFoundException - if any group key is not valid.tcInvalidAttributeException - raise if one of the attributes is not validtcAPIException - if there is any problem creating the access policy.@Deprecated
long createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys,
long[] groupKeys,
AccessPolicyResourceData[] resourceData)
throws tcObjectNotFoundException,
tcGroupNotFoundException,
tcInvalidAttributeException,
tcObjectNotAssignedException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy)attributeList - the access policy information to create the policy: provObjKeys - array of object keys to be assigned to be provisioningactionIfPolNotApply - same size array as provObjKeys and should contain action value that signifies the action on the provObjeKey in the same index as provObjKeys when policy no longer appliesdenyObjKeys - array of object keys to be assigned to be deniedgroupKeys - array of group keys to be assignedresourceData - data for the default data for resourcestcObjectNotFoundException - if any object key is not valid.tcGroupNotFoundException - if any group key is not valid.tcInvalidAttributeException - raise if one of the attributes is not validtcAPIException - if there is any problem creating the access policy.tcObjectNotAssignedException - if the object is not yet assigned to the access policy.@Deprecated
long createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
boolean[] revokeObjectIfNotApply,
long[] denyObjKeys,
long[] groupKeys,
AccessPolicyResourceData[] resourceData)
throws tcObjectNotFoundException,
tcGroupNotFoundException,
tcInvalidAttributeException,
tcObjectNotAssignedException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy)attributeList - the access policy information to create the policy: provObjKeys - array of object keys to be assigned to be provisioningrevokeObjectIfNotApply - same size array as provObjKeys and should contain a boolean value that signifies if the provObjeKey in the same index as provObjKeys needs to be revoke when the object doesn't apply any longer.denyObjKeys - array of object keys to be assigned to be deniedgroupKeys - array of group keys to be assignedresourceData - data for the default data for resourcestcObjectNotFoundException - if any object key is not valid.tcGroupNotFoundException - if any group key is not valid.tcInvalidAttributeException - raise if one of the attributes is not validtcAPIException - if there is any problem creating the access policy.tcObjectNotAssignedException - if the object is not yet assigned to the access policy.@Deprecated
void updateAccessPolicy(Thor.API.tcResultSet accessPolicyResultSet,
java.util.Map attributeList)
throws tcPolicyNotFoundException,
tcInvalidAttributeException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)accessPolicyResultSet - A result set containing at the minimum the access policy key
and the rowver of the policy record to update.attributeList - A map of name-value pairs, each entry holding an
attribute-value pair to set/modify for this access policy. The
Attribute names are the String column codes (from the
Xellerate metadata). The Attribute Values are the String
attributes of the columns to set:
tcPolicyNotFoundException - if the policy is not in the databasetcInvalidAttributeException - raise if one of the attributes is not a valid attributetcAPIException - if there is an error retrieving information@Deprecated
void assignObjects(long policyKey,
long[] objectKeys,
java.util.Map attributeList)
throws tcPolicyNotFoundException,
tcBulkException,
tcInvalidAttributeException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)policyKey - the policy to assign the given objectsobjectKeys - the object keys to assign.attributeList - one of the following attributes for objects to assigned: tcPolicyNotFoundException - raised if the policy key is not validtcBulkException - raise if one or more objects did not get assigned.tcInvalidAttributeException - raise if one of the attributes is not a valid attributetcAPIException - raised for any problem that might be encounteredvoid assignGroups(long policyKey,
long[] groupKeys)
throws tcPolicyNotFoundException,
tcBulkException,
tcAPIException,
tcAPIException
policyKey - the policy to assign the given objectsgroupKeys - the object keys to assign.tcPolicyNotFoundException - raised if the policy key is not validtcBulkException - raise if one or more groups did not get assigned.tcAPIException - raised for any problem that might be encountered@Deprecated
void unAssignObjects(long policyKey,
long[] objectKeys)
throws tcPolicyNotFoundException,
tcAPIException,
tcBulkException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)policyKey - the access policy to unassign the object.objectKeys - the objects to unassigned.tcPolicyNotFoundException - raised if the policy is not found.tcAPIException - raised if an error is encountered.tcBulkException - raise if one or more objects did not get assigned.void unAssignGroups(long policyKey,
long[] groupKeys)
throws tcPolicyNotFoundException,
tcAPIException,
tcBulkException,
tcAPIException
policyKey - the access policy to unassign the object.groupKeys - the objects to unassigned.tcPolicyNotFoundException - raised if the policy is not found.tcAPIException - raised if an error is encountered.tcBulkException - raise if one or more groups did not get assigned.@Deprecated
Thor.API.tcResultSet findAccessPolicies(java.util.Map attributeList)
throws tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#findAccessPolicies(SearchCriteria searchCriteria, Map configParams) attributeList - any attribute used to find the access policy:
tcAPIException - raised if an error is encountered.@Deprecated AccessPolicyResourceData getDataSpecifiedForObject(long policyKey, long objectKey, long formKey) throws tcPolicyNotFoundException, tcAPIException, tcObjectNotAssignedException, tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#getDefaultParentDataIDList(String peID)policyKey - policy KeyobjectKey - object keyformKey - user defined form for which the access policy data is retrievedtcPolicyNotFoundException - If the specified policy does not existtcAPIException - If an error occurs while retrieving the datatcObjectNotAssignedException - If the specified object is not assigned to the given policy@Deprecated
void setDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey,
AccessPolicyResourceData resourceData)
throws tcPolicyNotFoundException,
tcObjectNotAssignedException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)policyKey - policy keyobjectKey - object keyformKey - user defined form on which the specified data will be setresourceData - data that will be be set on the formtcPolicyNotFoundException - If the specified policy does not existtcObjectNotAssignedException - If the specified object is not assigned to the given policytcAPIException - If an error occurs while setting the data@Deprecated
Thor.API.tcResultSet getDataSpecifiedFor(long policyKey)
throws tcPolicyNotFoundException,
tcAPIException,
tcAPIException
AccessPolicyService.getAccessPolicy(String id, boolean populateDefaultData)policyKey - policy keytcPolicyNotFoundException - If the specified policy does not existtcAPIException - If an error occurs while retieving the dataThor.API.tcResultSet evaluatePolicyEffect(long userKey,
long groupKey)
throws tcUserNotFoundException,
tcAPIException,
tcAlreadyMemberException,
tcAPIException
userKey - user KeygroupKey - group keytcUserNotFoundException - If the specified user does not existtcAPIException - If any error occurstcAlreadyMemberException - If the user already a member of the specified group@Deprecated
int getLowestPriority()
throws tcAPIException,
tcAPIException
AccessPolicyService.getLowestPriority()tcAPIException - If an error occurs while retrieving the data or if no policies are defined in the system@Deprecated AccessPolicyResourceData[] getDataSpecifiedForObjects(long policyKey) throws tcPolicyNotFoundException, tcAPIException, tcAPIException
AccessPolicyService.getAccessPolicy(String id, boolean populateDefaultData)policyKey - policy KeytcPolicyNotFoundException - If the specified policy does not existtcAPIException - If an error occurs while retrieving the data@Deprecated
void setDataSpecifiedForObjects(long policyKey,
AccessPolicyResourceData[] resourceData)
throws tcPolicyNotFoundException,
tcObjectNotAssignedException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)policyKey - policy KeyresourceData - Array containing the data that needs to be set on the formstcPolicyNotFoundException - If the specified policy does not existtcObjectNotAssignedException - If one or many of the objects is not assigned to the given policytcAPIException - If an error occurs while setting the data@Deprecated
void removeDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey)
throws tcPolicyNotFoundException,
tcAPIException,
tcObjectNotAssignedException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)policyKey - policy KeyobjectKey - object keyformKey - user defined form for which the access policy data is removedtcPolicyNotFoundException - If the specified policy does not existtcAPIException - If an error occurs while removing the datatcObjectNotAssignedException - If the specified object is not assigned to the given policy@Deprecated
void updateAllDataSpecifiedForObject(long policyKey,
long objectKey,
long formKey,
AccessPolicyResourceData resourceData)
throws tcPolicyNotFoundException,
tcObjectNotAssignedException,
tcAPIException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)policyKey - policy keyobjectKey - object keyformKey - user defined form on which the specified data will be setresourceData - data that will be be set on the formtcPolicyNotFoundException - If the specified policy does not existtcObjectNotAssignedException - If the specified object is not assigned to the given policytcAPIException - If an error occurs while setting the dataThor.API.tcResultSet getAccessPolicyByResourceName(java.lang.String objName)
throws tcAPIException,
tcObjectNotFoundException,
tcAPIException
objName - the object name to get all the access policies relatedtcAPIException - if there is a problem retrieving the informationtcObjectNotFoundException@Deprecated
boolean removeEntitlementFromPolicy(java.lang.Long polKey,
java.lang.Long objKey,
java.lang.String formFldName,
java.lang.String formFldVal)
throws tcPolicyNotFoundException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#updateAccessPolicy(final AccessPolicy policy)polKey - - Policy KeyobjKey - - resource object keyformFldName - - form field nameformFldVal - - form field valuetcPolicyNotFoundExceptiontcAPIException@Deprecated
long createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys)
throws tcObjectNotFoundException,
tcInvalidAttributeException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy)attributeList - the access policy information to create the policy: provObjKeys - array of object keys to be assigned to be provisioningactionIfPolNotApply - same size array as provObjKeys and should contain an action value that signifies the action to be taken on the provObjKey in the same index - revoke, disabledenyObjKeys - array of object keys to be assigned to be deniedtcObjectNotFoundException - if any object key is not valid.tcInvalidAttributeException - raise if one of the attributes is not validtcAPIException - if there is any problem creating the access policy.@Deprecated
long createAccessPolicy(java.util.Map attributeList,
long[] provObjKeys,
tcAccessPolicyOperationsIntf.PolicyNLAObjectActionType[] actionIfPolNotApply,
long[] denyObjKeys,
AccessPolicyResourceData[] resourceData)
throws tcObjectNotFoundException,
tcInvalidAttributeException,
tcObjectNotAssignedException,
tcAPIException
oracle.iam.accesspolicy.api.AccessPolicyService#createAccessPolicy(final AccessPolicy policy)attributeList - the access policy information to create the policy: provObjKeys - array of object keys to be assigned to be provisioningactionIfPolNotApply - same size array as provObjKeys and should contain action value that signifies the action on the provObjeKey in the same index as provObjKeys when policy no longer appliesdenyObjKeys - array of object keys to be assigned to be deniedresourceData - data for the default data for resourcestcObjectNotFoundException - if any object key is not valid.tcInvalidAttributeException - raise if one of the attributes is not validtcAPIException - if there is any problem creating the access policy.tcObjectNotAssignedException - if the object is not yet assigned to the access policy.void assignGroupToPolicies(long groupKey,
long[] polKeys)
throws tcPolicyNotFoundException,
tcGroupNotFoundException,
tcAPIException
groupKey - a group key to be associated with policiespolKeys - array of policy keystcPolicyNotFoundException - if an invalid policy key is found in the input array of policyKeystcGroupNotFoundException - if the specified group key does not existtcAPIException