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
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
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
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
/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
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