FIX HUDSON-2305 - Project based Matrix Authorization Strategy reverts to

Global Matrix Authorization Strategy on Hudson restart.

  Fixed ProjectMatrixAuthorizationStrategy.ConvertImpl.create() to return
  a ProjectMatrixAuthorizationStrategy instance instead of GlobalMatrix-
  AuthorizationStrategy.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13148 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
dty committed 2008-11-11 04:39:42 +00:00
1 parent c384decf5b
commit bf63d513d5
1 file changed
+1 -1
@@ -52,7 +52,7 @@ public class ProjectMatrixAuthorizationStrategy extends GlobalMatrixAuthorizatio
}
protected GlobalMatrixAuthorizationStrategy create() {
return new GlobalMatrixAuthorizationStrategy();
return new ProjectMatrixAuthorizationStrategy();
}
public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) {