Hi,
   I am facing the same problem for JDBCRealm. As mentioned in one of my
earlier mails I found that getPrincipal() method returns a harcoded null
value (Tomcat 4.1.18). This method is an abstract class and is called from
authenticate(). I checked up with JNDIRealm class, and it also has similar
implementation returning null. I suspect this is why users arent
authenticated. Can someone please shed some more light on this?

Thanks,
Uddhav

----- Original Message -----
From: "jazorin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 3:00 PM
Subject: Send parameters to the JNDIRealm


> Hi.
>
> I have an application that it connects to a servlet and send it a set
> of parameters through OutputStream. I make a JNDIRealm and when the
> application connects to the servlet, my Realm can't to map these
> parameters (with the client certificate) a none authenticate() method.
>
> What parameters is sent to my JNDIRealm??
>
> I think that the authenticate method will be ~
>
>   authenticate (X509Certificate[] certs, xxx) -> xxx = ??
>
> Regards.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to