upgrade to spring boot 2

This commit is contained in:
DOHA
2018-07-09 18:43:55 +03:00
parent 41b847381b
commit 9b27ab5754
14 changed files with 60 additions and 36 deletions

View File

@@ -2,7 +2,7 @@ package org.baeldung.config;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.Bean;
import org.springframework.web.context.request.RequestContextListener;

View File

@@ -5,6 +5,7 @@ import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
@EnableOAuth2Sso
@Configuration
public class UiSecurityConfig extends WebSecurityConfigurerAdapter {

View File

@@ -1,6 +1,7 @@
server:
port: 8082
context-path: /ui
servlet:
context-path: /ui
session:
cookie:
name: UISESSION