LdapDataHelper.setUserSecurityHandler(userHandler);
LdapDataHelper.setCredentialHandler(crHandler);
ldapGroupDao = new LdapGroupDaoImpl(ldapConfig);
ldapRoleDao = new LdapRoleDaoImpl(ldapConfig);
ldapMembershipDao = new LdapMemberShipDaoImpl(ldapConfig);
grHandler = new LdapGroupSecurityHandler(ldapGroupDao);
roleHandler = new LdapRoleSecurityHandler(ldapRoleDao);
LdapDataHelper.setGroupSecurityHandler(grHandler);
LdapDataHelper.setRoleSecurityHandler(roleHandler);