[Acegisecurity-developer] Creating the first admin: the chicken and the egg

2006-02-06 Thread Mark Slater
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

Re: [Acegisecurity-developer] Creating the first admin: the chicken and the egg

2006-02-06 Thread Patrick Huber
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

Re: [Acegisecurity-developer] Creating the first admin: the chicken and the egg

2006-02-06 Thread Ben Alex
Patrick Huber wrote: 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. That's one way. Other ways might be to use an InitializingBean