Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Form Based Authentication : connection and bind to directory problems (part

Form Based Authentication : connection and bind to directory problems (part

2006-11-29       - By Martin Gainty

 Back
Christopher-

A programmatic example and javadoc is located here
http://tomcat.apache.org/tomcat-5 (See http://cat-5.ora-code.com).5-doc/catalina/docs/api/org/apache/catalina
/realm/JNDIRealm.html#referrals

HTH
M-
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination,
distribution or copying of it or its
contents


> -- -- Original Message -- --
> From: "Christopher Buffington" <buffingtonc@(protected)>
> To: <users@(protected)>
> Sent: Wednesday, November 29, 2006 1:54 PM
> Subject: Form Based Authentication : connection and bind to directory problems
>
>
>> I'm trying to use form based authentication with JNDIRealm to validate users
>> in an Active Directory Application Mode (ADAM) directory. I have a small
>> test app working; however, I must enable anonymous binds in ADAM or provide
>> the username and password in the realm element. Obviously both of these
>> options are not ideally secure.
>>
>>
>> What I want is to have the Tomcat connect and bind to the directory with the
>> username and password supplied in the login form. The Realms and AAA section
>> of the docs say this: "If these properties (connectionName and
>> connectionPassword) are not specified the connection is anonymous. This is
>> sufficient in many cases." What I run in to is that when Tomcat tries the
>> initial connection it fails. I then cannot connect and bind with the user
>> name and password supplied by the form. Does anyone know of a way to force
>> Tomcat to attempt the connection and bind after the failed connection
>> attempt?
>>
>>
>> Thank you
>>
>> Chris
>>

©2008 junlu.com - Jax Systems, LLC, U.S.A.