Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Securing Jersey based REST service using oAuth 2.0

I have created RESTful services in java/netbeans using the Jersey Library. Now i want to secure this service using oAuth 2.0.

Are there any libraries or any tutorial to achieve that? I couldn't find anything useful in google.

like image 673
orak Avatar asked Sep 09 '25 20:09

orak


1 Answers

You can use Apache Oltu (formerly Apache Amber): https://cwiki.apache.org/confluence/display/OLTU/Documentation

The Authorization Server and Resource Server sections explain how to secure your REST services.

like image 181
Lukasz Moren Avatar answered Sep 12 '25 12:09

Lukasz Moren