roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tatyana Tokareva (JIRA)" <>
Subject [jira] Updated: (ROL-1733) Implement OpenID for Roller
Date Tue, 05 Aug 2008 11:18:19 GMT


Tatyana Tokareva updated ROL-1733:

    Attachment: spring-security-openid-2.0.2-regext.jar

Below are comments on what has been changed and added in the second version of the patch.

I've managed to make openid url an editable option for user. 
I've also accounted of comments to the previous patch and made some changes in the code.

When the new user is logging via openID url after successful login on the provider's website
he is redirected to the registration page (I had to specify exception mappings in the security.xml
to make it work) I want to prefill fields on this page with data, retrieved from the openid
provider with help of Simple Registration Extension.
It is not supported officially in the spring security library yet, so I had to made it by
By this moment they've  created a patch in response to my issue ( jira
) and I've switched to an official version, but I had to change code a little bit to make
the library it working. User attributes are saved in the OpenIDAuthenticationToken as a User
object and it's method getPrincipal() returns this object.
Right now I'm trying to find a way how to retrieve this object in the Register action to prefill
Could someone suggest the right approach?

I also had to put an openid-specific code into the RollerSession - I can't make up my mind
right now how to get rid of it. 
Also maybe it will be better to put user attributes in some kind of properties file.

Note if you are gonna use the patch you'll need to change the schema file reference in the
( )

> Implement OpenID for Roller
> ---------------------------
>                 Key: ROL-1733
>                 URL:
>             Project: Roller
>          Issue Type: New Feature
>          Components: User Management
>            Reporter: David Johnson
>            Assignee: Roller Unassigned
>         Attachments: ROL-1733.patch, ROL-1733_v2.patch, spring-security-openid-2.0.2-regext.jar
> Represents this proposal:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message