i am attempting the exact same thing, but have been advised it would be
better to override the FormAuthenticator. this gives you direct access to
the session.

the solution seems perfect, however, i i can't seem to get past
classNotFound exceptions. i am not familiar with how to link catalina
classes and the Class Loader docs are not giving me the answer.

i have configured server.xml to contain my custom valve, the class which
overrides FormAuthenticator. i have placed this class in common/classes. i
get class not found exceptions on FormAuthenticator bcz my webapp is not
able to reference the necessary objects in catalina.jar.

please let me know if you get this solution to work. thanks!

----- Original Message -----
From: "awc" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Friday, March 21, 2003 4:41 PM
Subject: Custom JDBCRealm


> Hi,
>
> I want to add more stuff to user session while user logs in. The only
> way I see to do this is to write custom JDBCRealm class which extnds
> org.apache.catalina.realm.JDBCRealm or implement
> org.apache.catalina.realm.RealmBase class.
>
> This custom class will have more initializing parameters too. Any
> thoughts on this from one who already did sort of thing??
>
> I am going to use this one with securityFilere from
> www.securityfilter.org.
>
> Thank you in advance for any replies.
>
> .anil
>
>
>
> ---------------------------------------------------------------------
> 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