On 1-dec-05, at 11:57, F Baube wrote:

Geert pointed me to a way nifty HTTP sniffer in Java:

http://ws.apache.org/axis/java/user- guide.html#AppendixUsingTheAxisTCPMonitorTcpmon

It works like a charm.  My app listens on port 8000,
so I was able to add Axis 1.3's lib/axis.jar to my
CLASSPATH and then execute

        java org.apache.axis.utils.tcpmon 7000 localhost 8000

and bingo!! all is revealed. And I was able to verify that Rife

Cool :-)

does indeed get the WebDAV methods.  But only after I realized
that I first had to disable Rife authentication.  d'oh...

There you go ;-)


Which raises an issue and another question:

The WebDAV-enabled editor is not going to grok Rife authentication.
So let's say I configure Tomcat to use standard HTTP authentication
to protect that URL space.  Then I have to keep Tomcat's user file
tomcat-users.xml in sync with Rife (unless I come up with a miracu-
lous hack).

Also, then, when the WebDAV user is authenticated, and the request
is passed to my Rife app, I wonder how I can access the Tomcat
authentication data.


I know this is a quite complex subject.  I have the book "Professional
Apache Tomcat 5" (Wrox) and I've scanned the Tomcat docs and it's
quite a tangle.

It should not be difficult to write HTTP authentication using RIFE's authentication API. It should also be possible to plug into Tomcat's authentication. This would be a cool way to contribute to the project!

Best regards,

Geert

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to