// use direct type mapper
mapper = new DirectIdentityObjectTypeMapperImpl(metaData.getIdentityMapping());
}
else
{
mapper = new IdentityObjectTypeMapperImpl(metaData.getGroupTypeMappings(), metaData.getIdentityMapping());
}
//IdentitySession session = new IdentitySessionImpl(realmName, repo, mapper);
IdentitySessionConfigurationContext sessionConfigCtx =
new IdentitySessionConfigurationContext(realmName, configMD, repo, mapper);