2020-02-17 11:23:47 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2023-11-23 18:13:52 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2020-02-17 11:23:47 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2020-08-13 03:24:12 -04:00
|
|
|
<artifactId>spring-security-web-boot-2</artifactId>
|
2020-02-17 11:23:47 -05:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2020-08-13 03:24:12 -04:00
|
|
|
<name>spring-security-web-boot-2</name>
|
2020-02-17 11:23:47 -05:00
|
|
|
<packaging>war</packaging>
|
|
|
|
<description>Spring Security MVC Boot - 2</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
2024-01-04 10:43:24 -05:00
|
|
|
<artifactId>parent-boot-3</artifactId>
|
2020-02-17 11:23:47 -05:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2024-01-04 10:43:24 -05:00
|
|
|
<relativePath>../../parent-boot-3</relativePath>
|
2020-02-17 11:23:47 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.thymeleaf.extras</groupId>
|
2024-01-04 10:43:24 -05:00
|
|
|
<artifactId>thymeleaf-extras-springsecurity6</artifactId>
|
2020-02-17 11:23:47 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-data</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-11-21 00:30:57 -05:00
|
|
|
<groupId>com.mysql</groupId>
|
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
2020-02-17 11:23:47 -05:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.postgresql</groupId>
|
|
|
|
<artifactId>postgresql</artifactId>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>taglibs</groupId>
|
|
|
|
<artifactId>standard</artifactId>
|
|
|
|
<version>${taglibs-standard.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-taglibs</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-core</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-config</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
<version>${ehcache-core.version}</version>
|
|
|
|
<type>jar</type>
|
|
|
|
</dependency>
|
2024-01-04 10:43:24 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.rest-assured</groupId>
|
|
|
|
<artifactId>rest-assured</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents.client5</groupId>
|
|
|
|
<artifactId>httpclient5</artifactId>
|
|
|
|
</dependency>
|
2020-02-17 11:23:47 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<version>${cargo-maven2-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<wait>true</wait>
|
|
|
|
<container>
|
|
|
|
<containerId>tomcat8x</containerId>
|
|
|
|
<type>embedded</type>
|
|
|
|
<systemProperties>
|
|
|
|
<!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
|
|
|
|
</systemProperties>
|
|
|
|
</container>
|
|
|
|
<configuration>
|
|
|
|
<properties>
|
|
|
|
<cargo.servlet.port>8082</cargo.servlet.port>
|
|
|
|
</properties>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>live</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.cargo</groupId>
|
|
|
|
<artifactId>cargo-maven2-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-server</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-server</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>none</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*LiveTest.java</include>
|
|
|
|
</includes>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<webTarget>cargo</webTarget>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>entryPoints</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*IntTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*EntryPointsTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
2021-05-17 10:52:27 -04:00
|
|
|
<!-- <start-class>com.baeldung.jdbcauthentication.postgre.PostgreJdbcAuthenticationApplication</start-class> -->
|
2020-02-29 10:12:08 -05:00
|
|
|
<!--This runs the example with the multiple logins application -->
|
|
|
|
<start-class>com.baeldung.multiplelogin.MultipleLoginApplication</start-class>
|
2022-09-13 11:52:49 -04:00
|
|
|
<!--If you want to run the example with the multiple http elements, comment the tag above and -->
|
|
|
|
<!-- uncomment the one below -->
|
2020-02-29 10:12:08 -05:00
|
|
|
<!--<start-class>com.baeldung.multipleentrypoints.MultipleEntryPointsApplication</start-class> -->
|
2022-09-13 11:52:49 -04:00
|
|
|
<!--If you want to run the example with the Https enabled endpoints, comment the tag above and -->
|
|
|
|
<!--uncomment the one below -->
|
2020-02-29 10:12:08 -05:00
|
|
|
<!-- <start-class>com.baeldung.ssl.HttpsEnabledApplication</start-class> -->
|
2020-02-17 11:23:47 -05:00
|
|
|
<taglibs-standard.version>1.1.2</taglibs-standard.version>
|
|
|
|
<cargo-maven2-plugin.version>1.6.1</cargo-maven2-plugin.version>
|
|
|
|
<ehcache-core.version>2.6.11</ehcache-core.version>
|
|
|
|
</properties>
|
|
|
|
|
2021-05-17 10:52:27 -04:00
|
|
|
</project>
|