You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by PATTUS Jean-Philippe <jp...@sogitec.fr> on 2002/06/12 15:49:01 UTC

TR: Black magic Authentication Digest and JDBC Realm on Tomcat 4 .0.3

Nobody for my little pb, should i try black magic?

> -----Message d'origine-----
> De:	PATTUS Jean-Philippe [SMTP:jppattus@sogitec.fr]
> Date:	mercredi 12 juin 2002 10:46
> À:	tomcat-user@jakarta.apache.org
> Objet:	Authentication Digest and  JDBC Realm on Tomcat 4.0.3
> 
> Hello,
> I'm working on Tomcat 4.0.3.
> i'm trying to put an authentication on my web app,
> if the auth-method is BASIC and 
> the Realm is       
> <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
>              driverName="oracle.jdbc.driver.OracleDriver"
> 	     connectionName="Name"
> 	     connectionPassword="Password"
>           connectionURL="jdbc:oracle:thin:@host:1521:toto"
>               userTable="userTable" userNameCol="userNameCol"
> userCredCol="userCredCol"
>           userRoleTable="userRole" roleNameCol="roleNameCol" /> 
> it works fine.
> But, if i replace BASIC by DIGEST, my authentication is KO. I've seen in
> the
> code that
>  JDBCRealm::getPassword() always return null!!!  
> 
> How can i configure my Tomcat in order to have JDBC Realm and Digest
> authentication???
> 
> Thanks 
> 
> PS : sorry for my poor english.
> 
> 
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>