Results 1 to 2 of 2

Thread: Channel Security or https for only few endpoints

  1. #1
    Join Date
    Apr 2008
    Posts
    2

    Default Channel Security or https for only few endpoints

    Hi
    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

    Thanks

  2. #2
    Join Date
    Apr 2008
    Posts
    2

    Default

    Seems nobody is helping sniff...
    Anyway i found something http://static.springframework.org/sp...nsport-context
    i check request.isSecure() and if false return a saop exception.
    I am checking using AOP.

    Now, i don't know if this is the right solution or if there is a better way to do this. If anyone can help it would be great.

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •