RE: Grabbing JNDIRealm Authentication Roles

2005-11-18 Thread PHIL CAVAZOS
rogramming logic (e.g. if user is of role 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-

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 auth

Re: Newbie question - How to verify version of Tomcat?

2005-11-17 Thread PHIL CAVAZOS
If you log into the manager web page * it should display the version. 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 are hereby notified that any dissemination, distribution,

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 are

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 Tom

Re: response.sendError

2005-11-04 Thread PHIL CAVAZOS
TED] 11/4/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

response.sendError

2005-11-04 Thread PHIL CAVAZOS
Anyone run across this before? I created a servlet which has JDBC calls in it. As part of error catching, I have a response.sendError called if there is no data returned from a table call. I input to the sendError method the value of 700 (my custom error number) and a test message. I have a cus

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 differen

Re: JNDIRealm Configuration

2005-10-26 Thread PHIL CAVAZOS
Looks like I got this to work. My web app is now authenticating with eDirectory using a form-based login. If anyone needs help on this same issue, let me know. I'd be more than willing to reprieve you from the stress this created. >>> [EMAIL PROTECTED] 10/21/2005 1:36:09 pm >>> I need advice on

JNDIRealm Configuration

2005-10-21 Thread PHIL CAVAZOS
I need advice on configuring a JNDIRealm to authenticate with Novell eDirectory. I've attempted to create a JNDIRealm using Tomcat's Administrative GUI. When I click to save, I get a save error. The log file indicates the following... Oct 21, 2005 12:59:13 PM org.apache.catalina.realm.RealmBase st