This commit is contained in:
Luke Taylor 2008-06-03 15:49:21 +00:00
parent 70826f1202
commit f762920239

View File

@ -156,9 +156,9 @@ org.springframework.security.AccessDeniedException: Access is denied
<p>This question comes up repeatedly in the Spring Security forum so you will find more information there.</p>
<p>
The submitted login information is processed by an instance of <i>AuthenticationProcessingFilter</i>. 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 <i>UsernamePasswordAuthenticatioToken</i>),
the extra data field(s). One option is to use your own customized authentication token class (rather than the standard <i>UsernamePasswordAuthenticationToken</i>),
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
<i>UsernamePasswordAuthenticatioToken</i>.
<i>UsernamePasswordAuthenticationToken</i>.
</p>
<p>
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