I am implementing webservices and would like to enforce https on some of the endpoints (but for not all endpoints). For example i have a login endpoint, so it makes sense to use https. and i have getProduct, which just shows product details so it will use http.
I know we can do in Spring web (http://www.acegisecurity.org/guide/s...annel-security)
I have already configured SSL in tomcat. and i am successfully using channel-security.
Now how to do this in webservices? I am not writing any client side but only server side implementation. Any help would be greatly appreciated