public static Set<String> search(SSOToken token,String dn,String filter,int numOfEntries,int timeLimit,boolean sortResults,boolean ascendingOrder) throws SMSException {
  try {
    return smsObject.search(token,dn,filter,numOfEntries,timeLimit,sortResults,ascendingOrder);
  }
 catch (  SSOException ssoe) {
    debug.error("SMSEntry: Search ERROR: " + filter,ssoe);
    throw new SMSException(bundle.getString("sms-error-in-searching"),ssoe,"sms-error-in-searching");
  }
}

public static Set < String > search ( SSOToken token , String dn , String filter , int numOfEntries , int timeLimit , boolean sortResults , boolean ascendingOrder ) throws SMSException { try { return smsObject . search ( token , dn , filter , numOfEntries , timeLimit , sortResults , ascendingOrder ) ; } catch ( SSOException ssoe ) { debug . error ( "SMSEntry: Search ERROR: " + filter , ssoe ) ; throw new SMSException ( bundle . getString ( "sms-error-in-searching" ) , ssoe , "sms-error-in-searching" ) ; } }
returns the dns that match the filter . the search is performed from the root suffix ie . , dn . it searchs for sms objects only .
