JAVA-6439: Check PR for spring-security-web-sockets module

This commit is contained in:
sampadawagde 2021-09-05 17:08:06 +05:30
parent 6009a3bb87
commit a7fa2acb20
2 changed files with 9 additions and 6 deletions

View File

@ -10,8 +10,8 @@ This module contains articles about WebSockets with Spring Security
### Running This Project:
To build the project, run the command: mvn clean install. This will build a war file in the target folder that you can deploye on a server like Tomcat.
To build the project, run the command: `mvn clean install`. This will build a war file in the target folder that you can deploye on a server like Tomcat.
Alternatively, run the project from an IDE.
Alternatively, run the project from an IDE, with the maven goal `org.codehaus.cargo:cargo-maven2-plugin:run`
To login, use credentials from the data.sql file in src/main/resource, eg: user/password.

View File

@ -155,11 +155,14 @@
<finalName>spring-security-web-sockets</finalName>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.2</version>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.7.6</version>
<configuration>
<path>/spring-security-mvc-socket</path>
<container>
<containerId>tomcat9x</containerId>
<type>embedded</type>
</container>
</configuration>
</plugin>
<plugin>