Thank you Michiel. I did read your tutorial. I am new to JAAS and security stuff. I am still strugling with it. I have followed all your code and setup in web.xml. My problem is even though from my LoginModule debug statements that the login and LoginModule commit is successful (I just check the username equals password), my resources are still protected and I keep getting the 'Enter Network Password' popup.
Would yuo please shed some light on that? Thank you. -----Original Message----- From: Michiel Toneman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 9:53 AM To: Tomcat Users List Subject: Re: Programmatic Authentication? I've done something similar and written a little tutorial about it at: http://www.kopz.org/public/documents/tomcat/jaasintomcat.html Maybe it helps. Michiel Annie Guo wrote: >Victor: > >I would greatly appreciate it. > >-----Original Message----- >From: Victor R. Cardona [mailto:[EMAIL PROTECTED] >Sent: Wednesday, June 02, 2004 11:56 PM >To: Tomcat Users List >Subject: Re: Programmatic Authentication? > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Annie Guo wrote: >| Mind sharing your code? > >Not at all. I will post it tomorrow. > >Victor >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.2 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFAvqE/8MW+BaXrmuERAhybAKCAijJnR/09NmI4GaPMoVaPHlgAFACeM2aL >sOKKrL/5FysdzIvQx8W4VTY= >=C7EW >-----END PGP SIGNATURE----- > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > -- Michiel Toneman Software Engineer Bibit Global Payment Services Regulierenring 10 3981 LB Bunnik [EMAIL PROTECTED] Tel. +31-30-6595168 Fax +31-30-6564464 http://www.bibit.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]