Programming Guides › Connector Programming Guide › Implementing Connectors › How To Test a Connection
How To Test a Connection
To test a connection, do the following:
- Deploy your connector to CA IAM CS by running ant dist from the top-level cs-sdk-home directory.
- Start CA IAM CS using an IDE configuration (this SDK includes configurations for the Eclipse and IDEA IDEs). Starting from within an IDE allows you to debug, but you can also run CA IAM CS using jcs-dir/build/dist/bin/jcs.bat (Windows) or jcs-dir/build/dist/bin/jcs.sh (Solaris).
- Submit the LDAP ADD request to create the parent endpoint type, and check for a successful response code. At this stage, CA IAM CS has validated and stored the metadata you provided for the endpoint type. For static endpoint types, the metadata is read from within the connector’s .jar as configured through the contained connector.xml file. For dynamic cases, the metadata is included as the value for the eTMetaData attribute in the ADD request.
- Submit a second LDAP ADD request for an endpoint using a DN directly under the parent endpoint type you created, that contains all the required attributes for the connector (both connection-related and otherwise).
- Check for a successful response code.
Copyright © 2013 CA.
All rights reserved.
|
|