i have a password protected web app and would like to provide users with
the ability to self register for a new account. looks like the easiest way
to do this with tomcat is with a jdbc realm to protect the web app and
anonymous access to the self registration app.

a few questions on this.

is there a pre made app that could be used for the user account creation
app? i'll probably need something for admins to revoke accounts, disable
accounts, edit role memberships etc. ugh, and then there is user password
resets and complexity requirements... some kind of captcha thing to prevent
bots. i also need to track and report to the user when a password expires,
last login ip address and user agent field. quite a bit of stuff to write.
if there is something available that is asf license compatible, i'd love to
hear about it.

assuming no, i currently use a digestor to put passwords into the
tomcat-users.xml file. if i write a webapp to add the users to the
database, would the password field just be the hashed value? anything else
i need to do?

Reply via email to