Python Client accessing Tomcat
Michael Oliver
ollie at alariussystems.com
Fri Jan 13 16:48:54 EST 2006
I am trying to write a Python client to access a Tomcat servlet using Tomcat
Realm authentication with no success.
I can use the httplib to connect to localhost port 8080 ok and post and get
and all that is fine, but when I try to set username and password and access
a protected part of tomcat it fails with an Unauthorized.
Does anyone have an example of connecting to Tomcat using the Tomcat Realm
(.i.e. tomcat-users.xml) authentication?
Thanks.
<http://www.alariussystems.com>
<http://mikeoliveraz.blogspot.com> Highly Cohesive and Loosely Coupled
Mike Oliver
CTO
Alarius Systems LLC
<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=6800+E.+Lake+Mead+Blvd&csz=L
as+Vegas%2C+NV+89156&country=us> 6800 E. Lake Mead Blvd
Apt 1096
Las Vegas, NV 89156
<mailto:ollie at alariussystems.com> ollie at alariussystems.com
<http://www.alariussystems.com/> http://www.alariussystems.com/
tel:
fax:
mobile:
(702)953-8949
(702)974-0341
(518)378-6154
<https://www.plaxo.com/add_me?u=25769982367&v0=355403&k0=305933374> Add me
to your address book...
<http://www.plaxo.com/signature> Want a signature like this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060113/a20ec89a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 4147 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20060113/a20ec89a/attachment.gif>
More information about the Python-list
mailing list