For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

JAVA: Sample Auth & Auth Desktop Application

  • Answer ID 1661
  • Published 08/05/2010 03:15 PM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1661
Product

Summary

   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 

   SOFTWARE REQUIREMENTS

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



 INSTRUCTIONS

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

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

File Attachments

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter