This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Servlets and the fly likes Accessing Role-Groups Mapped at Deploy time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Accessing Role-Groups Mapped at Deploy time" Watch "Accessing Role-Groups Mapped at Deploy time" New topic
Author

Accessing Role-Groups Mapped at Deploy time

C Trager
Greenhorn

Joined: Aug 04, 2010
Posts: 9
Hey all, I'm working on a web app based on Struts2, however I think this question should be in the Servlet forum. I have a login page where I validate the user against LDAP through a separate utility. When I validate the user I also pull a list of all the groups that user is in according to LDAP. Now, in my application I have a role defined, and when I deploy I map an Active Directory group to that role. What I'm trying to accomplish is to find the groups that role is mapped to within my application. I'm not concerned with the user being in any of those roles, I'll do that in my separate utility, I just need to pull that role-group mapping that I define when I deploy the application. Is there a way to pull the role-group mappings defined for an application?
 
wood burning stoves
 
subject: Accessing Role-Groups Mapped at Deploy time