SEC-1084: Retain Authentication.details when authenticating in LdapAuthenticationProvider #1335

Closed
spring-issuemaster opened this Issue Jan 21, 2009 · 1 comment

1 participant

@spring-issuemaster

Kim Thrysøe (Migrated from SEC-1084) said:

It seems that the LdapAuthenticationProvider looses any details set on the incomming Authentication.details property. Several other AuthenticationProviders retain these details

Unless of course this is intentional it should be trivial to improve this with simply copying the details, thus making them available to the application.

Simple suggestion attached as patch.

@spring-issuemaster

Luke Taylor said:

Thanks for spotting this. I’ve updated the default createSuccessfulAuthentication method to add the details to the authentication result.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment