Hello!
   I have an enterprise application which is using the
DatabaseServerLoginModule to authenticate users. The web application is
using Form Based authentication, with the login-page and error-page defined
on the web.xml file.

   Now I need to extend the DatabaseServerLoginModule functionality with a
few additional features:
        - Passwords expire after N days of inactivity;
        - Users get blocked after N attempts lo Login with an erroneous password;
        - .....

   When a user can't login, I need to catch the error (invalid passwd,
blocked account, ...). I can set different messages for the LoginException,
and use the message to know the error. Although, where can I catch the
LoginException?

   I will also need to call the JAAS logout method when the user logs out,
or when the session expires. How can I do this explicitly?

   Which is the best solution for my problem? Extend the
DatabaseServerLoginModule, or is there a better solution (Use the
DatbaseServerLoginMethod and do all the verifications above only after,..)?

   Any help would be really appreciated.

   Thanks in advance,
        Victor Batista
   I




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to