title: Basic Requirements for accessing Gmail with Oauth2 3 legged
body: <p>What are the basic requirements (library) to access gmail using Oauth2 3 legged?</p>
  
  <p>Is there any java library supported for this access?</p>
  
  <p>Any kickstart example using java?</p>
  
  <p>I found <a href="http://code.google.com/p/google-mail-oauth2-tools/wiki/JavaSampleCode" rel="nofollow">the example</a> from google, but it seem like using python script to get access token. And I am getting confused.</p>
  
  <p>Any inputs will be helpful. </p>