瀏覽代碼

SEC-581: Copy authentication details to CAS result token

Luke Taylor 17 年之前
父節點
當前提交
62093067cb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/src/main/java/org/acegisecurity/providers/cas/CasAuthenticationProvider.java

+ 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) {