You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Unknown macro: {span}

JAX-RS: OAuth

Introduction

CXF 2.5.0 implements OAuth 1.0.

OAuth 2.0 is the next major version of OAuth however OAuth 1.0 is being supported by many providers and the CXF OAuth module should make it easy for developers to start writing OAuth applications be it OAuth 1.0 or, in time, OAuth 2.0 ones.

OAuth offers a complex yet elegant solution toward enabling the end users (resource owners) to authorize third-party providers to access their resources.
The classical OAuth flow is also called a 3-leg OAuth flow as it involves 3 parties:

Please check the specification and the Wikipedia article as well as other resources available on the WEB for more information you may need to know about OAuth.

Maven dependencies

<dependency>
  <groupId>org.apache.cxf</groupId>
  <artifactId>cxf-rt-rs-security-oauth</artifactId>
  <version>2.5.0</version>
</dependency>
  • No labels