Reputation: 16233
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?
Upvotes: 2
Views: 4878
Reputation: 864
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 !!
Upvotes: 3
Reputation: 1249
I think, if you dont have specifics, You should use Token Based Authentication.
The authentication happens on another service, and not with the rest service, once authenticated, the token can be used and given to the client to access REST services.
Upvotes: 0