Browse Source

SEC-581: Copy authentication details to CAS result token

Luke Taylor 17 năm trước cách đây
mục cha
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) {
             result = this.authenticateNow(authentication);
+            result.setDetails(authentication.getDetails());
         }
 
         if (stateless) {