posted 7 years ago
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?