spring-security-jpa
spring-security-jpa copied to clipboard
Code for full Spring Security + JPA + MySQL tutorial: https://youtu.be/TNt3GHuayXs
The problem I had was How to return a html page from a restful controller in spring boot? 1. Must put the html files in resources/templates/ or resources / public....
`locahost:port/user` is protected but `locahost:port/user/` (with one / ) isn't protected. I am also facing same issue and he seems to have the same issue though. Similar for other endpoints...
Added lines for allowing creation of the database schema along with inserting an entry in the table.
"spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy" This line is creating an error. Use "spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl" instead.