You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by zloof <ma...@inbox.ru> on 2006/11/12 21:12:57 UTC

Integrate roller user management into a web project

i have a java web project... there is some user management implemented there
i already have a user table in my database

username as varchar(255)
password as varchar(255)
country as int

now i have to integrate roller into my project to override roller login
mechanism with my own 
is there any way to do it without modifying the Roller source code?
actually i'm not a very experienced in java so i would appreciate the most
simple solution:)

-- 
View this message in context: http://www.nabble.com/Integrate-roller-user-management-into-a-web-project-tf2618320s12275.html#a7306915
Sent from the Roller - User mailing list archive at Nabble.com.


Re: Integrate roller user management into a web project

Posted by Matt Raible <mr...@gmail.com>.
It should be as simple as defining a "dataSource" bean that talks to
your database, and then plugging this bean into the security.xml - so
Roller uses it instead of its own from JNDI.

Matt

On 11/14/06, Dave <sn...@gmail.com> wrote:
> You might have to read up on Acegi, which is the framework that Roller
> uses for user authentication. It's possible that you can do what you
> need to do by writing a couple of classes and plugging them into Acegi
> via the Acegi config file WEB-INF/security.xml.
>
> Acegi
>     http://www.acegisecurity.org/
> Acegi reference docs
>     http://www.acegisecurity.org/docbook/acegi.html
>
> - Dave
>
>
>
> On 11/12/06, zloof <ma...@inbox.ru> wrote:
> >
> > i have a java web project... there is some user management implemented there
> > i already have a user table in my database
> >
> > username as varchar(255)
> > password as varchar(255)
> > country as int
> >
> > now i have to integrate roller into my project to override roller login
> > mechanism with my own
> > is there any way to do it without modifying the Roller source code?
> > actually i'm not a very experienced in java so i would appreciate the most
> > simple solution:)
> >
> > --
> > View this message in context: http://www.nabble.com/Integrate-roller-user-management-into-a-web-project-tf2618320s12275.html#a7306915
> > Sent from the Roller - User mailing list archive at Nabble.com.
> >
> >
>


-- 
http://raibledesigns.com

Re: Integrate roller user management into a web project

Posted by Dave <sn...@gmail.com>.
You might have to read up on Acegi, which is the framework that Roller
uses for user authentication. It's possible that you can do what you
need to do by writing a couple of classes and plugging them into Acegi
via the Acegi config file WEB-INF/security.xml.

Acegi
    http://www.acegisecurity.org/
Acegi reference docs
    http://www.acegisecurity.org/docbook/acegi.html

- Dave



On 11/12/06, zloof <ma...@inbox.ru> wrote:
>
> i have a java web project... there is some user management implemented there
> i already have a user table in my database
>
> username as varchar(255)
> password as varchar(255)
> country as int
>
> now i have to integrate roller into my project to override roller login
> mechanism with my own
> is there any way to do it without modifying the Roller source code?
> actually i'm not a very experienced in java so i would appreciate the most
> simple solution:)
>
> --
> View this message in context: http://www.nabble.com/Integrate-roller-user-management-into-a-web-project-tf2618320s12275.html#a7306915
> Sent from the Roller - User mailing list archive at Nabble.com.
>
>