KEYCLOAK-4077

This commit is contained in:
Bill Burke
2017-01-17 09:20:44 -05:00
parent 3d29816ea3
commit dcf6da2a51

View File

@@ -301,6 +301,7 @@ public class UserStorageManager implements UserProvider, OnUserCache, OnCreateCo
return importValidation(realm, user);
}
UserLookupProvider provider = (UserLookupProvider)getStorageProvider(session, realm, storageId.getProviderId());
if (provider == null) return null;
return provider.getUserById(id, realm);
}