tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <jarl.age.aanon...@masterpieces.no>
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
jarla
jarla@netcom.no



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


Mime
View raw message