浏览代码

Made no arg constructor protected to enable unit test coverage.

Ben Alex 21 年之前
父节点
当前提交
1a040c7ddf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/src/main/java/org/acegisecurity/adapters/PrincipalAcegiUserToken.java

+ 1 - 1
core/src/main/java/org/acegisecurity/adapters/PrincipalAcegiUserToken.java

@@ -43,7 +43,7 @@ public class PrincipalAcegiUserToken extends AbstractAdapterAuthenticationToken
         this.password = password;
     }
 
-    private PrincipalAcegiUserToken() {
+    protected PrincipalAcegiUserToken() {
         super();
     }