Issue
I have a Spring 5 MVC/REST application. i using JPA Hibernate as the ORM. I want to secure my application. All examples I see are based on Spring Boot. I want use jwt in my application. I want without XML Config too.
( Spring MVC - 5.2.0.RELEASE )
Solution
I write a sample for use Spring security 5.0.0 none boot and with JWT, dynamic Role. I hope it's good
- Spring MVC 5.0.0
- Spring Security 5.0.0
- hibernate JPA 5.2.11
- and my DB is Oracle DB
you can download it : download from github
Answered By - mohammad_soleimani
Answer Checked By - Senaida (JavaFixing Volunteer)