Registration and Login Example with Spring Security, Spring Boot, Spring Data JPA, Hibernate, JSP, Tomcat
- JDK 1.7 or later
- Maven 3 or later
- Spring Security
- Spring Boot
- Spring Data JPA
- Maven
- JSP
- HIBERNATE
- TOMCAT
via terminal:
mysql -u root -p
CREATE DATABASE db_demo;
CREATE USER 'h3x'@'localhost' IDENTIFIED BY 'pass';
GRANT ALL PRIVILEGES ON *.* TO 'h3x'@'localhost';
FLUSH PRIVILEGES;
USE db_demo;
INSERT INTO `role` VALUES (1,'ADMIN');
INSERT INTO `role` VALUES (2,'USER');