I'm doing a project in Eclipse with JSF 2.2, JPA 2.1, Hibernate 5, Primefaces 5.3, CDI (weld 1.1).
I want to implement the security part of the application and I am in doubt between JAAS and Spring Security.
The template below corresponds to what I want to do:
The registration of pages will be fixed in the database, but the registration of profiles and people will be dynamic, ie, I will be able to register several access profiles (with several pages) and link them to people.
My questions are: