Browse Source

SEC-581: Copy authentication details to CAS result token

Luke Taylor 17 years ago
parent
commit
62093067cb

+ 1 - 0
core/src/main/java/org/acegisecurity/providers/cas/CasAuthenticationProvider.java

@@ -120,6 +120,7 @@ public class CasAuthenticationProvider implements AuthenticationProvider, Initia
 
 
         if (result == null) {
         if (result == null) {
             result = this.authenticateNow(authentication);
             result = this.authenticateNow(authentication);
+            result.setDetails(authentication.getDetails());
         }
         }
 
 
         if (stateless) {
         if (stateless) {