Hi Mark I've only used acegi in a relatively small private project where I have full control over the server. For that project, I added that first user after creating the database trough another sql script.
Patrick 2006/2/6, Mark Slater <[EMAIL PROTECTED]>: > I'd like some advice. What's the best practice for initializing a > brand new web application? > > Originally in my app, I had a JSP form that, when invoked would see > if any users already exist and if not, use the info from the form to > create an initial admin user. But now that I've incorporated security > into things, well there's no way for a non-admin user to create a new > user... and therefore, there's no way for that JSP form to create the > new user. > > Now, I could code up a new program to do it, but that seems like > overkill, and could be difficult to maintain... it would require a > separate branch, or totally new build configuration. > > Is there a way to do this with a RunAsManager? How have others put > that first admin user into their systems? > > Thanks, > > Mark > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Home: http://acegisecurity.org > Acegisecurity-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer > -- "I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Home: http://acegisecurity.org Acegisecurity-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
