You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Tharindu Mathew <mc...@gmail.com> on 2008/03/18 15:48:50 UTC

roller-openid

Hi,

I'm interested in the roller-openid project idea. I have done 3 or 4 Java
projects now and have a fair expereince in Java programming. I like to get
into security but haven't exactly done a project regarding that so my
experience in that field is limited.

Will this be a problem with this project?
-- 
Regards,

Tharindu

Re: roller-openid

Posted by Ian Kallen <ik...@technorati.com>.
The other use case is roller as an identity provider; your roller blog 
URL should be an identifier for you. I haven't looked into the API's 
developed here in openid4java (http://code.google.com/p/openid4java/) 
but it might be a place to start. As far as the correctness of the 
implementation, I think the janrain libraries may be the best references 
as far as working code but there are not yet java implementations on 
their code site (http://openidenabled.com/).

Dave had written and probably intended:
> On Sat, Mar 22, 2008 at 2:53 PM, Tharindu Mathew <mc...@gmail.com> wrote:
>   
>> Is there another implementation that is similar to this. Maybe info card
>>  support. THat I can take a llok to figure out how all the technologies you
>>  have mentioned fit together, and to get an idea to document the
>>  requirements?
>>     
>
> Hmm... perhaps you could look at how Wordpress impements OpenID.
>
> Here are some more ideas:
>
> There are two parts of this project. You could do one or both of them
> as both are valuable. But, once you've done one the other might be
> trivially easy. First, there's OpenID for user accounts. Second, there
> is OpenID for commenters. I'll cover each.
>
> * OpenID for Roller user accounts
>
> The idea here is to allow users to either register for an account on a
> Roller server using their existing OpenID account and, if possible,
> allow existing Roller users to switch over to using OpenID for logging
> in. There are at least two approaches to this problem:
>
> 1 - Roller uses Spring Acegi for user authentication and Acegi
> supports Open ID. This approach might be as easy as adding the Aceigy
> OpenID module, tweaking the Acegi security.xml file and doing some
> small code changes to Roller to make OpenID easy to enable via
> Roller's configuration system and easy to use via Roller's login page.
>
> 2 - In Roller's trunk (i.e. the code for the next release) we have
> made it easier for Roller to use standard Java EE Container Managed
> Authentication (CMA) for user login. CMA means the app server is
> responsible for authentication so folks would have to use an app
> server with OpenID support (possibly by using OpenSSO.
>
> Approach #1 is probably best, but your changes should not preclude option #2.
>
> * OpenID for comments
>
> Once you've got user accounts using OpenID, you might find this to be
> easy. It might involve adding a new role to Roller (we now have
> "admin" and "editor", you'd need to add "user" or "commenter"). You'll
> probably also have to modify the CommentServlet, which accepts comment
> posts and weblog.vm which defines the HTML that is generated in the
> comment form.
>
> I'm guessing at a lot of this. You'll have to help figure out the
> right path, with the assistance of your mentor (most likely, yours
> truly).
>
> - Dave
>   


-- 
Ian Kallen || Architect, Technorati Inc. || m: 415.505.5208
blog@ http://www.arachna.com/roller/page/spidaman


Re: roller-openid

Posted by Dave <sn...@gmail.com>.
On Sat, Mar 22, 2008 at 2:53 PM, Tharindu Mathew <mc...@gmail.com> wrote:
> Is there another implementation that is similar to this. Maybe info card
>  support. THat I can take a llok to figure out how all the technologies you
>  have mentioned fit together, and to get an idea to document the
>  requirements?

Hmm... perhaps you could look at how Wordpress impements OpenID.

Here are some more ideas:

There are two parts of this project. You could do one or both of them
as both are valuable. But, once you've done one the other might be
trivially easy. First, there's OpenID for user accounts. Second, there
is OpenID for commenters. I'll cover each.

* OpenID for Roller user accounts

The idea here is to allow users to either register for an account on a
Roller server using their existing OpenID account and, if possible,
allow existing Roller users to switch over to using OpenID for logging
in. There are at least two approaches to this problem:

1 - Roller uses Spring Acegi for user authentication and Acegi
supports Open ID. This approach might be as easy as adding the Aceigy
OpenID module, tweaking the Acegi security.xml file and doing some
small code changes to Roller to make OpenID easy to enable via
Roller's configuration system and easy to use via Roller's login page.

2 - In Roller's trunk (i.e. the code for the next release) we have
made it easier for Roller to use standard Java EE Container Managed
Authentication (CMA) for user login. CMA means the app server is
responsible for authentication so folks would have to use an app
server with OpenID support (possibly by using OpenSSO.

Approach #1 is probably best, but your changes should not preclude option #2.

* OpenID for comments

Once you've got user accounts using OpenID, you might find this to be
easy. It might involve adding a new role to Roller (we now have
"admin" and "editor", you'd need to add "user" or "commenter"). You'll
probably also have to modify the CommentServlet, which accepts comment
posts and weblog.vm which defines the HTML that is generated in the
comment form.

I'm guessing at a lot of this. You'll have to help figure out the
right path, with the assistance of your mentor (most likely, yours
truly).

- Dave

Re: roller-openid

Posted by Tharindu Mathew <mc...@gmail.com>.
Is there another implementation that is similar to this. Maybe info card
support. THat I can take a llok to figure out how all the technologies you
have mentioned fit together, and to get an idea to document the
requirements?

On Thu, Mar 20, 2008 at 5:34 PM, Tharindu Mathew <mc...@gmail.com>
wrote:

> No, I do not have an ICLA nor a wiki account. I have worked with a few
> apache web service projects. And contributed a few patches.
>
>
> On Wed, Mar 19, 2008 at 9:01 PM, Dave <sn...@gmail.com> wrote:
>
> > On Tue, Mar 18, 2008 at 4:29 PM, Tharindu Mathew <mc...@gmail.com>
> > wrote:
> > > Hi,
> > >
> > >  I've already worked with tomcat, ant, subversion,mysql, spring (not
> > spring
> > >  acegi).
> > >
> > >  I built installed the roller binar and created my own weblog and bilt
> > roller
> > >  from the source. Took a look at the roller architecture on the roller
> > wiki.
> > >
> > >  How should I approach the open ID integration?
> >
> > The first steps is to figure out the requirements and document them in
> > a project proposal. This doesn't have to be a lot of writing, the
> > requirements section is usually a short list of 5-10 bullet points for
> > a small project.
> >
> > You can see some example proposals here, each with a requirements
> > section:
> > http://cwiki.apache.org/confluence/display/ROLLER/Roller+Proposals
> >
> > Do you have an ICLA on file with Apache yet?
> >
> > Do you have an ASF wiki account yet?
> >
> > - Dave
> >
>
>
>
> --
> Regards,
>
> Tharindu




-- 
Regards,

Tharindu

Re: roller-openid

Posted by Tharindu Mathew <mc...@gmail.com>.
No, I do not have an ICLA nor a wiki account. I have worked with a few
apache web service projects. And contributed a few patches.

On Wed, Mar 19, 2008 at 9:01 PM, Dave <sn...@gmail.com> wrote:

> On Tue, Mar 18, 2008 at 4:29 PM, Tharindu Mathew <mc...@gmail.com>
> wrote:
> > Hi,
> >
> >  I've already worked with tomcat, ant, subversion,mysql, spring (not
> spring
> >  acegi).
> >
> >  I built installed the roller binar and created my own weblog and bilt
> roller
> >  from the source. Took a look at the roller architecture on the roller
> wiki.
> >
> >  How should I approach the open ID integration?
>
> The first steps is to figure out the requirements and document them in
> a project proposal. This doesn't have to be a lot of writing, the
> requirements section is usually a short list of 5-10 bullet points for
> a small project.
>
> You can see some example proposals here, each with a requirements section:
> http://cwiki.apache.org/confluence/display/ROLLER/Roller+Proposals
>
> Do you have an ICLA on file with Apache yet?
>
> Do you have an ASF wiki account yet?
>
> - Dave
>



-- 
Regards,

Tharindu

Re: roller-openid

Posted by Dave <sn...@gmail.com>.
On Tue, Mar 18, 2008 at 4:29 PM, Tharindu Mathew <mc...@gmail.com> wrote:
> Hi,
>
>  I've already worked with tomcat, ant, subversion,mysql, spring (not spring
>  acegi).
>
>  I built installed the roller binar and created my own weblog and bilt roller
>  from the source. Took a look at the roller architecture on the roller wiki.
>
>  How should I approach the open ID integration?

The first steps is to figure out the requirements and document them in
a project proposal. This doesn't have to be a lot of writing, the
requirements section is usually a short list of 5-10 bullet points for
a small project.

You can see some example proposals here, each with a requirements section:
http://cwiki.apache.org/confluence/display/ROLLER/Roller+Proposals

Do you have an ICLA on file with Apache yet?

Do you have an ASF wiki account yet?

- Dave

Re: roller-openid

Posted by Tharindu Mathew <mc...@gmail.com>.
Hi,

I've already worked with tomcat, ant, subversion,mysql, spring (not spring
acegi).

I built installed the roller binar and created my own weblog and bilt roller
from the source. Took a look at the roller architecture on the roller wiki.

How should I approach the open ID integration?

On Tue, Mar 18, 2008 at 9:31 PM, Dave <sn...@gmail.com> wrote:

> On Tue, Mar 18, 2008 at 10:48 AM, Tharindu Mathew <mc...@gmail.com>
> wrote:
> >  I'm interested in the roller-openid project idea. I have done 3 or 4
> Java
> >  projects now and have a fair expereince in Java programming. I like to
> get
> >  into security but haven't exactly done a project regarding that so my
> >  experience in that field is limited.
>
> BTW, for others, here's the link for the Roller OpenID project:
>    http://wiki.apache.org/general/SummerOfCode2008#roller-openid
>
>
> >  Will this be a problem with this project?
>
> I don't see why there would be a problem, all you need are smarts and
> some Java/web development experience.
>
> You can start by doing a little research to figure out if you are
> really interested. You'll need to learn about OpenID, Tomcat (or
> Glassfish), MySQL (or Derby), Spring Acegi (and/or OpenSSO), Struts 2,
> possibly some JPA Subversion and Ant. Also, there are some notes on
> how to build Roller, how to contribute code and some architecture
> presentations here on the Roller wiki:
>
>    http://cwiki.apache.org/confluence/display/ROLLER/Developers+Resources
>
> And the user, install and template docs (and binary downloads of
> Roller) are here:
>
>    http://roller.apache.org/download.cgi
>
> And please feel free to ask any questions you like on the dev list,
> we're here to help.
>
> - Dave
>



-- 
Regards,

Tharindu

Re: roller-openid

Posted by Dave <sn...@gmail.com>.
On Tue, Mar 18, 2008 at 10:48 AM, Tharindu Mathew <mc...@gmail.com> wrote:
>  I'm interested in the roller-openid project idea. I have done 3 or 4 Java
>  projects now and have a fair expereince in Java programming. I like to get
>  into security but haven't exactly done a project regarding that so my
>  experience in that field is limited.

BTW, for others, here's the link for the Roller OpenID project:
    http://wiki.apache.org/general/SummerOfCode2008#roller-openid


>  Will this be a problem with this project?

I don't see why there would be a problem, all you need are smarts and
some Java/web development experience.

You can start by doing a little research to figure out if you are
really interested. You'll need to learn about OpenID, Tomcat (or
Glassfish), MySQL (or Derby), Spring Acegi (and/or OpenSSO), Struts 2,
possibly some JPA Subversion and Ant. Also, there are some notes on
how to build Roller, how to contribute code and some architecture
presentations here on the Roller wiki:

    http://cwiki.apache.org/confluence/display/ROLLER/Developers+Resources

And the user, install and template docs (and binary downloads of
Roller) are here:

    http://roller.apache.org/download.cgi

And please feel free to ask any questions you like on the dev list,
we're here to help.

- Dave