jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Accessing Role-Groups Mapped at Deploy time" Watch "Accessing Role-Groups Mapped at Deploy time" New topic

Accessing Role-Groups Mapped at Deploy time

C Trager

Joined: Aug 04, 2010
Posts: 13
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?
I agree. Here's the link: http://aspose.com/file-tools
subject: Accessing Role-Groups Mapped at Deploy time
It's not a secret anymore!