Created
May 28, 2019 09:35
-
-
Save darbyluv2code/8f83ee5e201f59863ccb4e99dd966711 to your computer and use it in GitHub Desktop.
spring security - user registration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # JDBC connection properties | |
| # | |
| jdbc.driver=com.mysql.jdbc.Driver | |
| jdbc.url=jdbc:mysql://localhost:3306/spring_security_custom_user_demo?useSSL=false&serverTimezone=UTC | |
| jdbc.user=hbstudent | |
| jdbc.password=hbstudent | |
| # | |
| # Connection pool properties | |
| # | |
| connection.pool.initialPoolSize=5 | |
| connection.pool.minPoolSize=5 | |
| connection.pool.maxPoolSize=20 | |
| connection.pool.maxIdleTime=3000 | |
| # | |
| # Hibernate properties | |
| # | |
| hibernate.dialect=org.hibernate.dialect.MySQLDialect | |
| hibernate.show_sql=true | |
| hiberante.packagesToScan=com.luv2code.springsecurity.demo.entity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" 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"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.luv2code</groupId> | |
| <artifactId>spring-security-custom-user-registration-demo</artifactId> | |
| <version>1.0</version> | |
| <packaging>war</packaging> | |
| <name>spring-security-custom-user-registration-demo</name> | |
| <properties> | |
| <springframework.version>5.0.5.RELEASE</springframework.version> | |
| <springsecurity.version>5.0.4.RELEASE</springsecurity.version> | |
| <hibernate.version>5.4.1.Final</hibernate.version> | |
| <mysql.connector.version>5.1.45</mysql.connector.version> | |
| <c3po.version>0.9.5.2</c3po.version> | |
| <maven.compiler.source>1.8</maven.compiler.source> | |
| <maven.compiler.target>1.8</maven.compiler.target> | |
| </properties> | |
| <dependencies> | |
| <!-- Spring MVC support --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-webmvc</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| <!-- Spring Security --> | |
| <!-- spring-security-web and spring-security-config --> | |
| <dependency> | |
| <groupId>org.springframework.security</groupId> | |
| <artifactId>spring-security-web</artifactId> | |
| <version>${springsecurity.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.springframework.security</groupId> | |
| <artifactId>spring-security-config</artifactId> | |
| <version>${springsecurity.version}</version> | |
| </dependency> | |
| <!-- Add Spring Security Taglibs support --> | |
| <dependency> | |
| <groupId>org.springframework.security</groupId> | |
| <artifactId>spring-security-taglibs</artifactId> | |
| <version>${springsecurity.version}</version> | |
| </dependency> | |
| <!-- Spring Transactions --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-tx</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| <!-- Spring ORM --> | |
| <dependency> | |
| <groupId>org.springframework</groupId> | |
| <artifactId>spring-orm</artifactId> | |
| <version>${springframework.version}</version> | |
| </dependency> | |
| <!-- Hibernate Core --> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-core</artifactId> | |
| <version>${hibernate.version}</version> | |
| </dependency> | |
| <!-- Add MySQL and C3P0 support --> | |
| <dependency> | |
| <groupId>mysql</groupId> | |
| <artifactId>mysql-connector-java</artifactId> | |
| <version>${mysql.connector.version}</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.mchange</groupId> | |
| <artifactId>c3p0</artifactId> | |
| <version>${c3po.version}</version> | |
| </dependency> | |
| <!-- Servlet, JSP and JSTL support --> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>javax.servlet-api</artifactId> | |
| <version>3.1.0</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet.jsp</groupId> | |
| <artifactId>javax.servlet.jsp-api</artifactId> | |
| <version>2.3.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>javax.servlet</groupId> | |
| <artifactId>jstl</artifactId> | |
| <version>1.2</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>3.8.1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <!-- Hibernate Validator --> | |
| <dependency> | |
| <groupId>org.hibernate</groupId> | |
| <artifactId>hibernate-validator</artifactId> | |
| <version>6.0.7.Final</version> | |
| </dependency> | |
| <!-- to compensate for java 9+ not including jaxb --> | |
| <dependency> | |
| <groupId>javax.xml.bind</groupId> | |
| <artifactId>jaxb-api</artifactId> | |
| <version>2.3.0</version> | |
| </dependency> | |
| </dependencies> | |
| <build> | |
| <finalName>spring-security-custom-user-registration-demo</finalName> | |
| <pluginManagement> | |
| <plugins> | |
| <plugin> | |
| <!-- Add Maven coordinates (GAV) for: maven-war-plugin --> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-war-plugin</artifactId> | |
| <version>3.2.0</version> | |
| </plugin> | |
| </plugins> | |
| </pluginManagement> | |
| </build> | |
| </project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment