package org.ovirt.engine.core.bll.adbroker;

public class LdapCredentials {
    private String userName;
    private String password;

    public LdapCredentials(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}

@@ -347,221 +347,45 @@
 lic 
-void setUserName(String userName) %7B%0A        this.userName = userName;%0A    %7D%0A%0A    public String getPassword() %7B%0A        return password;%0A    %7D%0A%0A    public void setPassword(String password) %7B%0A        this.password =
+String getPassword() %7B%0A        return
  pas

Make LdapCredentials immutable