OAuth 2.0 clients in Java programming, Part 3: Authorization code grant

See the original posting on IBM developerWorks – Java

This multi-part series will help you develop a generic and reusable
OAuth 2.0 client that can be used to interface with any OAuth 2.0-compliant
server. Part 1 explained how to implement the resource owner password
credentials grant. Part 2 described how to implement the client credentials
grant. Now, Part 3 teaches you how to implement the authorization code