I have Netscape Directory Server running (referred to as iPlanet in the
book)and I'm unable to make the exercise at the bottom of p498 work ie to
authenticate examples/jsp/security/protected as an ldap user contained in
the directory server.
In order to get ldapAuthCheck to work at all with Tomcat 3.2, I had to
change it (it would not compile) to extend something other than
org.apache.tomcat.request.SecurityCheck, since that seems to have
disappeared. I've used SimpleRealm, but its a total guess based on it
containing the methods that ldapAuthCheck overrides.
My code executes authenticate, and then super.authenticate, returns from
there, but Tomcat does not call checkPassword or userInRole.
Does anyone have any ideas? I'm pretty sure the Directory Server is OK,
because I can run a stand-alone java program against it and simulate what
Tomcat should be doing.
Thanks for any help
Mike
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to pro_jsp as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-pro_jsp-$subst('Recip.MemberIDChar')@p2p.wrox.com