Joe Poon

Iterative Thoughts on Software

Information Card Ruby 0.1.0

with one comment

logo_banner_red

We are pleased to release Information Card Ruby 0.1.0. Information Card Ruby is an open source project which provides a plugin and gem for integrating information card authentication to your Ruby on Rails web application. The gem does the heavy lifting of decrypting, processing and authenticating information cards, while the plugin supplements your rails application with useful methods to start accepting information cards.

So, Information Card Ruby enables your Rails website to authenticate users with information cards. Sounds great you say, but you may be wondering “what is an information card?”, “where do users get information cards come from?” and “how do users select and provide information cards to my website?” Good questions. An information card is essentially a digital identity which contains claims that relate to you. For instance, I have an information card that claims my first name is Joe and that I live in Canada. As for who issues cards, there are two types of cards, namely personal and managed. Personal cards are created by you and are stored on your local machine. For instance, on Windows, you may use Windows CardSpace to create a personal information card with details such as your name and e-mail. Managed cards are obtained from Identity Providers, which are third parties whom can truly attest to your identity, such as your bank or employer. As Information Card Ruby 0.1.0 only supports personal cards at the moment, we’ll delve into managed cards another day. Alright, at this point we know what an information card is and how we can create our own personal cards. Now, it’s time to find a website to put this card to use. Conveniently, we have a demo site which has integrated the popular forum Beast with Information Card Ruby. If you visit our demo site, you can sign up and login with your information card.

Information Card Ruby Logo

On the demo site, if you click on the shiny red card icon, it will invoke an Identity Selector. For you Windows Vista (or XP with .NET 3.0 runtime) users, this will trigger Windows CardSpace. Not on a Windows machine? No worries, there are non-Windows and non-Internet Explorer specific selectors available for download. The Identity Selector retrieves the policy (ex. the required claims) of the website and pops up a GUI showing you a list of your information cards that would work for the given policy. For example, the demo site has been setup to require the claims {given name, surname, email}. Only your cards which provide a subset of these claims can be used for authentication at the demo site. With the Identity Selector, simply select one of your qualifying cards to be sent to the website for authentication. And that’s it, you’re done!

Well, that’s a brief overview of where Information Card Ruby fits in within the information card metasystem. Excited? Great. From the project home page, you can read the documentation, try the demo and download the code from rubyforge. To learn more about Windows CardSpace, visit cardspace fx. The Information Card Ruby team (Jason Sallis, Vijay Rajagopalan and Joe Poon) truly welcomes your feedback.

Written by joe poon

July 2nd, 2007 at 9:19 pm

One Response to 'Information Card Ruby 0.1.0'

Subscribe to comments with RSS or TrackBack to 'Information Card Ruby 0.1.0'.

  1. I have been hosting my sites mostly with BlueHost for quite a while now and think they deliver a premium service. But nowadays almost all of the hosting companies do a good job and there are only few that really stand out negatively.

    Homer Troisi

    3 Dec 10 at 16:01

Leave a Reply