Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Using the TIBCO Runtime Agent Authentication API : Getting Started with the API

Getting Started with the API
This section provides information that will be useful to you as you begin to work with the API.
Compiling Programs
In order to compile your scripts and applications, you will need to include the following jar files in your classpath:
TRA_HOME/lib/TIBCOAuthAPI.jar
Running Programs
In order to run your scripts and applications, your system must meet the requirements described in this section.
Running Programs: Environment Variables Required
To run a program or application that uses this API , you must set the following environment variables:
TRA_VERSION=TRA_VERSION
TRA_HOME=TRA_HOME
DOMAIN_NAME=Your-Domain-Name
DOMAIN_HOME=TIBCO_DOMAIN_HOME
Running Programs: JAR Files Required
You must also ensure that the following JAR files are on your classpath:
These files include TIBCOAuthAPI.jar and TIBCOAuthAPIimpl.jar
TIBCO_HOME/hawk/lib
TIBCO_HOME/tibrv/TIBCO_RV_VERSION/lib
TIBCO_HOME/tpcl/TIBCO_TPCL_VERSION/lib
TIBCO_HOME/tpcl/TIBCO_TPCL_VERSION/jdbc
Running the Samples
A sample has been provided with compile and run scripts. This sample provides all the environment variables required to run this program. The sample is available in the following directory:
 TRA_HOME/sample/auth
Please refer to the readme.txt in that directory for the instructions on compiling and running the sample.
Using the API
For learning how to use this API, please refer to:
       TRA_HOME/doc/auth/javadoc
SampleAuthAPIUsage.java from a subdirectory within the following samples source directory:
       TRA_HOME/sample/auth/src

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved