Security constraits in javaee7 tutorial dukes-forest from Oracle
posted 2 years ago
The problem is security-constraint. There are two groups/roles USERS and ADMINS. After authentication, any user can enter the path /admin/ *, but should only admins. web.xml and glassfish-web.xml like configured correctly:
In entities porject pom.xml have strings for jdbcRealm
Log finest level when i auth with regular user, same for admin.