Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jersey RESTful & shiro & oAuth tutorial [closed]

Tags:

oauth

jersey

i'm looking for an good jersey & shiro & oAuth tutorial to secure my resouces. Any hint would be great.

like image 570
RenHoek Avatar asked Apr 29 '11 12:04

RenHoek


People also ask

What is Jersey in REST API?

Jersey is Sun's production quality reference implementation for JSR 311: JAX-RS: The Java API for RESTful Web Services. Jersey implements support for the annotations defined in JSR-311, making it easy for developers to build RESTful web services with Java and the Java JVM.

What is the use of Jersey framework?

Jersey is an open source framework for developing RESTful Web Services. It serves as a reference implementation of JAX-RS. In this article, we'll explore the creation of a RESTful Web Service using Jersey 2. Also, we'll use Spring's Dependency Injection (DI) with Java configuration.

What is difference between Jersey and spring REST?

Jersey is the JAX-RS API example implementation provided by Sun, while Spring REST is of course Spring's implementation of the same API/JSRs. The major difference is that Spring REST easily integrates into other Spring APIs (if you wish) such as Spring Data Rest.

What is difference between Jersey and JAX-RS?

JAX-RS is an specification (just a definition) and Jersey is a JAX-RS implementation. Jersey framework is more than the JAX-RS Reference Implementation. Jersey provides its own API that extend the JAX-RS toolkit with additional features and utilities to further simplify RESTful service and client development.


1 Answers

I've written a Jersey + Shiro tutorial weeks ago. Shiro's team is actually working on an OAuth authentication integration. For a complete integration, I guess you'll have to wait for version 1.2.

like image 127
yves amsellem Avatar answered Oct 19 '22 12:10

yves amsellem