1
0
forked from PGL/Clyde

added spring boot security without the login page

This commit is contained in:
Bartha Maxime 2024-03-06 17:30:13 +01:00
parent b72c0a8e17
commit 7222bca6e2
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-mail") implementation("org.springframework.boot:spring-boot-starter-mail")
implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-security")
// implementation("org.springframework.session:spring-session-jdbc") // implementation("org.springframework.session:spring-session-jdbc")
developmentOnly("org.springframework.boot:spring-boot-devtools") developmentOnly("org.springframework.boot:spring-boot-devtools")
developmentOnly("org.springframework.boot:spring-boot-docker-compose") developmentOnly("org.springframework.boot:spring-boot-docker-compose")

View File

@ -2,8 +2,9 @@ package ovh.herisson.Clyde;
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.servlet.SecurityAutoConfiguration;
@SpringBootApplication @SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
public class ClydeApplication { public class ClydeApplication {
public static void main(String[] args) { public static void main(String[] args) {