|
@@ -257,7 +257,7 @@ To get around this, you can disable session fixation protection, but in newer Se
|
|
Note that switching between HTTP and HTTPS is not a good idea in general, as any application which uses HTTP at all is vulnerable to man-in-the-middle attacks.
|
|
Note that switching between HTTP and HTTPS is not a good idea in general, as any application which uses HTTP at all is vulnerable to man-in-the-middle attacks.
|
|
To be truly secure, the user should begin accessing your site in HTTPS and continue using it until they log out.
|
|
To be truly secure, the user should begin accessing your site in HTTPS and continue using it until they log out.
|
|
Even clicking on an HTTPS link from a page accessed over HTTP is potentially risky.
|
|
Even clicking on an HTTPS link from a page accessed over HTTP is potentially risky.
|
|
-If you need more convincing, check out a tool like https://www.thoughtcrime.org/software/sslstrip/[sslstrip].
|
|
|
|
|
|
+If you need more convincing, check out a tool like https://github.com/moxie0/sslstrip/[sslstrip].
|
|
|
|
|
|
|
|
|
|
==== I'm not switching between HTTP and HTTPS but my session is still getting lost
|
|
==== I'm not switching between HTTP and HTTPS but my session is still getting lost
|
|
@@ -378,7 +378,7 @@ For third-party jars the situation isn't always quite so obvious.
|
|
A good starting point is to copy those from one of the pre-built sample applications WEB-INF/lib directories.
|
|
A good starting point is to copy those from one of the pre-built sample applications WEB-INF/lib directories.
|
|
For a basic application, you can start with the tutorial sample.
|
|
For a basic application, you can start with the tutorial sample.
|
|
If you want to use LDAP, with an embedded test server, then use the LDAP sample as a starting point.
|
|
If you want to use LDAP, with an embedded test server, then use the LDAP sample as a starting point.
|
|
-The reference manual also includes https://static.springsource.org/spring-security/site/docs/3.1.x/reference/springsecurity-single.html#appendix-dependencies[an appendix] listing the first-level dependencies for each Spring Security module with some information on whether they are optional and what they are required for.
|
|
|
|
|
|
+The reference manual also includes {security-reference-url}#modules[an appendix] listing the first-level dependencies for each Spring Security module with some information on whether they are optional and what they are required for.
|
|
|
|
|
|
If you are building your project with maven, then adding the appropriate Spring Security modules as dependencies to your pom.xml will automatically pull in the core jars that the framework requires.
|
|
If you are building your project with maven, then adding the appropriate Spring Security modules as dependencies to your pom.xml will automatically pull in the core jars that the framework requires.
|
|
Any which are marked as "optional" in the Spring Security POM files will have to be added to your own pom.xml file if you need them.
|
|
Any which are marked as "optional" in the Spring Security POM files will have to be added to your own pom.xml file if you need them.
|