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 132132 <groupId >org.springframework.boot</groupId >
133133 <artifactId >spring-boot-starter-actuator</artifactId >
134134 </dependency >
135+ <dependency >
136+ <groupId >org.springframework.session</groupId >
137+ <artifactId >spring-session-data-redis</artifactId >
138+ </dependency >
139+ <dependency >
140+ <groupId >io.lettuce</groupId >
141+ <artifactId >lettuce-core</artifactId >
142+ </dependency >
135143
136144 <!-- Spring social security components -->
137145 <!-- Note: also includes an embedded datasource (H2) to remember social logins -->
Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ private static void setDefaultProperties(SpringApplication app ) {
123123 Properties properties = new Properties ();
124124 properties .put ("management.health.ldap.enabled" , false );
125125 properties .put ("management.endpoint.health.probes.enabled" , true );
126+
127+ // use in-memory session storage by default. Can be overwritten in application.yml
128+ properties .put ("spring.session.store-type" , "none" );
126129 app .setDefaultProperties (properties );
127130 }
128131
You can’t perform that action at this time.
0 commit comments