GeeCON Prague 2014*
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


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?
 
 
subject: Accessing Role-Groups Mapped at Deploy time