By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Health Works CollectiveHealth Works Collective
  • Health
    • Mental Health
    Health
    Healthcare organizations are operating on slimmer profit margins than ever. One report in August showed that they are even lower than the beginning of the…
    Show More
    Top News
    How to Measure Adult Diapers- The Ultimate Guide to Picking the Right Size
    March 8, 2022
    medicine cabinet
    The Effect Of Finished Dosage Form Manufacturing In New Drugs
    July 5, 2022
    Improved Digestion
    Five tips to boost digestion and metabolism
    November 4, 2022
    Latest News
    How to Combat Home Sickness After Moving Abroad
    March 19, 2023
    4 Ways to Recover from a Broken Hip
    March 14, 2023
    What Are Dietary Supplements: Purpose, Benefits, & Facts
    March 15, 2023
    5 Benefits of Receiving Acupuncture Regularly
    March 9, 2023
  • Policy and Law
    • Global Healthcare
    • Medical Ethics
    Policy and Law
    Get the latest updates about Insurance policies and Laws in the Healthcare industry for different geographical locations.
    Show More
    Top News
    Cell Phones vs. Health Care
    March 6, 2012
    Upcoding
    April 19, 2011
    HIT Innovation Founder Stories:Jakob Jønck, Co-Founder, Endomondo
    December 27, 2018
    Latest News
    3 Ways to Improve the U.S. Healthcare System By 2030
    March 14, 2023
    6 Steps To Ensure Speed And Efficiency Of Clinical Studies
    March 14, 2023
    5 Most Valuable Healthcare Programs in 2023
    March 8, 2023
    The Everest Foundation’s Mission to Support Inclusive Healthcare
    February 24, 2023
  • Medical Innovations
  • News
  • Wellness
  • Tech
Search
© 2023 HealthWorks Collective. All Rights Reserved.
Reading: How To Use WebID to Create Single Sign On (SSO) Across Healthcare Systems
Share
Sign In
Notification Show More
Latest News
mental health tips
Caring for Your Mental Health Should Be a Top Priority
Mental Health
combat home sickness
How to Combat Home Sickness After Moving Abroad
Health News
depression signs
Early Signs of Depression that You Shouldn’t Ignore
Mental Health
positive mental health
How to Build a Positive Mental Health Environment
Mental Health
broken hip recovery
4 Ways to Recover from a Broken Hip
Health
Aa
Health Works CollectiveHealth Works Collective
Aa
Search
Have an existing account? Sign In
Follow US
  • About
  • Contact
  • Privacy
© 2023 HealthWorks Collective. All Rights Reserved.
Health Works Collective > eHealth > How To Use WebID to Create Single Sign On (SSO) Across Healthcare Systems
eHealth

How To Use WebID to Create Single Sign On (SSO) Across Healthcare Systems

ShahidShah
Last updated: 2013/04/15 at 7:49 AM
ShahidShah
Share
10 Min Read
clip_image002
SHARE

 

 

I have been speaking and writing often these days about how single sign on (SSO) technologies are probably one of the most important components of health IT data integration. To help figure out how to integrate multiple systems using standards-based SSO approaches I reached out to Shahid Qadri, a Data Scientist and Software Developer for Applied informatics Inc. Qadri works on health data integration and semantic web and when I heard that he created a solution (which won second place) for an ONC single sign on challenge I thought he’d be the perfect engineer to help the rest of us. Here’s what Qadri had to say about WebID:

The Simple Sign-on challenge sponsored by the ONC through the Health 2.0 challenge was an exciting opportunity for us to learn about a sophisticated technology protocol and then being able to hack several open source system to implement a single sign on solution based on the protocol. This was a challenge that was truly a “challenge” for me, but an exciting and rewarding one (our solution was the second place winner!).

More Read

social media addiction is harming teenage mental health

5 Ways Social Media Affects Teen Mental Health

6 Innovative Technologies Making Medical Diagnostics More Predictive
A Guide to Medical Billing Services for Small Practices
How to Use E-Cigarettes to Stop Smoking
Healthcare Blogging: How to Become a Trusted Medical Source

The challenge involved using the W3C WebID protocol to enable a single sign on across different systems used by the HealthData.gov Platform (HDP). The eventual goal of the HDP is to allow various administrators, contributors and even machines to be authenticated and authorized to access different open source systems. In a nutshell, our solution, OneLogin creates a “wrapper” over each of the systems (Drupal, Ontowiki, Virtuoso, Tomcat) that programmatically creates users within these systems with a given role and associates a given WebID with these users. Each tool’s wrapper is independent of the system and can be configured across different machines. The source code for OneLogin is available on GitHub.

clip_image002

In rest of the blog post, I will describe the background and technical details of the solution.

WebID is a W3C open standard for identity and password-less login on the Web. WebID is designed to alleviate the difficulty (and pain) of remembering different logins, passwords and settings for different websites. WebID in itself is essentially a URL pointing to a description of yourself in FOAF format. FOAF stands for Friend Of A Friend and is essentially an RDF vocabulary which allows you to describe your social web) combined with a self-signed X.509 certificate. X.509 certificates (X-men like sounding terms) are the certifications used to verify the identity of web servers via the SSL protocol. It is a secure authentication protocol utilizing FOAF profile information as well as the SSL security layer available in virtually all modern web browsers. Operationally, once you have a WebID with private key stored in your browser, logging into a website is as simple as selecting your WebID and clicking “log in”. Additionally, there are other benefits of creating a WebID. Other people can to reference you and declare social relations on the web (such as that you are their friend, colleague, parent, etc.) even when their profile is hosted on a different web server than yours. Thus the WebID can be a trusted and verified way to enable the Social Web, i.e., social networks between individuals, citizens, companies, universities, governments, while allowing each player to remain in control of their data they publish.

How Does WebID Work?

As mentioned before, the WebID is a URL, which points to a FOAF file. Now if you want to log into some site you simply provide the WebID which means to select a certificate from a list in your web browser. The server will then fetch the FOAF, extract the

certificate’s public key from it, and then ask you to prove your identity. Since you are the only one having the private key of the certificate that is easily done. And that’s it. From a high level point of view it is very simple, but getting to the nuts and bolts of it can be a challenge.
clip_image004

(Source: http://www.w3.org/wiki/WebID)

Is WebID Really Secure?
In order to secure and protect your identity two things need to be made ensured:

1. The FOAF file that your WebID URL points to should be under your control or that of a trustworthy entity, and

2. Make sure nobody steals your private key! Though, if you do lose your private key, disabling the WebID is as easy as removing the public key from your FOAF profile. Importantly, and this is a useful mechanism of decoupling the public key from the WebID url, is that replacing your public key certificate with a new one will never invalidate your WebID since it stays as a permanent identifier for yourself in the semantic web, independent of the certificate.

Building the Single Sign-on OneLogin Application

clip_image005

First we started with Drupal and added a module in Drupal for providing WebID authentication. But configuring that got a bit tricky as we got few errors while using the module. For example, after digging into the module code we found there was a bug in the import statements. After resolving this we wrote code to automatically create a user in Drupal with the specified role who can use the his/her specified WebID to log in to Drupal.

WebID Provider

Next step involved setting up our own WebID provider (the service that generates a WebID). To do this, we chose to use the open source system, Virtuoso (an enterprise grade RDF store) that we installed on one of our servers over SSL/https. It generated WebID correctly, however, the WebIDs generated from it did not pass verification test. After close inspection we found that although the certificate was generated correctly, it was not getting the FOAF data in RDF format. So we installed an RDF mapper module to fix this and then we were able to generate WebIDs correctly.

Next we worked within Virtuoso to associate its internal users with a WebID, as it had a built-in support for WebIDs. We needed to write a wrapper that can programmatically create an account in Virtuoso and associate a WebID. So we developed a wrapper in PHP and ISQL for the same (the code can be viewed here)

After configuring Virtuoso, we installed OntoWiki. We found that this platform also supports WebID authentication though it had been disabled in the current version in favor of OpenID. So we first got it enabled. Next we wrote the code to create a user and associate a WebID to it. The WebID user creation depends on the external plugin Erfurt in OntoWiki. After solving dependencies and other things we got our code working.

clip_image006

Next and last was the associating WebID with Tomcat/Solr. After basic search we found that there is a library for providing WebID authentication to Tomcat/Solr. This library was not easy to use as we needed lot changes in installation and as well as configuring this library with Tomcat/Solr, but after rigorous efforts we were able to configure it correctly (more technical details are on our blog).

In order to build the code to programmatically create users and associating a WebID we had to tweak the tomcat-users.rdf file. This is where the user list and WebID are stored as nodes. We used a PHP XML parser to append users to the RDF file (view code) .

Finally, the application was build that created users and associated a role in each system and used WebID to login to each system. Included below is a screen shot of the Application with a link to the GitHub repository of the application. A demo video is also available here.

clip_image008

Screenshot of the OneLogin Single Sign on System

TAGGED: Health IT

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
ShahidShah April 15, 2013
Share this Article
Facebook Twitter Copy Link Print
Share
Previous Article Medical Office Efficiency – The Times They are a Wastin’
Next Article Indian Healthcare Industry in the 21st Century

Stay Connected

1.5k Followers Like
4.5k Followers Follow
2.8k Followers Pin
136k Subscribers Subscribe

Latest News

mental health tips
Caring for Your Mental Health Should Be a Top Priority
Mental Health March 19, 2023
combat home sickness
How to Combat Home Sickness After Moving Abroad
Health News March 19, 2023
depression signs
Early Signs of Depression that You Shouldn’t Ignore
Mental Health March 19, 2023
positive mental health
How to Build a Positive Mental Health Environment
Mental Health March 15, 2023

You Might also Like

stablecoins in healthcare
News

Stablecoins May Change the Future of Healthcare Billing

January 30, 2023
healthcare video marketing
MarketingSocial Media

How to Maintain a Successful YouTube Channel as a Healthcare Organization: Advantages of Video Marketing for your Medical Practice

November 9, 2022
Electronic Health Records
BusinesseHealthHospital AdministrationMedical Records

Top Benefits of Electronic Health Records for Psychiatrists and Psychologists

August 15, 2022
tips to design a health app
eHealth

How To Improve Patient Access Metrics

April 5, 2022
//

We influence million of users and is the most authentic source of information on healthcare business and technology news.

Quick Links

  • About
  • Contact
  • Privacy
Subscribe

Subscribe to our newsletter to get our newest articles instantly!

Follow US

© 2008-2023 HealthWorks Collective. All Rights Reserved.

Removed from reading list

Undo
Welcome Back!

Sign in to your account

Lost your password?