mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-06 18:52:13 +00:00
Fix bug where class should delegate to setDetails method - not set the details directly.
This commit is contained in:
parent
ac3d3483b3
commit
699f97929a
@ -77,7 +77,9 @@ public class AuthenticationProcessingFilter extends AbstractProcessingFilter {
|
||||
|
||||
UsernamePasswordAuthenticationToken authRequest = new UsernamePasswordAuthenticationToken(username,
|
||||
password);
|
||||
authRequest.setDetails(request.getRemoteAddr());
|
||||
|
||||
// Allow subclasses to set the "details" property
|
||||
setDetails(request, authRequest);
|
||||
|
||||
return this.getAuthenticationManager().authenticate(authRequest);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user