• Topic
  • Discussion
  • ODS.ODSOpenID(Last) -- DAVWikiAdmin? , 2017-06-29 07:29:59 Edit WebDAV System Administrator 2017-06-29 02:29:59

    OpenID? Overview

    What Is OpenID??

    OpenID? is an open, decentralized system for user-centric digital identity. It works on the concept that anyone can identify themselves on the Internet the same way websites do - with a URI (sometimes called a URL or web address, somewhat inaccurately).

    Why is OpenID? important?

    OpenID? has emerged as the user-centric identity framework, which allows millions of people to interact online. Beyond authentication, the OpenID? framework provides the means for users to share other components of their digital identity. By utilizing the emerging OpenID Attribute Exchange specification, users are able to clearly control what pieces of information can be shared by their Identity Provider, such as their name, address, or phone number.

    How Is OpenID? implemented in ODS?

    ODS supports the OpenID? Authentication 1.1 and registration extension 1.0. ODS includes OpenID? Server and client side implemented in the weblogs comments using AJAX. When posting a comment, a Web Site url is needed to be entered in order to be verified the authentication against a Server that supports OpenID?. The implementation code is located in the openid.js and openid.sql files from the ODS package.

    How do I use OpenID??

    To see how it works, perform the following steps on our demo server.

    1. At http://demo.openlinksw.com/ods/ log in as user demo, password demo
    2. Go to My Weblog.
    3. Click the "myblog" instance link.
    4. Go to Settings.
    5. From the "Preferences" page click the Site Access tab link.
    6. Click the "Comments Settings" tab link.
    7. Check the check-boxes for:
      1. Comments verification via OpenID? URL
      2. Comments are moderated.
        • Note: without this check-box checked, the OpenID? mechanism will not work correctly.
    8. Click the "Save" button.



    9. Click the "New Post" link.
    10. In the shown form enter:
      1. For Title: OpenID? test
      2. For Message: This is simple test.
    11. Click the button "Post"
    12. Click the link "home" from the left vertical navigation.
    13. As result will be shown the posted message in step 11.
    14. Now using different browser access the "myblog" home url: http://demo.openlinksw.com/weblog/demo/index.vspx
    15. As result will be shown the instance home page with the posted message and the user is not logged in.
    16. Click the "Comments [0]" link for the post with title "OpenID? test".
    17. As result will be shown the form for posting a comment. Enter the following:
      1. For "Name": test1
      2. For "Email": <none>
      3. For "Web Site": http://myopenlink.net:8890/dataspace/test1>
        • The value for the "Web Site" field should be a user home page, located at a Server which supports OpenID?. In the given example we can use the myopenlink.net ODS server, which is an OpenID? server; user test1 is a registered member of this dataspace. The entered value "http://myopenlink.net:8890/dataspace/test1" is the home page of the user test1.
      4. For comment body enter: this is simple comment test.
    18. Click the button "Verify".
    19. As result bellow the "Web Site" field will be shown the following message: Note: You need to grant permission for this site to know who you are. Once you do so, press Login again. and a new window will be opened prompting for credentials at the OpenID? Server. In the described case this is myopenlink.net and the page shown is the login page.
    20. At the login page from step 19.:
      1. enter for user name test1 and for password 1.
      2. Click the button "Login".
    21. As result in front of the "Web Site" field will be shown the icon of the OpenID?, which confirms the verification had passed successfully.
    22. Click the button "Post".
    23. As result the comment will be post successfully.
    24. Now open a new window with the same browser you have used in the previous steps, and access the "myblog" home url: http://demo.openlinksw.com/weblog/demo/index.vspx.
    25. Click the "Comments[n]" link for the "OpenID? test" post.
    26. As result the Web Site value will be "http://myopenlink.net:8890/dataspace/test1", i.e., the cookies keep the url against which verification should be done.

    References

    Compliant Services

    These are services that support OpenID? authentication:

    Compliant Services (Server)

    These are services that provide you with an Open ID that can be used at sites supporting OpenID? authentication.

    Portals

    Related

    CategoryWebSite CategoryVirtuoso CategoryOpenSource CategoryOpenID CategoryBlog