Package com.iplanet.am.sdk.remote
Interface DirectoryManagerIF
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
DirectoryManagerImpl,IdRepoJAXRPCObjectImpl
public interface DirectoryManagerIF extends Remote
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassignService_idrepo(String token, String type, String name, String serviceName, String stype, Map attrMap, String amOrgName, String amsdkDN)voidchangePassword(String token, String entryDN, String attrName, String oldPassword, String newPassword)voidchangePassword_idrepo(String token, String type, String entryDN, String attrName, String oldPassword, String newPassword, String amsdkDN)Stringcreate_idrepo(String token, String type, String name, Map attrMap, String amOrgName)StringcreateAMTemplate(String token, String entryDN, int objectType, String serviceName, Map attributes, int priority)voidcreateEntry(String token, String entryName, int objectType, String parentDN, Map attributes)voiddelete_idrepo(String token, String type, String name, String orgName, String amsdkDN)voiddeRegisterNotificationURL(String notificationID)voiddeRegisterNotificationURL_idrepo(String notificationID)booleandoesEntryExists(String ssoToken, String entryDN)StringgetAMTemplateDN(String token, String entryDN, int objectType, String serviceName, int type)SetgetAssignedServices_idrepo(String token, String type, String name, Map mapOfServiceNamesAndOCs, String amOrgName, String amsdkDN)MapgetAttributes1(String token, String entryDN, int profileType)MapgetAttributes1_idrepo(String token, String type, String name, Set attrNames, String amOrgName, String amsdkDN)MapgetAttributes2(String token, String entryDN, Set attrNames, int profileType)MapgetAttributes2_idrepo(String token, String type, String name, String amOrgName, String amsdkDN)MapgetAttributes3(String token, String entryDN, boolean ignoreCompliance, boolean byteValues, int profileType)MapgetAttributes4(String token, String entryDN, Set attrNames, boolean ignoreCompliance, boolean byteValues, int profileType)MapgetAttributesByteValues1(String token, String entryDN, int profileType)MapgetAttributesByteValues2(String token, String entryDN, Set attrNames, int profileType)SetgetAttributesForSchema(String objectclass)Map<String,Set<String>>getBinaryAttributes_idrepo(String token, String type, String name, Set<String> attrNames, String amOrgName, String amsdkDN)Returns attributes in binary format for a given identity using the IdRepo API.MapgetBinaryServiceAttributes_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN)StringgetCreationTemplateName(int objectType)MapgetDCTreeAttributes(String token, String entryDN, Set attrNames, boolean byteValues, int objectType)StringgetDeletedObjectFilter(int objecttype)MapgetExternalAttributes(String token, String entryDN, Set attrNames, int profileType)SetgetFullyQualifiedNames_idrepo(String token, String type, String name, String orgName)LinkedListgetGroupFilterAndScope(String token, String entryDN, int profileType)SetgetMembers(String token, String entryDN, int objectType)SetgetMembers_idrepo(String token, String type, String name, String amOrgName, String membersType, String amsdkDN)SetgetMemberships_idrepo(String token, String type, String name, String membershipType, String amOrgName, String amsdkDN)StringgetNamingAttr(int objectType, String orgDN)StringgetObjectClassFromDS(int objectType)intgetObjectType(String ssoToken, String dn)StringgetOrganizationDN(String token, String entryDN)StringgetOrgDNFromDomain(String token, String domain)StringgetOrgSearchFilter(String entryDN)SetgetRegisteredServiceNames(String token, String entryDN)StringgetSearchFilterFromTemplate(int objectType, String orgDN, String searchTemplateName)MapgetServiceAttributes_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN)MapgetServiceAttributesAscending_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN)Non-javadoc, non-public methods Get the service attributes of the name identity.MapgetSpecialIdentities_idrepo(String token, String type, String orgName)SetgetSupportedOperations_idrepo(String token, String type, String amOrgName)SetgetSupportedTypes_idrepo(String token, String amOrgName)SetgetTopLevelContainers(String token)booleanisActive_idrepo(String token, String type, String name, String amOrgName, String amsdkDN)booleanisAncestorOrgDeleted(String token, String dn, int profileType)booleanisExists_idrepo(String token, String type, String name, String amOrgName)voidmodifyMemberShip(String token, Set members, String target, int type, int operation)voidmodifyMemberShip_idrepo(String token, String type, String name, Set members, String membersType, int operation, String amOrgName)voidmodifyService_idrepo(String token, String type, String name, String serviceName, String stype, Map attrMap, String amOrgName, String amsdkDN)SetobjectsChanged(int time)SetobjectsChanged_idrepo(int time)StringregisterNotificationURL(String url)StringregisterNotificationURL_idrepo(String url)voidregisterService(String token, String orgDN, String serviceName)voidremoveAdminRole(String token, String dn, boolean recursive)voidremoveAttributes_idrepo(String token, String type, String name, Set attrNames, String amOrgName, String amsdkDN)voidremoveEntry(String token, String entryDN, int objectType, boolean recursive, boolean softDelete)StringrenameEntry(String token, int objectType, String entryDN, String newName, boolean deleteOldName)Setsearch1(String token, String entryDN, String searchFilter, int searchScope)Mapsearch1_idrepo(String token, String type, String pattern, Map avPairs, boolean recursive, int maxResults, int maxTime, Set returnAttrs, String amOrgName)Mapsearch2(String token, String entryDN, String searchFilter, List sortKeys, int startIndex, int beforeCount, int afterCount, String jumpTo, int timeOut, int maxResults, int scope, boolean allAttributes, String[] attrNames)Mapsearch2_idrepo(String token, String type, String pattern, int maxTime, int maxResults, Set returnAttrs, boolean returnAllAttrs, int filterOp, Map avPairs, boolean recursive, String amOrgName)Mapsearch3(String token, String entryDN, String searchFilter, List sortKeys, int startIndex, int beforeCount, int afterCount, String jumpTo, int timeOut, int maxResults, int scope, boolean allAttributes, Set attrNamesSet)voidsetActiveStatus_idrepo(String token, String type, String name, String amOrgName, String amsdkDN, boolean active)voidsetAttributes(String token, String entryDN, int objectType, Map stringAttributes, Map byteAttributes, boolean isAdd)voidsetAttributes_idrepo(String token, String type, String name, Map attributes, boolean isAdd, String amOrgName, String amsdkDN)voidsetAttributes2_idrepo(String token, String type, String name, Map attributes, boolean isAdd, String amOrgName, String amsdkDN, boolean isString)voidsetGroupFilter(String token, String entryDN, String filter)voidunassignService_idrepo(String token, String type, String name, String serviceName, Map attrMap, String amOrgName, String amsdkDN)voidunRegisterService(String token, String entryDN, int objectType, String serviceName, int type)voidupdateUserAttribute(String token, Set members, String staticGroupDN, boolean toAdd)voidverifyAndDeleteObject(String token, String dn)StringverifyAndGetOrgDN(String token, String entryDN, String childDN)
-
-
-
Method Detail
-
doesEntryExists
boolean doesEntryExists(String ssoToken, String entryDN) throws AMRemoteException, SSOException, RemoteException
-
getObjectType
int getObjectType(String ssoToken, String dn) throws AMRemoteException, SSOException, RemoteException
-
getDCTreeAttributes
Map getDCTreeAttributes(String token, String entryDN, Set attrNames, boolean byteValues, int objectType) throws AMRemoteException, SSOException, RemoteException
-
getAttributes1
Map getAttributes1(String token, String entryDN, int profileType) throws AMRemoteException, SSOException, RemoteException
-
getAttributes2
Map getAttributes2(String token, String entryDN, Set attrNames, int profileType) throws AMRemoteException, SSOException, RemoteException
-
getAttributesByteValues1
Map getAttributesByteValues1(String token, String entryDN, int profileType) throws AMRemoteException, SSOException, RemoteException
-
getAttributesByteValues2
Map getAttributesByteValues2(String token, String entryDN, Set attrNames, int profileType) throws AMRemoteException, SSOException, RemoteException
-
getAttributes3
Map getAttributes3(String token, String entryDN, boolean ignoreCompliance, boolean byteValues, int profileType) throws AMRemoteException, SSOException, RemoteException
-
getAttributes4
Map getAttributes4(String token, String entryDN, Set attrNames, boolean ignoreCompliance, boolean byteValues, int profileType) throws AMRemoteException, SSOException, RemoteException
-
getOrgSearchFilter
String getOrgSearchFilter(String entryDN) throws RemoteException
- Throws:
RemoteException
-
getOrganizationDN
String getOrganizationDN(String token, String entryDN) throws AMRemoteException, RemoteException, SSOException
-
verifyAndGetOrgDN
String verifyAndGetOrgDN(String token, String entryDN, String childDN) throws AMRemoteException, RemoteException, SSOException
-
getExternalAttributes
Map getExternalAttributes(String token, String entryDN, Set attrNames, int profileType) throws AMRemoteException, SSOException, RemoteException
-
updateUserAttribute
void updateUserAttribute(String token, Set members, String staticGroupDN, boolean toAdd) throws AMRemoteException, SSOException, RemoteException
-
createEntry
void createEntry(String token, String entryName, int objectType, String parentDN, Map attributes) throws AMRemoteException, SSOException, RemoteException
-
removeEntry
void removeEntry(String token, String entryDN, int objectType, boolean recursive, boolean softDelete) throws AMRemoteException, SSOException, RemoteException
-
removeAdminRole
void removeAdminRole(String token, String dn, boolean recursive) throws AMRemoteException, SSOException, RemoteException
-
search1
Set search1(String token, String entryDN, String searchFilter, int searchScope) throws AMRemoteException, SSOException, RemoteException
-
search2
Map search2(String token, String entryDN, String searchFilter, List sortKeys, int startIndex, int beforeCount, int afterCount, String jumpTo, int timeOut, int maxResults, int scope, boolean allAttributes, String[] attrNames) throws AMRemoteException, SSOException, RemoteException
-
search3
Map search3(String token, String entryDN, String searchFilter, List sortKeys, int startIndex, int beforeCount, int afterCount, String jumpTo, int timeOut, int maxResults, int scope, boolean allAttributes, Set attrNamesSet) throws AMRemoteException, SSOException, RemoteException
-
setAttributes
void setAttributes(String token, String entryDN, int objectType, Map stringAttributes, Map byteAttributes, boolean isAdd) throws AMRemoteException, SSOException, RemoteException
-
changePassword
void changePassword(String token, String entryDN, String attrName, String oldPassword, String newPassword) throws AMRemoteException, SSOException, RemoteException
-
getMembers
Set getMembers(String token, String entryDN, int objectType) throws AMRemoteException, SSOException, RemoteException
-
renameEntry
String renameEntry(String token, int objectType, String entryDN, String newName, boolean deleteOldName) throws AMRemoteException, SSOException, RemoteException
-
getGroupFilterAndScope
LinkedList getGroupFilterAndScope(String token, String entryDN, int profileType) throws AMRemoteException, SSOException, RemoteException
-
setGroupFilter
void setGroupFilter(String token, String entryDN, String filter) throws AMRemoteException, SSOException, RemoteException
-
modifyMemberShip
void modifyMemberShip(String token, Set members, String target, int type, int operation) throws AMRemoteException, SSOException, RemoteException
-
getRegisteredServiceNames
Set getRegisteredServiceNames(String token, String entryDN) throws AMRemoteException, SSOException, RemoteException
-
registerService
void registerService(String token, String orgDN, String serviceName) throws AMRemoteException, SSOException, RemoteException
-
unRegisterService
void unRegisterService(String token, String entryDN, int objectType, String serviceName, int type) throws AMRemoteException, SSOException, RemoteException
-
getAMTemplateDN
String getAMTemplateDN(String token, String entryDN, int objectType, String serviceName, int type) throws AMRemoteException, SSOException, RemoteException
-
createAMTemplate
String createAMTemplate(String token, String entryDN, int objectType, String serviceName, Map attributes, int priority) throws AMRemoteException, SSOException, RemoteException
-
getNamingAttr
String getNamingAttr(int objectType, String orgDN) throws RemoteException
- Throws:
RemoteException
-
getCreationTemplateName
String getCreationTemplateName(int objectType) throws RemoteException
- Throws:
RemoteException
-
getObjectClassFromDS
String getObjectClassFromDS(int objectType) throws RemoteException
- Throws:
RemoteException
-
getAttributesForSchema
Set getAttributesForSchema(String objectclass) throws RemoteException
- Throws:
RemoteException
-
getSearchFilterFromTemplate
String getSearchFilterFromTemplate(int objectType, String orgDN, String searchTemplateName) throws RemoteException
- Throws:
RemoteException
-
getTopLevelContainers
Set getTopLevelContainers(String token) throws AMRemoteException, SSOException, RemoteException
-
getOrgDNFromDomain
String getOrgDNFromDomain(String token, String domain) throws AMRemoteException, SSOException, RemoteException
-
isAncestorOrgDeleted
boolean isAncestorOrgDeleted(String token, String dn, int profileType) throws AMRemoteException, SSOException, RemoteException
-
verifyAndDeleteObject
void verifyAndDeleteObject(String token, String dn) throws AMRemoteException, SSOException, RemoteException
-
getDeletedObjectFilter
String getDeletedObjectFilter(int objecttype) throws AMRemoteException, SSOException, RemoteException
-
objectsChanged
Set objectsChanged(int time) throws RemoteException
- Throws:
RemoteException
-
registerNotificationURL
String registerNotificationURL(String url) throws RemoteException
- Throws:
RemoteException
-
deRegisterNotificationURL
void deRegisterNotificationURL(String notificationID) throws RemoteException
- Throws:
RemoteException
-
create_idrepo
String create_idrepo(String token, String type, String name, Map attrMap, String amOrgName) throws RemoteException, IdRepoException, SSOException
-
delete_idrepo
void delete_idrepo(String token, String type, String name, String orgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getAttributes1_idrepo
Map getAttributes1_idrepo(String token, String type, String name, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getAttributes2_idrepo
Map getAttributes2_idrepo(String token, String type, String name, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getBinaryAttributes_idrepo
Map<String,Set<String>> getBinaryAttributes_idrepo(String token, String type, String name, Set<String> attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
Returns attributes in binary format for a given identity using the IdRepo API.- Parameters:
token- Token identifying the requester.type- The identity type we need to query the attributes for.name- The name of the identity.attrNames- The attribute names that needs to be queried.amOrgName- The realm identifier.amsdkDN- The AM SDK DN, may be null.- Returns:
- A map of attribute names and values, where the values are all in Base64 encoded format.
- Throws:
RemoteException- If there was a communication problem.IdRepoException- If there was a problem while retrieving the attributes from the identity repository.SSOException- If there was an error with the provided token.
-
getMembers_idrepo
Set getMembers_idrepo(String token, String type, String name, String amOrgName, String membersType, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getMemberships_idrepo
Set getMemberships_idrepo(String token, String type, String name, String membershipType, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
isExists_idrepo
boolean isExists_idrepo(String token, String type, String name, String amOrgName) throws RemoteException, SSOException, IdRepoException
-
isActive_idrepo
boolean isActive_idrepo(String token, String type, String name, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
setActiveStatus_idrepo
void setActiveStatus_idrepo(String token, String type, String name, String amOrgName, String amsdkDN, boolean active) throws RemoteException, IdRepoException, SSOException
-
modifyMemberShip_idrepo
void modifyMemberShip_idrepo(String token, String type, String name, Set members, String membersType, int operation, String amOrgName) throws RemoteException, IdRepoException, SSOException
-
removeAttributes_idrepo
void removeAttributes_idrepo(String token, String type, String name, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
search1_idrepo
Map search1_idrepo(String token, String type, String pattern, Map avPairs, boolean recursive, int maxResults, int maxTime, Set returnAttrs, String amOrgName) throws RemoteException, IdRepoException, SSOException
-
search2_idrepo
Map search2_idrepo(String token, String type, String pattern, int maxTime, int maxResults, Set returnAttrs, boolean returnAllAttrs, int filterOp, Map avPairs, boolean recursive, String amOrgName) throws RemoteException, IdRepoException, SSOException
-
setAttributes_idrepo
void setAttributes_idrepo(String token, String type, String name, Map attributes, boolean isAdd, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
setAttributes2_idrepo
void setAttributes2_idrepo(String token, String type, String name, Map attributes, boolean isAdd, String amOrgName, String amsdkDN, boolean isString) throws RemoteException, IdRepoException, SSOException
-
changePassword_idrepo
void changePassword_idrepo(String token, String type, String entryDN, String attrName, String oldPassword, String newPassword, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getAssignedServices_idrepo
Set getAssignedServices_idrepo(String token, String type, String name, Map mapOfServiceNamesAndOCs, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
assignService_idrepo
void assignService_idrepo(String token, String type, String name, String serviceName, String stype, Map attrMap, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
unassignService_idrepo
void unassignService_idrepo(String token, String type, String name, String serviceName, Map attrMap, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getServiceAttributes_idrepo
Map getServiceAttributes_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getBinaryServiceAttributes_idrepo
Map getBinaryServiceAttributes_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getServiceAttributesAscending_idrepo
Map getServiceAttributesAscending_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
Non-javadoc, non-public methods Get the service attributes of the name identity. Traverse to the global configuration if necessary until all attributes are found or reached the global area whichever occurs first.- Parameters:
token- is the sso token of the person performing this operation.type- is the identity type of the name parameter.name- is the identity we are interested in.serviceName- is the service we are interested inattrNames- are the name of the attributes wer are interested in.amOrgName- is the orgname.amsdkDN- is the amsdkDN.- Throws:
RemoteException- if there are problem connecting with remote site.IdRepoException- if there are repository related error conditions.SSOException- if user's single sign on token is invalid.
-
modifyService_idrepo
void modifyService_idrepo(String token, String type, String name, String serviceName, String stype, Map attrMap, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
-
getSupportedTypes_idrepo
Set getSupportedTypes_idrepo(String token, String amOrgName) throws RemoteException, IdRepoException, SSOException
-
getSupportedOperations_idrepo
Set getSupportedOperations_idrepo(String token, String type, String amOrgName) throws RemoteException, IdRepoException, SSOException
-
getFullyQualifiedNames_idrepo
Set getFullyQualifiedNames_idrepo(String token, String type, String name, String orgName) throws RemoteException, IdRepoException, SSOException
-
registerNotificationURL_idrepo
String registerNotificationURL_idrepo(String url) throws RemoteException
- Throws:
RemoteException
-
deRegisterNotificationURL_idrepo
void deRegisterNotificationURL_idrepo(String notificationID) throws RemoteException
- Throws:
RemoteException
-
objectsChanged_idrepo
Set objectsChanged_idrepo(int time) throws RemoteException
- Throws:
RemoteException
-
getSpecialIdentities_idrepo
Map getSpecialIdentities_idrepo(String token, String type, String orgName) throws RemoteException, IdRepoException, SSOException
-
-