OAuth 2 Java Rest API

I have Rest API which require authentication. The application is completely written in java. Is there any libraries present for oauth server side implementation for Rest API ?

I have already checked the spring ouath2 security but I am not sure about the support towards Jersey library as I am using it for development. Can you suggest libraries or documentation for ouath authentication in java

Upvotes: 0

Views: 1183

Answers (1)

Vijay Nandwana
Vijay Nandwana

Reputation: 2644

Spring Security appears to be the only framework that provides complete implementation for Oauth 2.0 specifications. Spring supports almost all of JAX-RS implementations (including Jersey).

You might need to tweak these Jersey properties to suit your needs.

Check out this known customization required when using Jersey.

Spring Security OAuth 2.0 developer guide.

Upvotes: 1

Related Questions