KEYCLOAK-16862 Avoid NPE on realm update with trace enabled
This commit is contained in:
parent
eacc95b699
commit
8fcbf465d9
1 changed files with 3 additions and 0 deletions
|
@ -438,6 +438,9 @@ public class RealmAdminResource {
|
|||
realm.getUserStorageProvidersStream().forEachOrdered(fedProvider ->
|
||||
usersSyncManager.notifyToRefreshPeriodicSync(session, realm, fedProvider, false));
|
||||
|
||||
// This populates the map in DefaultKeycloakContext to be used when treating the event
|
||||
session.getContext().getUri();
|
||||
|
||||
adminEvent.operation(OperationType.UPDATE).representation(StripSecretsUtils.strip(rep)).success();
|
||||
|
||||
if (rep.isDuplicateEmailsAllowed() != null && rep.isDuplicateEmailsAllowed() != wasDuplicateEmailsAllowed) {
|
||||
|
|
Loading…
Reference in a new issue