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…
Reference in New Issue