//Initialize the existing identity mappers.
for (String mapperName : rootConfiguration.listIdentityMappers())
{
IdentityMapperCfg mapperConfiguration =
rootConfiguration.getIdentityMapper(mapperName);
mapperConfiguration.addChangeListener(this);
if (mapperConfiguration.isEnabled())
{
String className = mapperConfiguration.getJavaClass();
try
{
IdentityMapper mapper = loadMapper(className, mapperConfiguration,
true);
identityMappers.put(mapperConfiguration.dn(), mapper);
DirectoryServer.registerIdentityMapper(mapperConfiguration.dn(),
mapper);
}
catch (InitializationException ie)
{
logError(ie.getMessageObject());