roller-commits mailing list archives

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

     [ https://issues.apache.org/roller/browse/ROL-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tatyana Tokareva updated ROL-1733:
----------------------------------

    Attachment: spring-security-openid-2.0.2-regext.jar
                ROL-1733_v2.patch

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
myself.
By this moment they've  created a patch in response to my issue ( jira http://jira.springframework.org/browse/SEC-935
) 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
fields.
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
security.xml
( http://jira.springframework.org/browse/SEC-927 )

> Implement OpenID for Roller
> ---------------------------
>
>                 Key: ROL-1733
>                 URL: https://issues.apache.org/roller/browse/ROL-1733
>             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:
>    http://cwiki.apache.org/confluence/display/ROLLER/Proposal+OpenID+Support

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


Mime
View raw message