File tree Expand file tree Collapse file tree
src/main/java/eu/openanalytics/containerproxy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,12 +148,6 @@ public JSR353Module jsr353Module() {
148148 return new JSR353Module ();
149149 }
150150
151- @ Bean
152- @ ConditionalOnProperty (name = "spring.session.store-type" , havingValue = "redis" )
153- public <S extends Session > SessionRegistry sessionRegistry (FindByIndexNameSessionRepository <S > sessionRepository ) {
154- return new SpringSessionBackedSessionRegistry <S >(sessionRepository );
155- }
156-
157151 @ Bean
158152 public HealthIndicator redisSessionHealthIndicator (RedisConnectionFactory rdeRedisConnectionFactory ) {
159153 if (Objects .equals (environment .getProperty ("spring.session.store-type" ), "redis" )) {
Original file line number Diff line number Diff line change @@ -253,8 +253,8 @@ public void onHttpSessionDestroyedEvent(HttpSessionDestroyedEvent event) {
253253
254254 @ EventListener
255255 public void onHttpSessionCreated (HttpSessionCreatedEvent event ) {
256- log .info (String .format ("Anonymous user logged in [user: %s]" , event .getSession ().getId ()));
257256 if (authBackend .getName ().equals ("none" )) {
257+ log .info (String .format ("Anonymous user logged in [user: %s]" , event .getSession ().getId ()));
258258 applicationEventPublisher .publishEvent (new UserLoginEvent (
259259 this ,
260260 event .getSession ().getId (),
You can’t perform that action at this time.
0 commit comments