2728293031323334
public static final String ACTION = "PURGE_API_KEYS"; @Override protected Void doRun() { // triggers the expiry of any orphaned cached user principals notifyEventListeners(new AuthorizationConfigurationChanged()); return null; }
369370371372373374375376377
} } } // clear the realm authz caches as user might get roles changed eventBus.post(new AuthorizationConfigurationChanged()); return user; }
452453454455456457458
if (!foundUser) { throw new UserNotFoundException(userId); } // clear the authz realm caches eventBus.post(new AuthorizationConfigurationChanged()); }
371372373374375376377
} } } private void fireAuthorizationChangedEvent() { this.eventBus.post(new AuthorizationConfigurationChanged()); }
50515253545556575859
} } if (rebuiltConfiguration) { // signal rebuild (outside lock to avoid contention) eventBus.post(new AuthorizationConfigurationChanged()); } } return configuration; }