PasswordDaoAuthenticationProvider no longer stores String against Authentication.setDetails().

This commit is contained in:
Ben Alex
2005-04-03 21:48:45 +00:00
parent 32521dde45
commit 204da55a0b
2 changed files with 2 additions and 1 deletions

View File

@@ -293,7 +293,7 @@ public class PasswordDaoAuthenticationProvider implements AuthenticationProvider
UsernamePasswordAuthenticationToken result = new UsernamePasswordAuthenticationToken(principal,
authentication.getCredentials(), user.getAuthorities());
result.setDetails((authentication.getDetails() != null)
? authentication.getDetails().toString() : null);
? authentication.getDetails() : null);
return result;
}