This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Security constraits in javaee7 tutorial dukes-forest from Oracle  RSS feed

Evgeniy Osipov
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!