提交 1396fd55 编写于 作者: M mindless

[FIXED HUDSON-2958] Make LDAPSecurityRealm.ldapTemplate field transient

so ~279K lines are not written to config.xml


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15003 71c3de6d-444a-0410-be80-ed276b4c234a
上级 77fb186b
......@@ -242,7 +242,7 @@ public class LDAPSecurityRealm extends SecurityRealm {
/**
* Created in {@link #createSecurityComponents()}. Can be used to connect to LDAP.
*/
private LdapTemplate ldapTemplate;
private transient LdapTemplate ldapTemplate;
@DataBoundConstructor
public LDAPSecurityRealm(String server, String rootDN, String userSearchBase, String userSearch, String groupSearchBase, String managerDN, String managerPassword) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册