Skip to content

Commit b6e5fbc

Browse files
committed
work in progress
1 parent e63b017 commit b6e5fbc

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@
6565

6666
<dependencyManagement>
6767
<dependencies>
68+
<!--
6869
<dependency>
6970
<groupId>org.springframework.session</groupId>
7071
<artifactId>spring-session-bom</artifactId>
7172
<version>Corn-SR2</version>
7273
<type>pom</type>
7374
<scope>import</scope>
7475
</dependency>
76+
-->
7577
<dependency>
7678
<groupId>org.webjars</groupId>
7779
<artifactId>font-awesome</artifactId>
@@ -203,6 +205,10 @@
203205
<groupId>org.webjars</groupId>
204206
<artifactId>ckeditor</artifactId>
205207
</dependency>
208+
<dependency>
209+
<groupId>org.springframework.session</groupId>
210+
<artifactId>spring-session-core</artifactId>
211+
</dependency>
206212
<dependency>
207213
<groupId>org.springframework.session</groupId>
208214
<artifactId>spring-session-jdbc</artifactId>

src/main/java/org/woehlke/simpleworklist/config/ApplicationProperties.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
import javax.validation.constraints.NotNull;
1111

1212
@Component
13-
@Validated
1413
@Getter
1514
@Setter
1615
@ConfigurationProperties(prefix="org.woehlke.simpleworklist")
16+
@Validated
1717
public class ApplicationProperties {
1818

1919
@Valid
@@ -84,10 +84,8 @@ public static class WebMvc {
8484
@NotNull
8585
private Integer controllerPageSize;
8686

87-
@NotNull
8887
private String[] staticResourceHandler;
8988

90-
@NotNull
9189
private String[] dynaicResourceHandler;
9290
}
9391

@@ -102,7 +100,6 @@ public static class WebSecurity {
102100
@NotNull
103101
private String logoutUrl;
104102

105-
@NotNull
106103
private String[] cookieNamesToClear;
107104

108105
@NotNull
@@ -123,7 +120,6 @@ public static class WebSecurity {
123120
@NotNull
124121
private String loginPage;
125122

126-
@NotNull
127123
private String[] antPatternsPublic;
128124

129125
@NotNull

src/main/resources/application.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ spring:
1717
open-in-view: true
1818
generate-ddl: true
1919
hibernate:
20-
ddl-auto: update
21-
#ddl-auto: create-drop
20+
#ddl-auto: update
21+
ddl-auto: create-drop
2222
properties:
2323
hibernate:
2424
dialect: org.hibernate.dialect.PostgreSQL95Dialect

0 commit comments

Comments
 (0)