Your connector and directory object load correctly after implementing the doSearch method. To test the doSearch function, you also have to implement the doAdd function first so you can add some objects within the Provisioning Manager.
Assuming there are some account and group objects in the system, you can do the following searches for testing:
Issue a one-level search under the connector (or appropriate virtual containers where your connector uses them), by providing filters of the form (objectclass=<class1>) for each object type. One level searches are important as the Provisioning Server favors their use.
For unsupported filters, your connector should throw com.ca.jcs.LdapNotSupportedException.
Try to establish a search by specifying some specific attributes you want to return.
Turn on the streaming search and start a subtree level search under the connector.
If no user interface is available at the time you do the testing, you can use JXplorer or other LDAP clients to issue the search requests.
Copyright © 2013 CA.
All rights reserved.
|
|