*/
protected void setUp() throws Exception
{
super.setUp();
LdapBindingConfig ldapConfig = (LdapBindingConfig)ctx.getBean(LdapBindingConfig.class.getName());
InitLdapSchema ldapSchema = new InitLdapSchema(ldapConfig);
try
{
// make sure standard test case schema exists
ldapSchema.initOu("OrgUnit1");
ldapSchema.initOu("People");
ldapSchema.initOu("Roles");
ldapSchema.initOu("People","ou=OrgUnit1");
ldapSchema.initOu("Groups","ou=OrgUnit1");
ldapSchema.initOu("Roles","ou=OrgUnit1");
}
catch (NamingException se)
{
logger.error("Initializing the LDAP directory failed:", se);