Tomcat authentication from python
Michael Oliver
ollie at alariussystems.com
Sun Jan 15 11:17:34 EST 2006
I need to access tomcat applications from python, some are Axis/SOAP web
services, and some are file/WebDAV operations.
But so far I cannot get python to authenticate and access
http://localhost:8080/manager/html much less to any of the other
applications.
I have found examples for httplib with a base64 Basic Authentication header,
and a urllib2 Authentication Handler, but neither one works.
I am not an experienced python developer, but I am an experienced Java
Developer. I am using PyDev plugin for Eclipse, I am using Python24.
I can connect to tomcat without authentication for those pages/uri's that do
not require authentication on that tomcat server, so the problem is with the
authentication mechanism in python. Obviously I can connect to the entire
site and all applications with a browser and programmatically from Java.
Any help greatly appreciated.
<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/20060115/1f3e28c8/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/20060115/1f3e28c8/attachment.gif>
More information about the Python-list
mailing list