public abstract class IdRepoJAXRPCObjectImpl extends Object implements DirectoryManagerIF
Modifier and Type | Field and Description |
---|---|
protected static int |
cacheSize |
protected static String |
IDREPO_SERVICE |
protected static Debug |
idRepoDebug |
protected static Map<String,URL> |
idRepoNotificationURLs |
protected static IdServices |
idServices |
protected static String |
serverPort |
protected static String |
serverURL |
protected static SSOTokenManager |
tokenManager |
protected static URL |
urlServer |
Constructor and Description |
---|
IdRepoJAXRPCObjectImpl() |
Modifier and Type | Method and Description |
---|---|
void |
assignService_idrepo(String token,
String type,
String name,
String serviceName,
String stype,
Map attrMap,
String amOrgName,
String amsdkDN) |
void |
changePassword_idrepo(String token,
String type,
String name,
String oldPassword,
String newPassword,
String amOrgName,
String amsdkDN) |
protected Set<String> |
collectChangesFromCache(int time,
ConcurrentSkipListMap<Long,Set<String>> cache)
Collects the notification XMLs for a given time period from the provided cache.
|
String |
create_idrepo(String token,
String type,
String name,
Map attrMap,
String amOrgName) |
void |
delete_idrepo(String token,
String type,
String name,
String orgName,
String amsdkDN) |
void |
deRegisterNotificationURL_idrepo(String notificationID) |
Set |
getAssignedServices_idrepo(String token,
String type,
String name,
Map mapOfServiceNamesAndOCs,
String amOrgName,
String amsdkDN) |
Map |
getAttributes1_idrepo(String token,
String type,
String name,
Set attrNames,
String amOrgName,
String amsdkDN) |
Map |
getAttributes2_idrepo(String token,
String type,
String name,
String amOrgName,
String amsdkDN) |
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.
|
Map |
getBinaryServiceAttributes_idrepo(String token,
String type,
String name,
String serviceName,
Set attrNames,
String amOrgName,
String amsdkDN) |
protected static Set<String> |
getCachedValues(ConcurrentSkipListMap<Long,Set<String>> cache)
Returns the cached notification XMLs for the current cacheIndex.
|
protected static long |
getCacheIndex() |
Set |
getFullyQualifiedNames_idrepo(String token,
String type,
String name,
String amOrgName) |
Set |
getMembers_idrepo(String token,
String type,
String name,
String amOrgName,
String membersType,
String amsdkDN) |
Set |
getMemberships_idrepo(String token,
String type,
String name,
String membershipType,
String amOrgName,
String amsdkDN) |
Map |
getServiceAttributes_idrepo(String token,
String type,
String name,
String serviceName,
Set attrNames,
String amOrgName,
String amsdkDN) |
Map |
getServiceAttributesAscending_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.
|
Map |
getSpecialIdentities_idrepo(String token,
String type,
String amOrgName) |
protected SSOToken |
getSSOToken(String token)
Check if agent token ID is appended to the token string.
|
Set |
getSupportedOperations_idrepo(String token,
String type,
String amOrgName) |
Set |
getSupportedTypes_idrepo(String token,
String amOrgName) |
protected static void |
initialize_idrepo()
Initializes this class with system properties.
|
protected static void |
initializeCacheSize() |
boolean |
isActive_idrepo(String token,
String type,
String name,
String amOrgName,
String amsdkDN) |
protected boolean |
isClientOnSameServer(String clientURL) |
boolean |
isExists_idrepo(String token,
String type,
String name,
String amOrgName) |
void |
modifyMemberShip_idrepo(String token,
String type,
String name,
Set members,
String membersType,
int operation,
String amOrgName) |
void |
modifyService_idrepo(String token,
String type,
String name,
String serviceName,
String stype,
Map attrMap,
String amOrgName,
String amsdkDN) |
Set<String> |
objectsChanged_idrepo(int time)
Returns the notification event XMLs for changed objects in the past N+2 minutes.
|
protected static void |
processEntryChanged_idrepo(String method,
String name,
int type,
Set attrNames) |
String |
registerNotificationURL_idrepo(String url) |
protected String |
registerNotificationURL(String url,
Map<String,URL> notificationURLs) |
void |
removeAttributes_idrepo(String token,
String type,
String name,
Set attrNames,
String amOrgName,
String amsdkDN) |
Map |
search1_idrepo(String token,
String type,
String pattern,
Map avPairs,
boolean recursive,
int maxResults,
int maxTime,
Set returnAttrs,
String amOrgName) |
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) |
void |
setActiveStatus_idrepo(String token,
String type,
String name,
String amOrgName,
String amsdkDN,
boolean active) |
void |
setAttributes_idrepo(String token,
String type,
String name,
Map attributes,
boolean isAdd,
String amOrgName,
String amsdkDN) |
void |
setAttributes2_idrepo(String token,
String type,
String name,
Map attributes,
boolean isAdd,
String amOrgName,
String amsdkDN,
boolean isString) |
void |
unassignService_idrepo(String token,
String type,
String name,
String serviceName,
Map attrMap,
String amOrgName,
String amsdkDN) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changePassword, createAMTemplate, createEntry, deRegisterNotificationURL, doesEntryExists, getAMTemplateDN, getAttributes1, getAttributes2, getAttributes3, getAttributes4, getAttributesByteValues1, getAttributesByteValues2, getAttributesForSchema, getCreationTemplateName, getDCTreeAttributes, getDeletedObjectFilter, getExternalAttributes, getGroupFilterAndScope, getMembers, getNamingAttr, getObjectClassFromDS, getObjectType, getOrganizationDN, getOrgDNFromDomain, getOrgSearchFilter, getRegisteredServiceNames, getSearchFilterFromTemplate, getTopLevelContainers, isAncestorOrgDeleted, modifyMemberShip, objectsChanged, registerNotificationURL, registerService, removeAdminRole, removeEntry, renameEntry, search1, search2, search3, setAttributes, setGroupFilter, unRegisterService, updateUserAttribute, verifyAndDeleteObject, verifyAndGetOrgDN
protected static Debug idRepoDebug
protected static SSOTokenManager tokenManager
protected static IdServices idServices
protected static final String IDREPO_SERVICE
protected static int cacheSize
protected static String serverURL
protected static URL urlServer
protected static String serverPort
protected static void initializeCacheSize()
protected static void initialize_idrepo()
protected boolean isClientOnSameServer(String clientURL)
public void assignService_idrepo(String token, String type, String name, String serviceName, String stype, Map attrMap, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
assignService_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public String create_idrepo(String token, String type, String name, Map attrMap, String amOrgName) throws RemoteException, IdRepoException, SSOException
create_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void delete_idrepo(String token, String type, String name, String orgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
delete_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Set getAssignedServices_idrepo(String token, String type, String name, Map mapOfServiceNamesAndOCs, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getAssignedServices_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Map getAttributes1_idrepo(String token, String type, String name, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getAttributes1_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Map getAttributes2_idrepo(String token, String type, String name, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getAttributes2_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Map<String,Set<String>> getBinaryAttributes_idrepo(String token, String type, String name, Set<String> attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
DirectoryManagerIF
getBinaryAttributes_idrepo
in interface DirectoryManagerIF
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.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.public Set getMembers_idrepo(String token, String type, String name, String amOrgName, String membersType, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getMembers_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Set getMemberships_idrepo(String token, String type, String name, String membershipType, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getMemberships_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Map getServiceAttributes_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getServiceAttributes_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Map getBinaryServiceAttributes_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
getBinaryServiceAttributes_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Map getServiceAttributesAscending_idrepo(String token, String type, String name, String serviceName, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
DirectoryManagerIF
getServiceAttributesAscending_idrepo
in interface DirectoryManagerIF
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.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.public Set getSupportedOperations_idrepo(String token, String type, String amOrgName) throws RemoteException, IdRepoException, SSOException
getSupportedOperations_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Set getSupportedTypes_idrepo(String token, String amOrgName) throws RemoteException, IdRepoException, SSOException
getSupportedTypes_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public Set getFullyQualifiedNames_idrepo(String token, String type, String name, String amOrgName) throws RemoteException, IdRepoException, SSOException
getFullyQualifiedNames_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public boolean isExists_idrepo(String token, String type, String name, String amOrgName) throws RemoteException, SSOException, IdRepoException
isExists_idrepo
in interface DirectoryManagerIF
RemoteException
SSOException
IdRepoException
public boolean isActive_idrepo(String token, String type, String name, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
isActive_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void setActiveStatus_idrepo(String token, String type, String name, String amOrgName, String amsdkDN, boolean active) throws RemoteException, IdRepoException, SSOException
setActiveStatus_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void modifyMemberShip_idrepo(String token, String type, String name, Set members, String membersType, int operation, String amOrgName) throws RemoteException, IdRepoException, SSOException
modifyMemberShip_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void modifyService_idrepo(String token, String type, String name, String serviceName, String stype, Map attrMap, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
modifyService_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void removeAttributes_idrepo(String token, String type, String name, Set attrNames, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
removeAttributes_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public 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
search1_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public 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
search2_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void setAttributes_idrepo(String token, String type, String name, Map attributes, boolean isAdd, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
setAttributes_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void setAttributes2_idrepo(String token, String type, String name, Map attributes, boolean isAdd, String amOrgName, String amsdkDN, boolean isString) throws RemoteException, IdRepoException, SSOException
setAttributes2_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void changePassword_idrepo(String token, String type, String name, String oldPassword, String newPassword, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
changePassword_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void unassignService_idrepo(String token, String type, String name, String serviceName, Map attrMap, String amOrgName, String amsdkDN) throws RemoteException, IdRepoException, SSOException
unassignService_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
public void deRegisterNotificationURL_idrepo(String notificationID) throws RemoteException
deRegisterNotificationURL_idrepo
in interface DirectoryManagerIF
RemoteException
public Set<String> objectsChanged_idrepo(int time) throws RemoteException
objectsChanged_idrepo
in interface DirectoryManagerIF
time
- The number of minutes we should retrieve the changed objects for.RemoteException
- If there was an error while collecting changed objects.protected Set<String> collectChangesFromCache(int time, ConcurrentSkipListMap<Long,Set<String>> cache)
time
- The number of minutes we should retrieve the changed objects for.cache
- The cache we need to collect the notifications from.public String registerNotificationURL_idrepo(String url) throws RemoteException
registerNotificationURL_idrepo
in interface DirectoryManagerIF
RemoteException
protected String registerNotificationURL(String url, Map<String,URL> notificationURLs)
public Map getSpecialIdentities_idrepo(String token, String type, String amOrgName) throws RemoteException, IdRepoException, SSOException
getSpecialIdentities_idrepo
in interface DirectoryManagerIF
RemoteException
IdRepoException
SSOException
protected static void processEntryChanged_idrepo(String method, String name, int type, Set attrNames)
protected static Set<String> getCachedValues(ConcurrentSkipListMap<Long,Set<String>> cache)
cache
- The cache that stores the notification XMLs per minute.protected static long getCacheIndex()
protected SSOToken getSSOToken(String token) throws SSOException
SSOException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.