0

I have a REST API implemented with the following technologies:

  • Jersey 1.19 (JSR 311)
  • Jackson
  • Jettison
  • Java 5
  • Tomcat 7

Currently I implement Basic Authentication using a servlet filter but I need to implement token-based authentication.

How do I do that? What is the best tutorial?

cassiomolin
  • 124,154
  • 35
  • 280
  • 359
Marin
  • 1,010
  • 1
  • 10
  • 37
  • 1
    This solution uses JAX-RS 2.0, but you can get some inspiration from it: [Best practice for REST token-based authentication with JAX-RS and Jersey](http://stackoverflow.com/a/26778123/1426227) – cassiomolin Mar 29 '16 at 14:51
  • 1
    Just be aware that [Tomcat 7 supports Java 6 and later](http://tomcat.apache.org/whichversion.html). – cassiomolin Mar 29 '16 at 14:57
  • work :D thanks people – Marin Apr 01 '16 at 13:14

0 Answers0