共用方式為


The CardSpace “Geneva” Selection Experience

My name is Oren Melzer and I’m a developer on the CardSpace team. In this post, I am going to talk a bit about the newly designed selector in the new CardSpace “Geneva” beta.

Based on feedback from v1, one of our primary goals in designing the CardSpace “Geneva” selector was to give the user a simple, quick, and in-context card selection experience. Quite simply, users don’t want a lengthy or complex login experience; users want to quickly and easily access the site they’re trying to visit. With that in mind, the CardSpace “Geneva” selection experience was designed to be seamless. At a glance, users can see where their information is going and what data they’re sending. At the same time, they’re never more than a few clicks away from being authenticated.

The CardSpace “Geneva” selector uses Credential UI, a built-in Windows authentication mechanism that you may recognize from Remote Desktop Connection or smart card authentication. Credential UI allows CardSpace to operate in the context of the browser, so that the website the user is accessing is still visible.

clip_image002[11]

The selector keeps users in context by appearing within the browser

Keeping it simple

When a user clicks the CardTile or the “log in” button on a webpage, the selector comes up showing all of the user’s cards that match the site’s policy. If the user has previously logged in to the site using CardSpace, the most recently used card will show up first and will be selected by default. All the user needs to do to log in is choose a card, authenticate to the Identity Provider (which may happen silently in the case of certificate or Kerberos backed cards), and click OK.

Users may also wish to review the personal data that they are submitting. To do this, the user simply clicks on “What information will be sent?” to review the display token returned by the Identity Provider. This functionality is equivalent to the “Preview” button in CardSpace v1.

clip_image002[13]

"Show me what will be sent" allows users to review their data before submitting it.

“Always use this card at this site”

One new feature in the CardSpace “Geneva” beta is the ability to use a card automatically at a website. If the corresponding box is checked and the card is successfully submitted, CardSpace will automatically use the given card to log in to this site in the future, saving any credentials used. During subsequent logins to the same site, the user won’t be presented with the selector. Note that in the case of smart card backed cards, users will still have to authenticate to their smart cards. In the current beta, users can undo automatic card use by opening the CardSpace “Geneva” control panel applet and choosing “Delete all card history.”

Website developers should keep in mind that multiple users sometimes share the same Windows account and they may wish to log in to the same site using different cards. Websites may include an alternate object tag with the “requireUserInteraction” parameter set to true (see below) that allows the user to log in with a different card even if the user has chosen to always use a card. Should the user choose a different card, CardSpace “Geneva” will no longer use the previously chosen card automatically.

< OBJECT ID='infocard' type='application/x-informationCard' >
... other parameters here ...
< param name='requireUserInteraction' value='True' />
</OBJECT>

 

Information for developers

The following additional information may be useful for web developers:

· If the connection to a site does not use https, the selector displays a large warning advising the user not to submit sensitive data to the site.

clip_image002[15]

If the connection is not over SSL, the user is warned not to send sensitive information.

· To mitigate spoofing attacks, the CardSpace selector limits the total length of the fully qualified domain name and scheme to 50 characters. The CardSpace selector will not be shown on sites with names longer than this limit. In corporate usage scenarios, system administrators may override this limit up to a maximum of 128 by setting a DWORD registry key at HKLM\Software\Microsoft\CardSpace\MaxHostNameLength.

Want to see the selector in action?

Go install CardSpace “Geneva” and try it out – if you don’t have a card, you can download an example card on the demo page.

Thanks,

Oren Melzer

Software Development Engineer

CardSpace “Geneva”

Comments

  • Anonymous
    November 17, 2008
    PingBack from http://mstechnews.info/2008/11/the-cardspace-%e2%80%9cgeneva%e2%80%9d-selection-experience/
  • Anonymous
    November 19, 2008
    This is great news, but I don't like the way you've done the "What information will be sent?"-link. It clutters up the dialog, a new window would probably be better.I'd also prefer more of a grid view than just a name:value-list.
  • Anonymous
    November 21, 2008
    In an earlier posts, Colin described how to handcraft a web page to implement the new CardTile feature
  • Anonymous
    November 25, 2008
    For those who didn&#39;t attend PDC, the Zermatt identity framework has been re-code-named Geneva Framework
  • Anonymous
    December 10, 2008
    Hello! My name is Robert Zhu and I am a developer on the CardSpace team. Today, I'd like to invite you
  • Anonymous
    December 11, 2008
    Here’s some awesome news from the Microsoft Cardspace Team: The CardSpace &quot;Geneva&quot; Control
  • Anonymous
    December 11, 2008
    Here’s some awesome news from the Microsoft Cardspace Team: The CardSpace &quot;Geneva&quot; Control
  • Anonymous
    June 09, 2009
    Reducing your login steps one click at a time One of the major goals of CardSpace “Geneva” is to streamline