remove security auto-config

This commit is contained in:
Loredana Crusoveanu 2018-05-12 19:36:06 +03:00
parent 4d800396b8
commit 7cb7928ebf
1 changed files with 2 additions and 1 deletions

View File

@ -2,8 +2,9 @@ package com.example.activitiwithspring;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration;
@SpringBootApplication @SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class ActivitiWithSpringApplication { public class ActivitiWithSpringApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(ActivitiWithSpringApplication.class, args); SpringApplication.run(ActivitiWithSpringApplication.class, args);