diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml index 568cb6c1a1..054dcb4b6b 100644 --- a/src/site/fml/faq.fml +++ b/src/site/fml/faq.fml @@ -126,5 +126,47 @@ org.springframework.security.AccessDeniedException: Access is denied
++ This happens because Tomcat sessions created under HTTPS cannot subsequently be used under HTTP and any session state is lost (including + the security context information). Starting in HTTP first should work. +
+This question comes up repeatedly in the Spring Security forum so you will find more information there.
++ The submitted login information is processed by an instance of AuthenticationProcessingFilter. You will need to customize this class to handle + the extra data field(s). One option is to use your own customized authentication token class (rather than the standard UsernamePasswordAuthenticatioToken), + another is simply to concatenate the extra fields with the username (for example, using a ":" as the separator) and pass them in the username property of + UsernamePasswordAuthenticatioToken. +
++ You will also need to customize the actual authentication process. If you are using a custom authentication token class, for example, you will have to write an + AuthenticationProvider to handle it (or extend the standard DaoAuthenticationProvider). + If you have concatenated the fields, you can implement your own UserDetailsService which splits them up and loads the appropriated user data to use + for authentication. +
+