Do you know if it's possible to do the same thing with jdbcRealms?
Dynamically adding users to jdbcRealm seems to be a general problem. So far I've tried manual modification of sun-web.xml (and database tables for users and groups), which seems to require a server restart and thus is not usable.
[Message sent by forum member 'tonnie' (tonnie)]
http://forums.java.net/jive/thread.jspa?messageID=336798