Spring Secured PDF Creator
Before Use
mysql.server start
Also change mysql user to = root , password to = 987654321
(if you want to define your own mysql user credentials change the application.properties file.
Do not use "user = root" on production stage!
How to play with this project
Just execute it with maven
git clone https://github.com/gokcan/Spring-Secured-PDF.git
cd Spring-Secured-PDF
mvn spring-boot:run
Endpoints
GET localhost:8080/ (Entry Point)
GET localhost:8080/register
GET localhost:8080/login
GET localhost:8080/list-users
"List Users in a table" and "Download PDF" features are not allowed to normal users. On the other hand, freshly registered users have the Admin role by default.
However you can change this logic and tailor it to your needs.