You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-dev@incubator.apache.org by "Sriskandarajah Suhothayan (JIRA)" <ji...@apache.org> on 2010/06/03 16:08:53 UTC

[jira] Updated: (PHOTARK-20) Integrate OpenId with photark

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

Sriskandarajah Suhothayan updated PHOTARK-20:
---------------------------------------------

    Attachment: AccessManager1.patch

This is just the starting of authorization.
Please review this and give your suggestions whether I'm in the right path..

I have implemented two MultiMaps,  one to get the permissions of the users, where when you want the info of what resources (albums) this user can view/access. To get this info, we just need to give the userID, and you will get a maps with album-names/IDs and the permissions(blocked,view,modify).

Similarly when we need to set permission to resources(albums), we need to get info of what users can do what, in this resource. Therefore buy giving the resource name to the second MultiMap, we will get the map witch contains userID and the permissions, and this will facilitate the owner to edit permissions to that resource.

Here I have used two MultiMaps, because this will significantly improve the time taken to get information, than looping through the whole list.

now I'm creating an maps in the constructor of the AccessManager  but in future I will write a service to fetch this from JCR.


> Integrate OpenId with photark
> -----------------------------
>
>                 Key: PHOTARK-20
>                 URL: https://issues.apache.org/jira/browse/PHOTARK-20
>             Project: PhotArk
>          Issue Type: New Feature
>          Components: PhotArk Admin Services
>    Affects Versions: PhotArk M3
>            Reporter: Avdhesh Yadav
>             Fix For: PhotArk M3
>
>         Attachments: AccessManager1.patch, authentication_final.patch, Authentication_improved1.patch, Authentication_improved2.patch, Authentication_improved3.patch, images.zip
>
>
> Integration of  Open Id with photark.This allows users of popular openids (e.g gmail , yahoo) to use the photark and make the  pictures private...and share albums with some users only..

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