问题
I have implemented rest web services for my application. Since this should not be a public service ,I want to enforce some type of client authentication. Please throw light on how to do that.
FYI, I am using apache Tomcat 7 and a MYSQL database
回答1:
You have a lot of options here - anything from container managed security (basic or digest) to Shiro or Spring Security.
来源:https://stackoverflow.com/questions/12481539/secure-a-rest-web-service-using-jersey