You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Joe Meadows <ja...@jamspace.org> on 2007/10/04 18:59:55 UTC
Automatically create new user
Hi,
I'm integrating Roller with an existing site that has a proprietary user
management system which handles new user registration (will be using
Roller 3.1 / the site is implemented in Java running on Tomcat 5.5)
Once a new user is validated by the site I would like to automatically
create a Roller user with the same username/password. It's alright if
the user has to login to Roller separately, I just want to create the
account for them, and the solution doesn't need to be particularly
elegant, so for instance faking a POST request that simulates a
submission from the admin 'create user' form might work (I will have new
user registration disabled so there may be an issue with authentication
to make it look like the request came from an administrator.) Another
alternative may be to create the mySQL records on behalf of Roller, not
sure if that is feasible. If I can avoid kludginess by using a method
call or some other established means of adding a user that'd be the
best, but a quick and dirty solution that is reliable would be welcome too.
Please let me know if I left out any critical details or need to provide
more information.
Thanks in advance!
Joe Meadows
Re: Automatically create new user
Posted by Joe Meadows <ja...@webopolis.com>.
Fredrik Jonson wrote:
> Check out the responses in the thread: "Status of adminapi in 4.0?".
>
> Available here:
> http://www.nabble.com/Status-of-adminapi-in-4.0--tf4566173s12275.html
>
> It may seem off topic for 3.1 but isnt.
>
> The adminapi is documented here:
> http://rollerweblogger.org/wiki/Wiki.jsp?page=DeveloperGuide
>
>
Thanks Fredrik, this is exactly what I needed.
Cheers!
Joe
Re: Automatically create new user
Posted by Fredrik Jonson <fr...@myrealbox.com>.
In <47...@jamspace.org> Joe Meadows wrote:
> I'm integrating Roller with an existing site that has a proprietary user
> management system which handles new user registration (will be using
> Roller 3.1 / the site is implemented in Java running on Tomcat 5.5)
Check out the responses in the thread: "Status of adminapi in 4.0?".
Available here:
http://www.nabble.com/Status-of-adminapi-in-4.0--tf4566173s12275.html
It may seem off topic for 3.1 but isnt.
The adminapi is documented here:
http://rollerweblogger.org/wiki/Wiki.jsp?page=DeveloperGuide
--
Fredrik Jonson