Browse Source

SEC-809: OpenIDProcessingFilter updated to set authentication details (to make compatible with concurrent session control).

Luke Taylor 17 years ago
parent
commit
15b893f9ae

+ 2 - 0
openid/src/main/java/org/springframework/security/ui/openid/OpenIDAuthenticationProcessingFilter.java

@@ -78,6 +78,8 @@ public class OpenIDAuthenticationProcessingFilter extends AbstractProcessingFilt
             throw new AuthenticationServiceException("Consumer error", oice);
             throw new AuthenticationServiceException("Consumer error", oice);
         }
         }
 
 
+        token.setDetails(authenticationDetailsSource.buildDetails(req));
+        
         // delegate to the auth provider
         // delegate to the auth provider
         Authentication authentication = this.getAuthenticationManager().authenticate(token);
         Authentication authentication = this.getAuthenticationManager().authenticate(token);