|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The AMOrganizationalUnit interface provides methods to manage
organizational unit
AMOrganizationalUnit objects can be obtained by using AMStoreConnection.
A handle to this object can be obtained by using the DN of the object.
AMStoreConnection amsc = new AMStoreConnection(ssotoken);
if (amsc.doesEntryExist(oDN)) {
AMOrganizationalUnit org = amsc.getOrganizationalUnit(oDN);
}
| Fields inherited from interface com.iplanet.am.sdk.AMObject |
ACTIVE, ACTIVE_VALUE, ASSIGNABLE_DYNAMIC_GROUP, DELETED, DELETED_VALUE, DYNAMIC_GROUP, FILTERED_ROLE, GROUP, GROUP_CONTAINER, GROUP_PROFILE, INACTIVE, INACTIVE_VALUE, MANAGED_ROLE, ORGANIZATION, ORGANIZATIONAL_UNIT, PEOPLE_CONTAINER, POLICY, RESOURCE, ROLE, ROLE_PROFILE, SERVICE, STATIC_GROUP, TEMPLATE, UNDETERMINED_OBJECT_TYPE, UNKNOWN_OBJECT_TYPE, USER |
| Method Summary | |
void |
assignService(java.lang.String serviceName,
java.util.Map attrMap)
Assign service to the OrgUnit. |
java.util.Set |
createAssignableDynamicGroups(java.util.Set assignableDynamicGroups)
Creates assignable dynamic groups. |
java.util.Set |
createDynamicGroups(java.util.Map dynamicGroups)
Creates dynamic groups and initializes their attributes. |
java.util.Set |
createFilteredRoles(java.util.Map roles)
Creates filtered roles. |
java.util.Set |
createFilteredRoles(java.util.Set roles)
Creates filtered roles. |
java.util.Set |
createGroupContainers(java.util.Map groupContainers)
Creates group containers and initializes their attributes. |
java.util.Set |
createGroupContainers(java.util.Set groupContainers)
Creates group containers. |
java.util.Set |
createOrganizations(java.util.Map organizations)
Creates organizations and initializes their attributes. |
java.util.Set |
createOrganizations(java.util.Set organizations)
Creates organizations. |
java.util.Set |
createPeopleContainers(java.util.Map peopleContainers)
Creates people containers and initializes their attributes. |
java.util.Set |
createPeopleContainers(java.util.Set peopleContainers)
Creates people containers. |
java.util.Set |
createRoles(java.util.Map roles)
Creates roles. |
java.util.Set |
createRoles(java.util.Set roles)
Creates roles. |
java.util.Set |
createStaticGroups(java.util.Set groups)
Creates static groups. |
java.util.Set |
createSubOrganizationalUnits(java.util.Map subOrganizationalUnits)
Creates sub-organizational units and initializes their attributes. |
java.util.Set |
createSubOrganizationalUnits(java.util.Set subOrganizationalUnits)
Creates sub-organizational units. |
java.util.Set |
createUsers(java.util.Map users)
Creates users and initializes their attributes.For each user the, object classes specified by organization type attribute iplanet-am-required-services of the service
iPlanetAMAdminConsoleService template are added. |
java.util.Set |
createUsers(java.util.Set users)
Creates users and initializes their attributes. |
boolean |
deleteAllNamedPolicyTemplates(java.lang.String policyDN)
Deletes all the named policy templates for this OrganizationalUnit corresponding to the given policy. |
void |
deleteAssignableDynamicGroups(java.util.Set assignableDynamicGroups)
Deletes assignable dynamic groups. |
void |
deleteDynamicGroups(java.util.Set dynamicGroups)
Deletes dynamic groups. |
void |
deleteFilteredRoles(java.util.Set roles)
Deletes filtered roles. |
void |
deleteGroupContainers(java.util.Set groupContainers)
Deletes group containers. |
void |
deleteOrganizations(java.util.Set organizations)
Deletes organizations |
void |
deletePeopleContainers(java.util.Set peopleContainers)
Creates people containers and initializes their attributes. |
void |
deleteRoles(java.util.Set roles)
Deletes roles. |
void |
deleteStaticGroups(java.util.Set groups)
Deletes static groups. |
void |
deleteSubOrganizationalUnits(java.util.Set subOrganizationalUnits)
Deletes suborganizational units |
void |
deleteUsers(java.util.Set users)
Deletes users from this organizational unit. |
java.util.Set |
getAssignableDynamicGroups(int level)
Gets the assignable dynamic groups within the specified level. |
java.util.Set |
getAssignedPolicyDNs()
Gets all the assigned policies for this OrganizationalUnit |
java.util.Set |
getDynamicGroups(int level)
Gets the dynamic groups within the specified level. |
java.util.Set |
getFilteredRoles(int level)
Gets the filtered roles within the specified level. |
java.util.Set |
getGroupContainers(int level)
Gets the group containers within the specified level. |
long |
getNumberOfAssignableDynamicGroups(int level)
Gets number of assignable dynamic groups within the specified level. |
long |
getNumberOfDynamicGroups(int level)
Gets number of dynamic groups within the specified level. |
long |
getNumberOfFilteredRoles(int level)
Gets number of filtered roles within the specified level. |
long |
getNumberOfGroupContainers(int level)
Gets number of group containers within the specified level. |
long |
getNumberOfOrganizations(int level)
Gets number of organizations within the specified level. |
long |
getNumberOfPeopleContainers(int level)
Gets number of people containers within the specified level. |
long |
getNumberOfRoles(int level)
Gets number of roles within the specified level. |
long |
getNumberOfServices()
Gets the number of services. |
long |
getNumberOfStaticGroups(int level)
Gets number of static groups within the specified level. |
long |
getNumberOfSubOrganizationalUnits(int level)
Gets number of suborganizational units within the specified level. |
long |
getNumberOfUsers(int level)
Gets number of users within the specified level. |
AMOrganization |
getOrganization(java.lang.String dn)
Gets the organization by DN |
java.util.Set |
getOrganizations(int level)
Gets the organizations within the specified level. |
java.util.Set |
getPeopleContainers(int level)
Gets the people containers within the specified level. |
java.util.Set |
getRegisteredServiceNames()
Gets the names of registered services. |
java.util.Set |
getRoles(int level)
Gets the roles within the specified level. |
java.util.Set |
getStaticGroups(int level)
Gets the static groups within the specified level. |
AMOrganizationalUnit |
getSubOrganizationalUnit(java.lang.String dn)
Gets the sub-organizational unit by DN |
java.util.Set |
getSubOrganizationalUnits(int level)
Gets the suborganizational units within the specified level. |
java.util.Set |
getUserDNs()
Gets the names (DNs) of users in the organizational unit. |
boolean |
isPolicyAssigned(java.lang.String policyDN,
java.lang.String serviceName)
Checks if a policyDN is assigned to this org-unit or a role. |
void |
modifyAllPolicyTemplates(java.lang.String serviceName,
java.util.Set policyDNs)
Modifies all the templates under this organizational unit that contain any policyDN in given policyDNs. |
boolean |
orgTemplateExists(java.lang.String serviceName)
Checks if an org template exists for the service. |
void |
registerService(java.lang.String serviceName,
boolean createTemplate,
boolean activate)
Register a service for this organizational unit. |
AMSearchResults |
searchAllRoles(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for all roles in this organizational unit using wildcards. |
java.util.Set |
searchAllRoles(java.lang.String wildcard,
int level)
Searches for all roles in this organizational unit using wildcards. |
AMSearchResults |
searchAllRoles(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for all roles in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchAllRoles(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for all roles in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchAssignableDynamicGroups(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for assignable dynamic groups in this organizational unit using wildcards. |
java.util.Set |
searchAssignableDynamicGroups(java.lang.String wildcard,
int level)
Searches for assignable dynamic groups in this organizational unit using wildcards. |
AMSearchResults |
searchAssignableDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for assignable dynamic groups in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchAssignableDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for assignable dynamic groups in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchDynamicGroups(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for dynamic groups in this organization unit using wildcards. |
java.util.Set |
searchDynamicGroups(java.lang.String wildcard,
int level)
Searches for dynamic groups in this organization unit using wildcards. |
AMSearchResults |
searchDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for dynamic groups in this organization unit using wildcards and attribute values. |
java.util.Set |
searchDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for dynamic groups in this organization unit using wildcards and attribute values. |
AMSearchResults |
searchFilteredRoles(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for filtered roles in this organization using wildcards. |
java.util.Set |
searchFilteredRoles(java.lang.String wildcard,
int level)
Searches for filtered roles in this organization using wildcards. |
AMSearchResults |
searchFilteredRoles(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for filtered roles in this organization using wildcards and attribute values. |
java.util.Set |
searchFilteredRoles(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for filtered roles in this organization using wildcards and attribute values. |
AMSearchResults |
searchGroupContainers(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for group containers in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchGroupContainers(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for group containers in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for groups in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for groups in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchOrganizations(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for organizations in this organizational unit using wildcards. |
java.util.Set |
searchOrganizations(java.lang.String wildcard,
int level)
Searches for organizations in this organizational unit using wildcards. |
AMSearchResults |
searchOrganizations(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for organizations in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchOrganizations(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for organizations in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchPeopleContainers(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for people containers in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchPeopleContainers(java.lang.String wildcard,
int level)
Searches for people containers in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchPeopleContainers(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for people containers in this organizational unit using wildcards * and * attribute values. |
java.util.Set |
searchPeopleContainers(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for people containers in this organizational unit using wildcards * and * attribute values. |
AMSearchResults |
searchRoles(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for roles in this organizational unit using wildcards. |
java.util.Set |
searchRoles(java.lang.String wildcard,
int level)
Searches for roles in this organizational unit using wildcards. |
AMSearchResults |
searchRoles(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for roles in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchRoles(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for roles in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchStaticGroups(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for static groups in this organizational unit using wildcards. |
java.util.Set |
searchStaticGroups(java.lang.String wildcard,
int level)
Searches for static groups in this organizational unit using wildcards. |
AMSearchResults |
searchStaticGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for static groups in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchStaticGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for static groups in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchSubOrganizationalUnits(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for sub organizational units in this organizational unit using wildcards. |
java.util.Set |
searchSubOrganizationalUnits(java.lang.String wildcard,
int level)
Searches for sub organizational units in this organizational unit using wildcards. |
AMSearchResults |
searchSubOrganizationalUnits(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for sub organizational units in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchSubOrganizationalUnits(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for sub organizational units in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchUsers(AMSearchControl searchControl,
java.lang.String avfilter)
Searches for users in this organization attribute values. |
AMSearchResults |
searchUsers(java.lang.String wildcard,
AMSearchControl searchControl)
Searches for users in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchUsers(java.lang.String wildcard,
AMSearchControl searchControl,
java.lang.String avfilter)
Searches for users in this organizational unit using wildcards and filter. |
java.util.Set |
searchUsers(java.lang.String wildcard,
int level)
Searches for users in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchUsers(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
Searches for users in this organizational unit using wildcards and attribute values. |
java.util.Set |
searchUsers(java.lang.String wildcard,
java.util.Map avPairs,
int level)
Searches for users in this organizational unit using wildcards and attribute values. |
void |
unassignAllPolicies(java.lang.String serviceName,
java.util.Set policyDNs)
Unassigns the given policies from this organizational unit and its roles. |
void |
unassignServices(java.util.Set serviceNames)
Unassigns services from the OrgUnit. |
void |
unregisterService(java.lang.String serviceName)
Unregister a service for this organizational unit. |
| Method Detail |
public java.util.Set createOrganizations(java.util.Set organizations)
throws AMException,
SSOException
organizations - The set of organizations names to be created.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createOrganizations(java.util.Map organizations)
throws AMException,
SSOException
organizations - Map where the key is the name of the
organization, and the value is a Map to
represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteOrganizations(java.util.Set organizations)
throws AMException,
SSOException
organizations - The set of organizations DNs to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMOrganization getOrganization(java.lang.String dn)
throws AMException,
SSOException
dn - DN
public java.util.Set getOrganizations(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfOrganizations(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchOrganizations(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchOrganizations(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchOrganizations(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching
organizationslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchOrganizations(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching
organizationssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createSubOrganizationalUnits(java.util.Set subOrganizationalUnits)
throws AMException,
SSOException
subOrganizationalUnits - The set of sub-organizational units names
to be created.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createSubOrganizationalUnits(java.util.Map subOrganizationalUnits)
throws AMException,
SSOException
subOrganizationalUnits - Map where the key is the name of the
suborganizational unit, and the value is
a Map to represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteSubOrganizationalUnits(java.util.Set subOrganizationalUnits)
throws AMException,
SSOException
subOrganizationalUnits - The set of suborganizational units DNs
to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMOrganizationalUnit getSubOrganizationalUnit(java.lang.String dn)
throws AMException,
SSOException
dn - DN
public java.util.Set getSubOrganizationalUnits(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfSubOrganizationalUnits(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchSubOrganizationalUnits(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchSubOrganizationalUnits(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchSubOrganizationalUnits(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching sub
organizational unitslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchSubOrganizationalUnits(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching sub
organizational unitssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createRoles(java.util.Set roles)
throws AMException,
SSOException
roles - The set of Roles' names to be created.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createRoles(java.util.Map roles)
throws AMException,
SSOException
roles - Map where the key is the name of the role, and the value
is a Map to represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteRoles(java.util.Set roles)
throws AMException,
SSOException
roles - The set of roles' DNs to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchRoles(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SUB_TREE)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchRoles(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchRoles(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching roleslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchRoles(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching rolessearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createFilteredRoles(java.util.Set roles)
throws AMException,
SSOException
roles - The set of filtered roles' names to be created.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createFilteredRoles(java.util.Map roles)
throws AMException,
SSOException
roles - Map where the key is the name of the filtered role,
and the value is a Map to represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteFilteredRoles(java.util.Set roles)
throws AMException,
SSOException
roles - The set of filtered roles' DNs to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getFilteredRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organization.
public long getNumberOfFilteredRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organization.
public java.util.Set searchFilteredRoles(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchFilteredRoles(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchFilteredRoles(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching filtered
roleslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchFilteredRoles(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching filtered
rolessearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchAllRoles(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchAllRoles(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchAllRoles(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching all roleslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchAllRoles(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching all rolessearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createAssignableDynamicGroups(java.util.Set assignableDynamicGroups)
throws AMException,
SSOException
assignableDynamicGroups - The set of assignable dynamic groups's
names to be created.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteAssignableDynamicGroups(java.util.Set assignableDynamicGroups)
throws AMException,
SSOException
assignableDynamicGroups - The set of assignable dynamic groups's
DNs to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getAssignableDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfAssignableDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchAssignableDynamicGroups(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchAssignableDynamicGroups(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchAssignableDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching assignable
dynamic groupslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchAssignableDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching assignable
dynamic groupssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createDynamicGroups(java.util.Map dynamicGroups)
throws AMException,
SSOException
dynamicGroups - Map where the key is the name of the dynamic group,
and the value is a Map to represent Attribute-Value
PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteDynamicGroups(java.util.Set dynamicGroups)
throws AMException,
SSOException
dynamicGroups - The set of dynamic groups's DNs to be deleted.AMException - if there is an internal error in the AM StoreSSOException - if the sign on is no longer valid
public java.util.Set getDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organization unit.
public long getNumberOfDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organization unit.
public java.util.Set searchDynamicGroups(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstansts.SCOPE_SUB)AMException - if there is an internal error in the AM StoreSSOException - if the sign on is no longer valid
public AMSearchResults searchDynamicGroups(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching dynamic
groupslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchDynamicGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching dynamic
groupssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createStaticGroups(java.util.Set groups)
throws AMException,
SSOException
groups - The set of static groups's names to be created.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteStaticGroups(java.util.Set groups)
throws AMException,
SSOException
groups - The set of static groups's DNs to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getStaticGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfStaticGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchStaticGroups(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchStaticGroups(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchStaticGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching static
groupslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchStaticGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching static
groupssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchGroups(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching groupslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchGroups(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching groupssearchControl - specifies the search scope to be usedAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createPeopleContainers(java.util.Set peopleContainers)
throws AMException,
SSOException
peopleContainers - The set of people containers' names to be createdAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createPeopleContainers(java.util.Map peopleContainers)
throws AMException,
SSOException
peopleContainers - Map where the key is the name of the
peopleContainer, and the value is a Map to
represent Attribute-Value PairsAMException - if there is an internal error in the AM StoreSSOException - if the sign on is no longer valid
public void deletePeopleContainers(java.util.Set peopleContainers)
throws AMException,
SSOException
peopleContainers - Map where the key is the name of the
peopleContainer, and the value is a Map to
represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getPeopleContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfPeopleContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchPeopleContainers(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchPeopleContainers(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchPeopleContainers(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching people
containerslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchPeopleContainers(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching people
containerssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createGroupContainers(java.util.Set groupContainers)
throws AMException,
SSOException
groupContainers - The set of group containers' names to be createdAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set createGroupContainers(java.util.Map groupContainers)
throws AMException,
SSOException
groupContainers - Map where the key is the name of the
groupContainer, and the value is a Map to
represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteGroupContainers(java.util.Set groupContainers)
throws AMException,
SSOException
groupContainers - The set of group containers' DN to be deleted.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getGroupContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public long getNumberOfGroupContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchGroupContainers(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching group
containerslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchGroupContainers(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching group
containerssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if there is an internal error in the AM StoreSSOException - if the sign on is no longer valid
public java.util.Set createUsers(java.util.Set users)
throws AMException,
SSOException
iplanet-am-required-services of the service
iPlanetAMAdminConsoleService template are added. If a
corresponding template does not exist, the default values are picked up
from schema.users - Map where the key is the name of the user, and the value is
a Map to represent Attribute-Value PairsAMException - if there is an internal error in the AM StoreSSOException - if the sign on is no longer valid
public java.util.Set createUsers(java.util.Map users)
throws AMException,
SSOException
iplanet-am-required-services of the service
iPlanetAMAdminConsoleService template are added. If a
corresponding template does not exist, the default values are picked up
from schema.users - Map where the key is the name of the user, and the value is
a Map to represent Attribute-Value PairsAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public void deleteUsers(java.util.Set users)
throws AMException,
SSOException
users - The set of user DN's to be deleted from the organizational
unit.AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set getUserDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public long getNumberOfUsers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
public java.util.Set searchUsers(java.lang.String wildcard,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchUsers(java.lang.String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public java.util.Set searchUsers(java.lang.String wildcard,
java.util.Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching userslevel - the search level that needs to be used
(AMConstants.SCOPE_ONE or AMConstants.SCOPE_SUB)AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchUsers(java.lang.String wildcard,
java.util.Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching userssearchControl - specifies the search scope to be used, VLV
ranges etc.,AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchUsers(java.lang.String wildcard,
AMSearchControl searchControl,
java.lang.String avfilter)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchsearchControl - specifies the search scope to be used, VLV
ranges etc.,avfilter - this attribute-value pairs filter will be & with user
search filterAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
public AMSearchResults searchUsers(AMSearchControl searchControl,
java.lang.String avfilter)
throws AMException,
SSOException
searchControl - specifies the search scope to be used, VLV
ranges etc.,avfilter - this attribute-value pairs filter will be & with user
search filterAMException - if there is an internal error in the AM StoreSSOException - if the sign on is no longer valid
public long getNumberOfServices()
throws AMException,
SSOException
public java.util.Set getRegisteredServiceNames()
throws AMException,
SSOException
public void registerService(java.lang.String serviceName,
boolean createTemplate,
boolean activate)
throws AMException,
SSOException
serviceName - The name of service to be registeredcreateTemplate - true if to create default templateactivate - true if to activate the serviceAMException - if the service does not exist or could not be
registered.SSOException - if the sign on is no longer valid.
public void unregisterService(java.lang.String serviceName)
throws AMException,
SSOException
String - serviceName to be unregisteredAMException - if the service does not exist or could not be
unregistered.SSOException - if the sign on is no longer valid.
public void unassignAllPolicies(java.lang.String serviceName,
java.util.Set policyDNs)
throws AMException,
SSOException
serviceName - serviceNamepolicyDNs - Set of policy DN stringAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign-on is no longer valid.
public void modifyAllPolicyTemplates(java.lang.String serviceName,
java.util.Set policyDNs)
throws AMException,
SSOException
serviceName - serviceNamepolicyDNs - Set of policy DN stringAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign-on is no longer valid.
public boolean deleteAllNamedPolicyTemplates(java.lang.String policyDN)
throws AMException,
SSOException
policyDN - a policy DN stringAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign-on is no longer valid.
public java.util.Set getAssignedPolicyDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign-on is no longer valid.
public boolean isPolicyAssigned(java.lang.String policyDN,
java.lang.String serviceName)
throws AMException,
SSOException
policyDN - a policy DN stringserviceName - service name
public boolean orgTemplateExists(java.lang.String serviceName)
throws AMException,
SSOException
serviceName - service name
public void assignService(java.lang.String serviceName,
java.util.Map attrMap)
throws AMException,
SSOException
serviceNames - and attr Map of Service name with Map of Attribute-Value pairs.Name of service
to be assigned to user.attrMap - Map of attribute name and values (as a Set) to be setAMException - if an error is encounters when trying to access/retrieve data from
the datastoreSSOException - if the token is no longer valid
public void unassignServices(java.util.Set serviceNames)
throws AMException,
SSOException
unassignServices in interface AMObjectserviceNames - Set of service namesAMException - if an error is encountered when trying to
access/retrieve data from the data storeSSOException - if the sign on is no longer valid
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||