IdentityObjectTypeMapper typeMapper) throws IdentityException
{
this.realmName = realmName;
IdentityStoreSession storeSession = repository.createIdentityStoreSession();
final IdentityStoreInvocationContext invocationCtx = new SimpleIdentityStoreInvocationContext(storeSession, realmName);
IdentityStoreInvocationContextResolver resolver = new IdentityStoreInvocationContextResolver()
{
public IdentityStoreInvocationContext resolveInvocationContext()
{