You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Basil Bourque <ba...@mac.com> on 2003/03/17 03:24:39 UTC
How to turn on secure (MD5 Digest) version of WebDAV?
How does one turn on the secure logon feature (MD5 Digest) in Tomcat's
WebDAV server?
I cannot find any documentation on the "auth-method" parameter in the
virtual host's "web.xml" file:
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Tomcat Supported Realm</realm-name>
</login-config>
I tried replacing "BASIC" with "DIGEST". I am not sure if it is working
or not, but my WebDAV client (Mac OS X Finder) fails to connect, with
the logon dialog repeatedly displayed. The Finder connects properly if
I use the "BASIC" value.
I looked in the Tomcat documentation, perused Remy's source code,
googled, and even searched the >43,000 messages I've archived from this
list, but I cannot locate information about the "auth-method".
I have Tomcat 4.1.21 beta running on Mac OX X 10.2.4 with Java 1.4.1.
--Basil Bourque
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
mbeans-descriptors.xml
Posted by Uddhav Shirname <ud...@persistent.co.in>.
Hi,
I have a customised implementation of JDBCRealm. I am encoutering the
following exception at start up.
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with TomcatJDBCRealm
at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:615
)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:574)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:783)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:751)
at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve
rLifecycleListener.java:339)
at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser
verLifecycleListener.java:206)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:166)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:218
2)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
I googled and found that i need to have any entry in mbeans-descriptors.xml.
I added the required mbean to this file, jarred it with other classes and
placed it under server/lib. I stil encounter the above exception.
Any clues whats happening, or if I am missing anything.
Thanks,
Uddhav
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: How to turn on secure (MD5 Digest) version of WebDAV?
Posted by Basil Bourque <ba...@mac.com>.
>
I am just using the memory realm (by default).
So do you just use "DIGEST" to turn on the MD5 secure logon?
<auth-method>DIGEST</auth-method>
--Basil Bourque
> What Security Realm are you using? JDBC,JNDI, MemoryRealm?
> I have had problems with DIGEST authentication for JDBC and JNDIRealm.
> I had to implement getPassword() and getPrincipal() methods to make it
> work
> with digest authentication.
>
> -- Uddhav
>
> ----- Original Message -----
> From: "Basil Bourque" <ba...@mac.com>
> To: <to...@jakarta.apache.org>
> Sent: Monday, March 17, 2003 7:54 AM
> Subject: How to turn on secure (MD5 Digest) version of WebDAV?
>
>
>> How does one turn on the secure logon feature (MD5 Digest) in Tomcat's
>> WebDAV server?
>>
>> I cannot find any documentation on the "auth-method" parameter in the
>> virtual host's "web.xml" file:
>>
>> <login-config>
>> <auth-method>BASIC</auth-method>
>> <realm-name>Tomcat Supported Realm</realm-name>
>> </login-config>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: How to turn on secure (MD5 Digest) version of WebDAV?
Posted by Uddhav Shirname <ud...@persistent.co.in>.
What Security Realm are you using? JDBC,JNDI, MemoryRealm?
I have had problems with DIGEST authentication for JDBC and JNDIRealm.
I had to implement getPassword() and getPrincipal() methods to make it work
with digest authentication.
-- Uddhav
----- Original Message -----
From: "Basil Bourque" <ba...@mac.com>
To: <to...@jakarta.apache.org>
Sent: Monday, March 17, 2003 7:54 AM
Subject: How to turn on secure (MD5 Digest) version of WebDAV?
> How does one turn on the secure logon feature (MD5 Digest) in Tomcat's
> WebDAV server?
>
> I cannot find any documentation on the "auth-method" parameter in the
> virtual host's "web.xml" file:
>
> <login-config>
> <auth-method>BASIC</auth-method>
> <realm-name>Tomcat Supported Realm</realm-name>
> </login-config>
>
> I tried replacing "BASIC" with "DIGEST". I am not sure if it is working
> or not, but my WebDAV client (Mac OS X Finder) fails to connect, with
> the logon dialog repeatedly displayed. The Finder connects properly if
> I use the "BASIC" value.
>
> I looked in the Tomcat documentation, perused Remy's source code,
> googled, and even searched the >43,000 messages I've archived from this
> list, but I cannot locate information about the "auth-method".
>
> I have Tomcat 4.1.21 beta running on Mac OX X 10.2.4 with Java 1.4.1.
>
> --Basil Bourque
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org