Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 39aaa89

Browse files
Updated for Spring Boot 1.3
1 parent 89ff420 commit 39aaa89

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

‎pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>1.2.1.RELEASE</version>
17+
<version>1.3.0.RELEASE</version>
1818
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

2121
<properties>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23-
<start-class>com.naturalprogrammer.spring.socialsample.NpSpringSocialSampleApplication</start-class>
2423
<java.version>1.8</java.version>
2524
</properties>
2625

‎src/main/java/com/naturalprogrammer/spring/socialsample/config/WebSecurityConfig.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices;
2020

2121
@Configuration
22-
@EnableWebMvcSecurity
2322
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
2423

2524
private final Log log = LogFactory.getLog(WebSecurityConfig.class);

‎src/main/resources/application.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#
22
## View resolver
33
#
4-
spring.view.prefix: /WEB-INF/jsp/
5-
spring.view.suffix: .jsp
6-
error.whitelabel.enabled=false
4+
spring.mvc.view.prefix: /WEB-INF/jsp/
5+
spring.mvc.view.suffix: .jsp
6+
server.error.whitelabel.enabled=false
77

88
spring.profiles.active = dev
99
rememberMe.privateKey: some_secret_word

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /