tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject implementing custom JDBCRealm and programmatic authentication
Date Wed, 28 May 2003 19:16:49 GMT
I am considering to implement a custom JDBCRealm.
It should make available a method such as

   boolean authenticate(String username)

perhaps in a custom Principal class.
The method should log in (authenticate) the user and return true,
if user exists (with correct roles), false otherwise.

Can anyone tell me if this would work?
How should I go about to implement such a mechanism?

Best regards

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message