Skip to main content
Published: August 05 2010, 3:15:00 PMUpdated: November 28 2020, 8:36:14 PM


   This sample project illustrates on how to implement the auth & auth Java Desktop Application. The GetSessionID and FetchToken API calls required for generating user tokens are fired using Java HttpURLConnection POST.

     For using this sample you must have obtained your Sandbox or Production key set that includes three IDs (DevID, AppID, and CertID) and generated an RuName.  

Attached to this article is the zipped project.

 Detailed Description 


      1. JDK1.6 or  higher
      2. Ant 1.7.1 or higher


  1. Download and unzip the project file:
           2. Build the project 
               > ant -f  build.xml

           3. Run the UserTokenTool
               >java -jar dist/UserTokenTool.jar

How well did this answer your question?
Answers others found helpful