Browse Source

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

1.0.x
Ben Alex 21 years ago
parent
commit
204da55a0b
  1. 2
      core/src/main/java/org/acegisecurity/providers/dao/PasswordDaoAuthenticationProvider.java
  2. 1
      doc/xdocs/changes.xml

2
core/src/main/java/org/acegisecurity/providers/dao/PasswordDaoAuthenticationProvider.java

@ -293,7 +293,7 @@ public class PasswordDaoAuthenticationProvider implements AuthenticationProvider @@ -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;
}

1
doc/xdocs/changes.xml

@ -29,6 +29,7 @@ @@ -29,6 +29,7 @@
<action dev="benalex" type="fix">Correct location of AuthenticationSimpleHttpInvokerRequestExecutor in clientContext.xml</action>
<action dev="benalex" type="fix">TokenBasedRememberMeServices changed to use long instead of int for tokenValiditySeconds (SPR-807)</action>
<action dev="benalex" type="fix">Handle null Authentication.getAuthorities() in AuthorizeTag</action>
<action dev="benalex" type="fix">PasswordDaoAuthenticationProvider no longer stores String against Authentication.setDetails()</action>
<action dev="benalex" type="update">Add credentialsExpiredFailureUrl getter/setter to AbstractProcessingFilter</action>
<action dev="benalex" type="update">Update commons-codec dependency to 1.3</action>
<action dev="raykrueger" type="update">AbstractProcessingFilter no longer has setters for failures, it uses the exceptionMappings property</action>

Loading…
Cancel
Save