aspose file tools*
The moose likes Security and the fly likes Mapping groups to roles in Glassfish Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Mapping groups to roles in Glassfish" Watch "Mapping groups to roles in Glassfish" New topic
Author

Mapping groups to roles in Glassfish

Vladimir Mokrozub
Greenhorn

Joined: Aug 31, 2012
Posts: 12
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mapping groups to roles in Glassfish