Thursday, December 20, 2007

Windows registry settings for Microsoft CardSpace

Follwong are some of the windows registry setting, corresponding to Microsoft Identity Selector.

1. HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-informationCard

Internet Explorer 7.0 supports information cards using a MIME handler extension called Microsoft Information Card IE Helper, available from icardie.dll. The above registry key links the MIME type for information cards to the handler.

2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\InformationCard Token Provider

The handler is responsible for calling the Identity Selector, passing parameters specified by the object tag or XHTML binary behavior. For Internet Explorer 7.0, the identity selector defaults to Windows CardSpace, indicated by the above registry entry.

3. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Default Behaviors\INFORMATIONCARD

For the object tag syntax, the MIME handler is triggered through the InformationCardSigninHelper Class, enabled by default in the Internet Explorer 7.0 add-ons.If this add-on is disabled, the object tag will not trigger identity selection, but this setting has no effect on XHTML syntax. The XHTML information card behavior is configured in a string entry labeled INFORMATIONCARD under the registry key.

The object tag uses the MIME type application/x-informationCard:

<object id="informationCard" name="informationCard"
type="application/x-informationCard">
...
<object>
The information card binary behavior can be specified in XHTML by using a #default#informationCard behavior in the <informationCard> element:

<ic:informationCard name="xmlToken"
style="behavior:url(#default#informationCard)" ... >
...
</ic:informationCard>

0 comments: