@Before
 public void setUp() throws Exception {
   ldapServerProperties = new LdapServerProperties();
   ldapServerProperties.setAnonymousBind(true);
   ldapServerProperties.setBaseDN("dc=ambari,dc=apache,dc=org");
   ldapServerProperties.setManagerDn("uid=manager," + ldapServerProperties.getBaseDN());
   ldapServerProperties.setManagerPassword("password");
   ldapServerProperties.setUseSsl(false);
   ldapServerProperties.setPrimaryUrl("1.2.3.4:389");
   ldapServerProperties.setUsernameAttribute("uid");
 }