|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AMOrganizationalUnit
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); }
| Field Summary |
|---|
| 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(String serviceName,
Map attrMap)
Deprecated. Assign service to the organizational unit. |
Set |
createAssignableDynamicGroups(Set assignableDynamicGroups)
Deprecated. Creates assignable dynamic groups. |
Set |
createDynamicGroups(Map dynamicGroups)
Deprecated. Creates dynamic groups and initializes their attributes. |
Set |
createEntities(String stype,
Map entities)
Deprecated. Creates entities and initializes their attributes. |
Set |
createEntities(String type,
Set entities)
Deprecated. Create managed entities in this container. |
Set |
createFilteredRoles(Map roles)
Deprecated. Creates filtered roles. |
Set |
createFilteredRoles(Set roles)
Deprecated. Creates filtered roles. |
Set |
createGroupContainers(Map groupContainers)
Deprecated. Creates group containers and initializes their attributes. |
Set |
createGroupContainers(Set groupContainers)
Deprecated. Creates group containers. |
Set |
createOrganizations(Map organizations)
Deprecated. Creates organizations and initializes their attributes. |
Set |
createOrganizations(Set organizations)
Deprecated. Creates organizations. |
Set |
createPeopleContainers(Map peopleContainers)
Deprecated. Creates people containers and initializes their attributes. |
Set |
createPeopleContainers(Set peopleContainers)
Deprecated. Creates people containers. |
Set |
createRoles(Map roles)
Deprecated. Creates roles. |
Set |
createRoles(Set roles)
Deprecated. Creates roles. |
Set |
createStaticGroups(Set groups)
Deprecated. Creates static groups. |
Set |
createSubOrganizationalUnits(Map subOrganizationalUnits)
Deprecated. Creates sub-organizational units and initializes their attributes. |
Set |
createSubOrganizationalUnits(Set subOrganizationalUnits)
Deprecated. Creates sub-organizational units. |
Set |
createUsers(Map users)
Deprecated. 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. |
Set |
createUsers(Set users)
Deprecated. Creates users and initializes their attributes. |
boolean |
deleteAllNamedPolicyTemplates(String policyDN)
Deprecated. Deletes all the named policy templates for this Organizational Unit corresponding to the given policy. |
void |
deleteAssignableDynamicGroups(Set assignableDynamicGroups)
Deprecated. Deletes assignable dynamic groups. |
void |
deleteDynamicGroups(Set dynamicGroups)
Deprecated. Deletes dynamic groups. |
void |
deleteEntities(Set resources)
Deprecated. Deletes a set of resources in this people container. |
void |
deleteFilteredRoles(Set roles)
Deprecated. Deletes filtered roles. |
void |
deleteGroupContainers(Set groupContainers)
Deprecated. Deletes group containers. |
void |
deleteOrganizations(Set organizations)
Deprecated. Deletes organizations |
void |
deletePeopleContainers(Set peopleContainers)
Deprecated. Creates people containers and initializes their attributes. |
void |
deleteRoles(Set roles)
Deprecated. Deletes roles. |
void |
deleteStaticGroups(Set groups)
Deprecated. Deletes static groups. |
void |
deleteSubOrganizationalUnits(Set subOrganizationalUnits)
Deprecated. Deletes sub organizational units |
void |
deleteUsers(Set users)
Deprecated. Deletes users from this organizational unit. |
Set |
getAssignableDynamicGroups(int level)
Deprecated. Returns the assignable dynamic groups within the specified level. |
Set |
getAssignedPolicyDNs()
Deprecated. Returns all the assigned policies for this organizational unit. |
Set |
getDynamicGroups(int level)
Deprecated. Gets the dynamic groups within the specified level. |
Set |
getFilteredRoles(int level)
Deprecated. Gets the filtered roles within the specified level. |
Set |
getGroupContainers(int level)
Deprecated. Gets the group containers within the specified level. |
long |
getNumberOfAssignableDynamicGroups(int level)
Deprecated. Gets number of assignable dynamic groups within the specified level. |
long |
getNumberOfDynamicGroups(int level)
Deprecated. Gets number of dynamic groups within the specified level. |
long |
getNumberOfFilteredRoles(int level)
Deprecated. Gets number of filtered roles within the specified level. |
long |
getNumberOfGroupContainers(int level)
Deprecated. Gets number of group containers within the specified level. |
long |
getNumberOfOrganizations(int level)
Deprecated. Gets number of organizations within the specified level. |
long |
getNumberOfPeopleContainers(int level)
Deprecated. Gets number of people containers within the specified level. |
long |
getNumberOfRoles(int level)
Deprecated. Gets number of roles within the specified level. |
long |
getNumberOfServices()
Deprecated. Returns the number of services. |
long |
getNumberOfStaticGroups(int level)
Deprecated. Gets number of static groups within the specified level. |
long |
getNumberOfSubOrganizationalUnits(int level)
Deprecated. Gets number of sub organizational units within the specified level. |
long |
getNumberOfUsers(int level)
Deprecated. Gets number of users within the specified level. |
AMOrganization |
getOrganization(String dn)
Deprecated. Gets the organization by DN |
Set |
getOrganizations(int level)
Deprecated. Gets the organizations within the specified level. |
Set |
getPeopleContainers(int level)
Deprecated. Gets the people containers within the specified level. |
Set |
getRegisteredServiceNames()
Deprecated. Gets the names of registered services. |
Set |
getRoles(int level)
Deprecated. Gets the roles within the specified level. |
Set |
getStaticGroups(int level)
Deprecated. Gets the static groups within the specified level. |
AMOrganizationalUnit |
getSubOrganizationalUnit(String dn)
Deprecated. Gets the sub-organizational unit by DN |
Set |
getSubOrganizationalUnits(int level)
Deprecated. Gets the sub organizational units within the specified level. |
Set |
getSupportedTypes()
Deprecated. Returns a set of the supported entity names in this container. |
Set |
getUserDNs()
Deprecated. Gets the names (DNs) of users in the organizational unit. |
boolean |
isPolicyAssigned(String policyDN,
String serviceName)
Deprecated. Returns true if a policyDN is assigned to this
organizational unit or a role. |
void |
modifyAllPolicyTemplates(String serviceName,
Set policyDNs)
Deprecated. Modifies all the templates under this organizational unit that contain any policyDN in given policyDNs. |
boolean |
orgTemplateExists(String serviceName)
Deprecated. Returns true if an organizational template exists for the service. |
void |
registerService(String serviceName,
boolean createTemplate,
boolean activate)
Deprecated. Register a service for this organizational unit. |
AMSearchResults |
searchAllRoles(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for all roles in this organizational unit using wildcards. |
Set |
searchAllRoles(String wildcard,
int level)
Deprecated. Searches for all roles in this organizational unit using wildcards. |
AMSearchResults |
searchAllRoles(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for all roles in this organizational unit using wildcards and attribute values. |
Set |
searchAllRoles(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for all roles in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchAssignableDynamicGroups(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for assignable dynamic groups in this organizational unit using wildcards. |
Set |
searchAssignableDynamicGroups(String wildcard,
int level)
Deprecated. Searches for assignable dynamic groups in this organizational unit using wildcards. |
AMSearchResults |
searchAssignableDynamicGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for assignable dynamic groups in this organizational unit using wildcards and attribute values. |
Set |
searchAssignableDynamicGroups(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for assignable dynamic groups in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchDynamicGroups(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for dynamic groups in this organization unit using wildcards. |
Set |
searchDynamicGroups(String wildcard,
int level)
Deprecated. Searches for dynamic groups in this organization unit using wildcards. |
AMSearchResults |
searchDynamicGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for dynamic groups in this organization unit using wildcards and attribute values. |
Set |
searchDynamicGroups(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for dynamic groups in this organization unit using wildcards and attribute values. |
AMSearchResults |
searchEntities(String wildcard,
AMSearchControl searchControl,
String avfilter,
String eSearchTemplate)
Deprecated. Searches for entities in this container using wildcards and a filter. |
Set |
searchEntities(String wildcard,
int level,
String eSearchTemplate,
Map avPairs)
Deprecated. Searches for resources in this organization using wildcards and attribute values. |
AMSearchResults |
searchEntities(String wildcard,
Map avPairs,
String eSearchTemplate,
AMSearchControl searchControl)
Deprecated. Searches for resources in this people container using wildcards and attribute values. |
AMSearchResults |
searchFilteredRoles(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for filtered roles in this organization using wildcards. |
Set |
searchFilteredRoles(String wildcard,
int level)
Deprecated. Searches for filtered roles in this organization using wildcards. |
AMSearchResults |
searchFilteredRoles(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for filtered roles in this organization using wildcards and attribute values. |
Set |
searchFilteredRoles(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for filtered roles in this organization using wildcards and attribute values. |
AMSearchResults |
searchGroupContainers(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for group containers in this organizational unit using wildcards and attribute values. |
Set |
searchGroupContainers(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for group containers in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for groups in this organizational unit using wildcards and attribute values. |
Set |
searchGroups(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for groups in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchOrganizations(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for organizations in this organizational unit using wildcards. |
Set |
searchOrganizations(String wildcard,
int level)
Deprecated. Searches for organizations in this organizational unit using wildcards. |
AMSearchResults |
searchOrganizations(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for organizations in this organizational unit using wildcards and attribute values. |
Set |
searchOrganizations(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for organizations in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchPeopleContainers(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for people containers in this organizational unit using wildcards and attribute values. |
Set |
searchPeopleContainers(String wildcard,
int level)
Deprecated. Searches for people containers in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchPeopleContainers(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for people containers in this organizational unit using wildcards * and * attribute values. |
Set |
searchPeopleContainers(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for people containers in this organizational unit using wildcards * and * attribute values. |
AMSearchResults |
searchRoles(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for roles in this organizational unit using wildcards. |
Set |
searchRoles(String wildcard,
int level)
Deprecated. Searches for roles in this organizational unit using wildcards. |
AMSearchResults |
searchRoles(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for roles in this organizational unit using wildcards and attribute values. |
Set |
searchRoles(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for roles in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchStaticGroups(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for static groups in this organizational unit using wildcards. |
Set |
searchStaticGroups(String wildcard,
int level)
Deprecated. Searches for static groups in this organizational unit using wildcards. |
AMSearchResults |
searchStaticGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for static groups in this organizational unit using wildcards and attribute values. |
Set |
searchStaticGroups(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for static groups in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchSubOrganizationalUnits(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for sub organizational units in this organizational unit using wildcards. |
Set |
searchSubOrganizationalUnits(String wildcard,
int level)
Deprecated. Searches for sub organizational units in this organizational unit using wildcards. |
AMSearchResults |
searchSubOrganizationalUnits(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for sub organizational units in this organizational unit using wildcards and attribute values. |
Set |
searchSubOrganizationalUnits(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for sub organizational units in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchUsers(AMSearchControl searchControl,
String avfilter)
Deprecated. Searches for users in this organization attribute values. |
AMSearchResults |
searchUsers(String wildcard,
AMSearchControl searchControl)
Deprecated. Searches for users in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchUsers(String wildcard,
AMSearchControl searchControl,
String avfilter)
Deprecated. Searches for users in this organizational unit using wildcards and filter. |
Set |
searchUsers(String wildcard,
int level)
Deprecated. Searches for users in this organizational unit using wildcards and attribute values. |
AMSearchResults |
searchUsers(String wildcard,
Map avPairs,
AMSearchControl searchControl)
Deprecated. Searches for users in this organizational unit using wildcards and attribute values. |
Set |
searchUsers(String wildcard,
Map avPairs,
int level)
Deprecated. Searches for users in this organizational unit using wildcards and attribute values. |
void |
setSupportedTypes(Set sTypes)
Deprecated. Sets the list of supported types for this container. |
void |
unassignAllPolicies(String serviceName,
Set policyDNs)
Deprecated. Unassigns the given policies from this organizational unit and its roles. |
void |
unassignServices(Set serviceNames)
Deprecated. Unassigns services from the organizational unit. |
void |
unregisterService(String serviceName)
Deprecated. Unregister a service for this organizational unit. |
| Method Detail |
|---|
Set createOrganizations(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 store
SSOException - if the single sign on token is no longer valid
Set createOrganizations(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 Pairs
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void deleteOrganizations(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 store.
SSOException - if the single sign on token is no longer valid.
AMOrganization getOrganization(String dn)
throws AMException,
SSOException
dn - DN
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set getOrganizations(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
long getNumberOfOrganizations(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchOrganizations(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchOrganizations(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.
AMSearchResults which contains a Set of DNs of
organizations matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set searchOrganizations(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchOrganizations(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching organizations.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
organizations matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createSubOrganizationalUnits(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 store
SSOException - if the single sign on token is no longer valid
Set createSubOrganizationalUnits(Map subOrganizationalUnits)
throws AMException,
SSOException
subOrganizationalUnits - Map where the key is the name of the sub organizational unit,
and the value is a Map to represent Attribute-Value Pairs.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void deleteSubOrganizationalUnits(Set subOrganizationalUnits)
throws AMException,
SSOException
subOrganizationalUnits - The set of sub organizational units DNs to be deleted.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
AMOrganizationalUnit getSubOrganizationalUnit(String dn)
throws AMException,
SSOException
dn - distinguished name.
OrganizationalUnit object.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set getSubOrganizationalUnits(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfSubOrganizationalUnits(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchSubOrganizationalUnits(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchSubOrganizationalUnits(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of sub
organizational units matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchSubOrganizationalUnits(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchSubOrganizationalUnits(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching sub
organizational units.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of sub
organizational units matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set createRoles(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 store
SSOException - if the single sign on token is no longer valid
Set createRoles(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 Pairs
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void deleteRoles(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 store
SSOException - if the single sign on token is no longer valid
Set getRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchRoles(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchRoles(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
roles matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchRoles(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchRoles(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching rolessearchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
roles matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createFilteredRoles(Set roles)
throws AMException,
SSOException
roles - The set of filtered roles' names to be created.
FilteredRole objects created.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set createFilteredRoles(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 Pairs
FilteredRole objects created.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void deleteFilteredRoles(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 store
SSOException - if the single sign on token is no longer valid
Set getFilteredRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organization.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfFilteredRoles(int level)
throws AMException,
SSOException
level - The search level starting from the organization.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchFilteredRoles(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchFilteredRoles(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.
AMSearchResults which contains a Set of DNs of
filtered roles matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchFilteredRoles(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchFilteredRoles(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching filtered roles.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
filtered roles matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchAllRoles(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchAllRoles(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of all
roles matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchAllRoles(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchAllRoles(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching all rolessearchControl - specifies the search scope to be used, VLV ranges etc.,
AMSearchResults which contains a Set of DNs of all
roles matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createAssignableDynamicGroups(Set assignableDynamicGroups)
throws AMException,
SSOException
assignableDynamicGroups - The set of assignable dynamic groups's names to be created.
AssignableDynamicGroup objects created.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void deleteAssignableDynamicGroups(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 store
SSOException - if the single sign on token is no longer valid
Set getAssignableDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AssignableDynamicGroups within
the specified level.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfAssignableDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchAssignableDynamicGroups(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchAssignableDynamicGroups(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults Set of DNs of assignable dynamic
groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchAssignableDynamicGroups(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchAssignableDynamicGroups(String wildcard,
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.
AMSearchResults which contains a Set of DNs of
assignable dynamic groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set createDynamicGroups(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 Pairs.
AMDynamicGroup objects created
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void deleteDynamicGroups(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 access management data
store.
SSOException - if the single sign on token is no longer valid
Set getDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organization unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfDynamicGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organization unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchDynamicGroups(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 there is an internal error in the access management data
store
SSOException - if the single sign on token is no longer valid.
AMSearchResults searchDynamicGroups(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.
AMSearchResults which contains a Set of DNs of
dynamic groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set searchDynamicGroups(String wildcard,
Map avPairs,
int level)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching dynamic groups.level - 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 store.
SSOException - if the single sign on token is no longer valid.
AMSearchResults searchDynamicGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching dynamic groups.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
dynamic groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createStaticGroups(Set groups)
throws AMException,
SSOException
groups - The set of static groups's names to be created.
AMStaticGroup objects created.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void deleteStaticGroups(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 store
SSOException - if the single sign on token is no longer valid
Set getStaticGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfStaticGroups(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchStaticGroups(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchStaticGroups(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
static groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchStaticGroups(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchStaticGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching static groups.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set of DNs of
static groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchGroups(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchGroups(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching groups.searchControl - specifies the search scope to be used.
AMSearchResults which contains Set a of DNs of
groups matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createPeopleContainers(Set peopleContainers)
throws AMException,
SSOException
peopleContainers - set of people containers' names to be created.
PeopleContainer objects created
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createPeopleContainers(Map peopleContainers)
throws AMException,
SSOException
peopleContainers - Map where the key is the name of the people container, and the
value is a Map to represent attribute-value pairs.
AMException - if there is an internal error in the access management data
store.
SSOException - if the single sign on token is no longer valid
void deletePeopleContainers(Set peopleContainers)
throws AMException,
SSOException
peopleContainers - Map where the key is the name of the people container, and the
value is a Map to represent Attribute-Value Pairs.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set getPeopleContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfPeopleContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchPeopleContainers(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchPeopleContainers(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set DNs of people
containers matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set searchPeopleContainers(String wildcard,
Map avPairs,
int level)
throws AMException,
SSOException
wildcard - pattern to be used in the search.avPairs - attribute-value pairs to match when searching people
containers.level - 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 store.
SSOException - if the single sign on token is no longer valid.
AMSearchResults searchPeopleContainers(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the searchavPairs - attribute-value pairs to match when searching people
containers.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set DNs of people
containers matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set createGroupContainers(Set groupContainers)
throws AMException,
SSOException
groupContainers - The set of group containers' names to be created
GroupContainer objects created.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createGroupContainers(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 Pairs.
GroupContainer objects created.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void deleteGroupContainers(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 store
SSOException - if the single sign on token is no longer valid
Set getGroupContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfGroupContainers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchGroupContainers(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchGroupContainers(String wildcard,
Map avPairs,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - pattern to be used in the search.avPairs - attribute-value pairs to match when searching group
containers.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set DNs of group
containers matching the search.
AMException - if there is an internal error in the access management data
store.
SSOException - if the single sign on token is no longer valid.
Set createUsers(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 Pairs
AMException - if there is an internal error in the access management data
store
SSOException - if the single sign on token is no longer valid
Set createUsers(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 Pairs
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void deleteUsers(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 store
SSOException - if the single sign on token is no longer valid
Set getUserDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
long getNumberOfUsers(int level)
throws AMException,
SSOException
level - The search level starting from the organizational unit.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set searchUsers(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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchUsers(String wildcard,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set DNs of Users
matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
Set searchUsers(String wildcard,
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 store
SSOException - if the single sign on token is no longer valid
AMSearchResults searchUsers(String wildcard,
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.
AMSearchResults which contains a Set of DNs of
Users matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid
AMSearchResults searchUsers(String wildcard,
AMSearchControl searchControl,
String avfilter)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.avfilter - this attribute-value pairs filter will be logical AND with
user search filter.
AMSearchResults which contains a Set DNs of Users
matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
AMSearchResults searchUsers(AMSearchControl searchControl,
String avfilter)
throws AMException,
SSOException
searchControl - specifies the search scope to be used, VLV ranges etc.avfilter - this attribute-value pairs filter will be logical AND with
user search filter.
AMSearchResults which contains a Set DNs of Users
matching the search.
AMException - if there is an internal error in the access management data
store.
SSOException - if the single sign on token is no longer valid
long getNumberOfServices()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
Set getRegisteredServiceNames()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void registerService(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 service
AMException - if the service does not exist or could not be registered.
SSOException - if the single sign on token is no longer valid.
void unregisterService(String serviceName)
throws AMException,
SSOException
serviceName - service name to be unregistered
AMException - if the service does not exist or could not be unregistered.
SSOException - if the single sign on token is no longer valid.
void unassignAllPolicies(String serviceName,
Set policyDNs)
throws AMException,
SSOException
serviceName - service name.policyDNs - Set of policy DN string
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void modifyAllPolicyTemplates(String serviceName,
Set policyDNs)
throws AMException,
SSOException
policyDN in given policyDNs.
serviceName - service name.policyDNs - Set of policy DN string.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
boolean deleteAllNamedPolicyTemplates(String policyDN)
throws AMException,
SSOException
policyDN - a policy DN string.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set getAssignedPolicyDNs()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
boolean isPolicyAssigned(String policyDN,
String serviceName)
throws AMException,
SSOException
policyDN is assigned to this
organizational unit or a role.
policyDN - a policy DN.serviceName - service name.
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
boolean orgTemplateExists(String serviceName)
throws AMException,
SSOException
serviceName - service name
AMException - if an error is encountered when trying to access/retrieve
data from the data store
SSOException - if the single sign on token is no longer valid
void assignService(String serviceName,
Map attrMap)
throws AMException,
SSOException
serviceName - Name of service to be assigned to user.attrMap - Map of attribute name and values (as a Set) to be set
AMException - if an error is encounters when trying to access/retrieve data
from the data store.
SSOException - if the single sign on token is no longer valid.
void unassignServices(Set serviceNames)
throws AMException,
SSOException
unassignServices in interface AMObjectserviceNames - Set of service names.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set createEntities(String type,
Set entities)
throws AMException,
SSOException
DAI, can be created using
this method.
type - Type of entity to be create (For example "user" or "agent"entities - Set of names for the entities to be created
AMEntity objects
AMException - If there is an error when trying to save to the data store
SSOException - if the single sign on token is invalid.
Set createEntities(String stype,
Map entities)
throws AMException,
SSOException
DAI, can be created
using this method.
stype - Type of entity to be create (For example "user" or "agent"entities - Map where the key is the name of the entity, and the value is
a Map to represent Attribute-Value Pairs
AMEntity objects created
AMException - if an error is encountered when trying to create entity in
the data store.
SSOException - if the single sign on token is no longer valid
Set searchEntities(String wildcard,
int level,
String eSearchTemplate,
Map avPairs)
throws AMException,
SSOException
eSearchTemplate, if provided. Otherwise, it uses the
BasicEntitySearch template.
wildcard - wildcard pattern to be used in the searchlevel - the search level that needs to be used (
AMConstants.SCOPE_ONE
or AMConstants.SCOPE_SUB)eSearchTemplate - Name of search template to be used. If a null is passed then
the default search template for entities
BasicEntitySearch is used.avPairs - This option can be used to further qualify the search filter.
The attribute-value pairs provided by this map are appended to
the search filter.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
AMSearchResults searchEntities(String wildcard,
Map avPairs,
String eSearchTemplate,
AMSearchControl searchControl)
throws AMException,
SSOException
wildcard - wildcard pattern to be used in the search.avPairs - attribute-value pairs to match when searching userseSearchTemplate - Name of search template to be used.searchControl - specifies the search scope to be used, VLV ranges etc.
AMSearchResults which contains a Set DNs of
resources matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
AMSearchResults searchEntities(String wildcard,
AMSearchControl searchControl,
String avfilter,
String eSearchTemplate)
throws AMException,
SSOException
wildcard - pattern to be used in the search.searchControl - specifies the search scope to be used, VLV ranges etc.avfilter - this attribute-value pairs filter will be logical AND with
user search filter.eSearchTemplate - Name of search template to be used. If a null is passed then
the default search template for entities
BasicEntitySearch is used.
AMSearchResults which contains a Set DNs of users
matching the search.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void deleteEntities(Set resources)
throws AMException,
SSOException
resources - The set of resource DNs to be removed.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
Set getSupportedTypes()
throws AMException,
SSOException
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
void setSupportedTypes(Set sTypes)
throws AMException,
SSOException
sTypes - The set of supported entity names.
AMException - if an error is encountered when trying to access/retrieve
data from the data store.
SSOException - if the single sign on token is no longer valid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||