tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Basic/Form-based authentication with Tomat 6.0
Date Thu, 11 Feb 2010 20:26:35 GMT
Christopher Schultz wrote:
> Hash: SHA1
> Nicholas,
> On 2/11/2010 3:19 PM, Nicholas Duan wrote:
>> I am not sure if this is a configuration problem, but I can't get the
>> basic/form-based authentication working on Tomcat 6.0, and couldn't
>> even get the protected jsp example
>> (http://localhost:8080/examples/jsp/security/protected) that bundled
>> with the tomcat distribution.
>> I've tried the latest tomcat 6.0.24 on both 32-bit windows and 64-bit
>> linux, and didn't get it to work.  I've also tried to configure my
>> own MemoryRealm that uses the default tomcat-users.xml file and still
>> could get it to work. I never had this problem with Tomcat 5...
> Could you describe "didn't work" in a bit more detail? Did your server
> catch fire? Did your web browser crash? Did Tomcat crash? Or, were you
> asked for your password repeatedly even though you think you were
> entering it correctly?
> Certainly, providing some of your configuration along with your next
> post would be helpful.
Apart from the above, and just for fun :
have you verified that the section with the usernames, roles etc.. in 
tomcat-users.xml is not commented-out ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message