Consider the following when dealing with the LOOKUP and SEARCH query operations through script opbindings:
Note: For more information, see Querying Connector Objects.
Instead of returning an Attributes object, LOOKUP operations can choose to return a Map, and SEARCH operations can return either a NamingEnumeration, or any form of java.util.Collection of Maps, instead of equivalent javax.naming.SearchResult values. Where Map is used, they must be compatible with the signature Map<String, Object>.
Note: BaseConnector.CONN_NAME ("!nameId!") and LdapUtil.LDAP_OBJECT_CLASS (objectclass) are mandatory map entries with special significance to the framework.
Copyright © 2013 CA.
All rights reserved.
|
|