tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PATTUS Jean-Philippe <jppat...@sogitec.fr>
Subject TR: Black magic Authentication Digest and JDBC Realm on Tomcat 4 .0.3
Date Wed, 12 Jun 2002 13:49:01 GMT
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:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
Mime
View raw message