File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Mapping groups to roles in Glassfish
 
Similar Threads
Uninstalling Glassfish Server from GlashFish Tool Bundle for Eclipse
Security System Design
Don't understand defining roles in HFJS book
Application Security with LDAP
Role management