Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping groups to roles in Glassfish

 
Vladimir Mokrozub
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

is it possible to automatically map groups to roles in Glassfish using JDBC Realm without explicitly declaring roles? The problem is, I have a table in database that maps users to groups and I want those groups to be roles too. The number of groups is quite large and it can grow in future, so I don't want to manually declare them all. Can I configure Glassfish to use groups as roles automatically?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic