Search code examples
javasecurityjerseyws-security

Securing RESTful webservices (Jersey on Tomcat)


I have implemented a number of web services using Jersey. What I need to do now is to secure them. This means I need to encrypt the data transferred and authenticate users. The server I'm using is Tomcat

Is there any articles and tutorials for this?


Solution

  • For encryption you can use https in tomcat. Here is the guide on how to do it. For authentication you can use have a look at this post.

    Hope this helps !!