CHE-10861 Fix mapping of MachineLoginFilter to filter websocket endpoints
parent
2c2a53c967
commit
2c755f2b1d
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue