java - Spring security https authentication -
I'm using Spring Protection 3.2.5 and Tomcat 7. When I need authentication for a page (on a remote server) Https), I have not been redirected to the default spring security login form.
My security. Xml:
& lt; Security: blocking-url pattern = "/ **" access = "authorized ()" required-channel = "https" /> & Lt; Security: Port-Mapping & gt; & Lt ;! - Default port - & gt; & Lt; Security: Portmapping http = "8080" https = "443" /> & Lt; / Security: Port-Mapping & gt; The error I get is:
X.X.XXX.42 Google Chrome's connection attempt was rejected. The website may be down, or your network can not be properly configured. ERR_CONNECTION_REFUSED I tried to follow this tutorial:
Blockquote
You say (in the comments) that you can access the login page directly using HTTPS, but when you try it load balancer Together , you press the error.
I believe that you do not have to configure Tomcat to work with HTCTPS, but also Load Balancer if you work with F5, it can be helpful.
(As a side note, tagging this question should be changed from "Spring Security" to "Load Balancer" etc.)
Comments
Post a Comment