CHE-10861 Fix mapping of MachineLoginFilter to filter websocket endpoints

6.19.x
Sergii Leshchenko 2018-08-23 16:54:42 +03:00
parent 2c2a53c967
commit 2c755f2b1d
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ public class WsMasterServletModule extends ServletModule {
}
private void configureMultiUserMode() {
// Not contains '/websocket/' and not ends with '/ws' or '/eventbus'
filterRegex("^(?!.*/websocket/)(?!.*(/ws|/eventbus)$).*").through(MachineLoginFilter.class);
filterRegex(".*").through(MachineLoginFilter.class);
install(new KeycloakServletModule());
}
}