Grabbing JNDIRealm Authentication Roles

2005-11-18 Thread PHIL CAVAZOS
Does anyone know how to grab user roles from the JNDIRealm authentication classes once a user logs in to a servlet context? I'm attempting to dynamically present content based on the user roles the user authenticates with. Another way to put my question is if there is a way to grab the LDAP

RE: Grabbing JNDIRealm Authentication Roles

2005-11-18 Thread PHIL CAVAZOS
manager, dispatch the manager.jsp; if user is an employee, dispatch the employee.jsp, etc), is to use the isUserInRole method of HttpServletRequest. This solution doesn't depend on which realm you are using in your server. ND -Original Message- From: PHIL CAVAZOS [mailto:[EMAIL PROTECTED

Re: Tomcat and linux system users

2005-11-14 Thread PHIL CAVAZOS
I think you would have to manually add the user accounts into the user XML file, then base these on groups for each context. Confidentiality Notice: The information contained in this email and any attachments may be legally privileged and confidential. If you are not an intended recipient, you

Re: Config problem: AAA and LDAP

2005-11-08 Thread PHIL CAVAZOS
what ldap server are you trying to connect to? Active Directory, eDirectory, or OpenLDAP [EMAIL PROTECTED] 11/8/2005 1:20:00 pm Hi all, I have just created a simple webapp hosted with Tomcat v5.0.28, and I want to add container managed security against an LDAP server. Following the Tomcat

Re: response.sendError

2005-11-04 Thread PHIL CAVAZOS
/2005 2:49:10 pm A guess without seeing the stack trace but I suspect that some of your response has been committed before you issue the redirect. This will cause an ISE to be thrown. See SRV.15.5 Mark PHIL CAVAZOS wrote: Anyone run across this before? I created a servlet which has JDBC calls

Re: How to use 2 different authentication types for one applicatio

2005-10-27 Thread PHIL CAVAZOS
I've not done this before, but I'm wondering if Tomcat will allow you to setup two separate security configs within the context deployer. One used specifically for GET, and the other for POST. Try this. [EMAIL PROTECTED] 10/27/05 4:07 AM Hello, I have an application which has two different