tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From is_maximum <>
Subject RE: a question about user athentication
Date Thu, 05 Jul 2007 21:21:53 GMT

Thank you all for replying

I wanted to prevent the users who were deleted already to logging in. 

I resolve my problem by extending a class from JDBCRealm and override the
getConnection() method (I'm not sure about the method name) and put my
"select" statement with my favorite where clause
"where status = 0 and username = ?" 
and in security-filter.xml I declared my class instead of tomcat's JDBCRealm

thank you again

View this message in context:
Sent from the Tomcat - User mailing list archive at

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message