public class ServiceManagementDAOWrapper extends Object implements ServiceManagementDAO
Constructor and Description |
---|
ServiceManagementDAOWrapper() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkIfEntryExists(String dn,
SSOToken token)
Checks if the provided DN exists.
|
String |
getRootSuffix() |
Iterator<SMSDataEntry> |
search(SSOToken token,
String dn,
String filter,
int numOfEntries,
int timeLimit,
boolean sortResults,
boolean ascendingOrder,
Set<String> exclude)
Returns the DNs and its attribute values that match the filter.
|
public Iterator<SMSDataEntry> search(SSOToken token, String dn, String filter, int numOfEntries, int timeLimit, boolean sortResults, boolean ascendingOrder, Set<String> exclude) throws SMSException
ServiceManagementDAO
search
in interface ServiceManagementDAO
token
- Single-Sign On token.dn
- Base DNfilter
- Search Filter.numOfEntries
- number of max entries, 0 means unlimitedtimeLimit
- maximum number of seconds for the search to spend, 0 means unlimitedsortResults
- true
to have result sorted.ascendingOrder
- true
to have result sorted in
ascending order.exclude
- List of DN to exclude.SMSException
- When an underlying error occurs.public boolean checkIfEntryExists(String dn, SSOToken token)
ServiceManagementDAO
checkIfEntryExists
in interface ServiceManagementDAO
dn
- The DN in question.token
- Single-Sign On token.public String getRootSuffix()
getRootSuffix
in interface ServiceManagementDAO
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.