Results 1 to 3 of 3

Thread: redirect all http calls to https

  1. #1

    Default redirect all http calls to https

    i would like to redirect all http requests to https. is there any way to do it with Spring Security?

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    You would probably be better doing something like that outside Spring Security. If you're using apache, then do it there. Or use a security-constraint in your web.xml to do it. Search the web and you will find plenty of examples.
    Spring - by Pivotal
    twitter @tekul

  3. #3

    Default

    thanks. i found a good solution for Apache at
    http://wiki.apache.org/httpd/RewriteHTTPToHTTPS

Posting Permissions

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