I5:FeatureTest-Selector Preserves MasterKey when Overwriting Card
From OSIS Open Source Identity Systems
{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FeatureTest-Selector Preserves MasterKey when Overwriting Card}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:Selector Preserves MasterKey when Overwriting Card|{{#if:{{#var:DtArticleSortKey}}||}}}}{{#ifeq:{{#var:header}}|no||
{{#if:{{#var:refs}}|[[{{#var:page}}|no_ref's]]|[[Special:Call/DT Article show Refs,page={{#var:page}},refs=yes|ref's]]}}}} | {{#if:{{#var:DtArticleSortKey}}|({{#var:DtArticleSortKey}})}} list help [[Special:Call/DT Article copy,cat=FeatureTest,from={{#var:page}},namespace=I5|copy]] [[Special:Call/DT Articles list XML,type=FeatureTest,title={{#var:page}},namespace=I5|as XML]] edit |
{{#if:|Feature Test |Feature Test }} | Selector Preserves MasterKey when Overwriting Card |
Test Type | bgcolor={{{color}}}}}|Card Usage |
Identifier | bgcolor={{{color}}}}}|FTR-iis-cardmgmt-4 |
Description | bgcolor={{{color}}}}}|Tests that Selector retains the MasterKey and HashSalt when a card is overwritten by a card with the same CardID from a .crd file |
Role tested | bgcolor={{{color}}}}}|Information Card Identity Selector |
Known Successful Reference Solution(s) | bgcolor={{{color}}}}}|{{ #if: CardSpace .NET Framework 3.5 SP1 | I5:CardSpace .NET Framework 3.5 SP1}}{{ #if: | [[I5:]]}} {{ #if: | }} {{ #if: | }} |
Success Criteria | bgcolor={{{color}}}}}|The card generates the same ClientPseudonym after being overwritten |
Failure Criteria | bgcolor={{{color}}}}}|ClientPseudonym changes after the card is overwritten |
Features Proven
{{#dpl:debug=1
|resultsheader=\n |noresultsheader= {|\n|bgcolor=#eeeeee|No matching Feature found.\n|}\n |category=Feature |namespace=I5 |linksto=I5:FeatureTest-Selector Preserves MasterKey when Overwriting Card |nottitlematch = Feature.edit |include={Feature}.viewfromtest |includematch=/FeatureTest-Selector Preserves MasterKey when Overwriting Card/s |table=class=sortable,-,Feature,feature_type,solution_role
}}
Instructions
- Open the result page for your solution and for this test.
- Import the "Echo Auditing" card from the file File:I5 fedid cards.crds using the password "password".
- Visit https://relyingparty.federatedidentity.net/CardSelectorRP/login.aspx and click the icon to submit a card. Select the "Echo Auditing" card and preview the claims to be sent using the username "testclient" and password "testpassword".
- Record the PPID value being previewed (which should be UPM-4UWF-FAH).
- Submit the card.
- Record the ClientPseudonym value displayed (which should be 9huBthvsZVc0bOENyKKzzuRrjoOWOyYGymtlRgHFp5w=).
- Now visit the site https://ipsts.federatedidentity.net/MgmtConsole/TestAccount.aspx?cardType=echoCard0 and click the icon to install the "Auditing" Echo STS card.
- The selector should display a warning along the lines of "A card with the same version exists. Importing will replace this card." This is OK. Proceed to import the card.
- Visit https://relyingparty.federatedidentity.net/CardSelectorRP/login.aspx and click the icon to submit a card. Select the "Auditing" card and preview the claims to be sent using the username "testclient" and password "testpassword".
- Compare the PPID value being previewed to the value recorded earlier. It should be the same.
- Submit the card.
- Compare the ClientPseudonym value displayed to the one you recorded earlier. It should be the same.
- Set outcome:
- If the success criteria was met, set the outcome to "Works".
- If the test failed, set the outcome to "Failed" and enter information about the failure in the Notes section.
- If other issues occurred set the result to "Issues" and describe them in the Notes section.
- Add either four tilde ~~~~ signs or a text name into the "Tested by" parameter.
- Update the Date Tested, Browser, and Operating System lines of the results page.