OAuth 2.0 clients in Java programming, Part 2: Client credentials 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. Now, Part 2 describes how to implement the client
credentials grant.