@BeforeClass
public static void initMapOids() throws LdapInvalidDnException
{
// Another map where we store OIDs instead of names.
oidsMap = new HashMap<String, OidNormalizer>();
oidsMap.put( "dc", new OidNormalizer( "0.9.2342.19200300.100.1.25", new DeepTrimToLowerNormalizer() ) );
oidsMap.put( "domaincomponent", new OidNormalizer( "0.9.2342.19200300.100.1.25",
new DeepTrimToLowerNormalizer() ) );
oidsMap.put( "0.9.2342.19200300.100.1.25", new OidNormalizer( "0.9.2342.19200300.100.1.25",
new DeepTrimToLowerNormalizer() ) );
oidsMap.put( "ou", new OidNormalizer( "2.5.4.11", new DeepTrimToLowerNormalizer() ) );
oidsMap.put( "organizationalUnitName", new OidNormalizer( "2.5.4.11", new DeepTrimToLowerNormalizer() ) );
oidsMap.put( "2.5.4.11", new OidNormalizer( "2.5.4.11", new DeepTrimToLowerNormalizer() ) );
referenceDn = new Dn( "dc=example,dc=com" );
referenceDn.normalize( oidsMap );
sharedDn = new Dn( "dc=example,dc=com" );
sharedDn.normalize( oidsMap );