aspose file tools
The moose likes Tomcat and the fly likes JAASRealm and groups Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "JAASRealm and groups" Watch "JAASRealm and groups" New topic
Author

JAASRealm and groups

Atul Mishra
Ranch Hand

Joined: Jun 08, 2006
Posts: 140
Hi all,

I have just configured a Jaasrealm in tomcat which retrieves user principal and role principals from the database.
Now for displaying in the web page, roles have to be grouped by specifying groups

Example: If I get users,myuser from database, the webpage [existing page, expects a role of appusers], where appusers is a "group".

How do I specify a group information in tomcat ?
where can I associate roles to groups in tomcat

Thanks
Atul
Atul Mishra
Ranch Hand

Joined: Jun 08, 2006
Posts: 140
Any suggestions anyone ? please help
Is this possible atleast
we are migrating from sunone web server and in sunone there is a role -group mapping. A set of roles can be grouped and specified in sunone's deployment descriptor file.

I have tried adding role-links in Tomcat's web.xml file - didnt help. I tried creating entries in tomcat-users.xml file, didnt help

Please help

Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JAASRealm and groups
 
Similar Threads
Unable to get TomcatManager console
Accessing Role-Groups Mapped at Deploy time
how to redirect to success page in tomcat using its lapd configuration
Don't understand defining roles in HFJS book
Strange issue with groups and roles in WLS 7.0