You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Duccio Fallani <du...@tin.it> on 2003/05/27 13:00:20 UTC

JDBCRealm and CLIENT-CERT

hi all,

What password i have to insert in my userTable.userCredCol to
authenticate users by CLIENT-CERT ??
With MemoryRealm i use "null" in tomcat-users.xml and all is ok,
but in database field i try "null" and null-value but neither works !!!
Thanks...

(sorry for my bad english, ;-))) )

Duccio



Dr. Duccio Fallani

duccio.fallani@bitlab.it
-----------------------------------
               Bit Lab
   Business Information Technology

   Via Poccianti 25/c
   50018 Scandicci (FI)
   Tel./Fax 055.25.91.757

   web:    www.bitlab.it
   e-mail: info@bitlab.it
-----------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JDBCRealm and CLIENT-CERT

Posted by Duccio Fallani <du...@tin.it>.
>As far as i know (with Tomcat 4.1.24), it is not possible to use JDBCRealm
>with CLIENT-CERT.
>You have to implement "getPrincipal(String)" in JDBCRealm to make this work

you're right !!!
i have implement like this:

     protected Principal getPrincipal(String username) {

         return authenticate(username, "null");

     }

all works, now !!!

Duccio



Dr. Duccio Fallani

duccio.fallani@bitlab.it
-----------------------------------
               Bit Lab
   Business Information Technology

   Via Poccianti 25/c
   50018 Scandicci (FI)
   Tel./Fax 055.25.91.757

   web:    www.bitlab.it
   e-mail: info@bitlab.it
-----------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: JDBCRealm and CLIENT-CERT

Posted by Mario Ivankovits <ma...@ops.co.at>.
As far as i know (with Tomcat 4.1.24), it is not possible to use JDBCRealm
with CLIENT-CERT.
You have to implement "getPrincipal(String)" in JDBCRealm to make this work

Mario
----- Original Message ----- 
From: "Duccio Fallani" <du...@tin.it>
To: <to...@jakarta.apache.org>
Sent: Tuesday, May 27, 2003 1:00 PM
Subject: JDBCRealm and CLIENT-CERT


> hi all,
>
> What password i have to insert in my userTable.userCredCol to
> authenticate users by CLIENT-CERT ??
> With MemoryRealm i use "null" in tomcat-users.xml and all is ok,
> but in database field i try "null" and null-value but neither works !!!
> Thanks...
>
> (sorry for my bad english, ;-))) )
>
> Duccio
>
>
>
> Dr. Duccio Fallani
>
> duccio.fallani@bitlab.it
> -----------------------------------
>                Bit Lab
>    Business Information Technology
>
>    Via Poccianti 25/c
>    50018 Scandicci (FI)
>    Tel./Fax 055.25.91.757
>
>    web:    www.bitlab.it
>    e-mail: info@bitlab.it
> -----------------------------------
>
>
> ---------------------------------------------------------------------
> 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