I5:FeatureTest-Selector Preserves MasterKey when Overwriting Card

From OSIS Open Source Identity Systems
Jump to: navigation, search

{{#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||

{{#ifeq:no|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

  1. Open the result page for your solution and for this test.
  2. Import the "Echo Auditing" card from the file File:I5 fedid cards.crds using the password "password", or if the selector doesn't support .crds files, from https://ipsts.federatedidentity.net/MgmtConsole/TestAccount.aspx?cardType=echoCard0.
  3. 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".
    1. Record the PPID value being previewed (which should be UPM-4UWF-FAH).
  4. Submit the card.
    1. Record the ClientPseudonym value displayed (which should be 9huBthvsZVc0bOENyKKzzuRrjoOWOyYGymtlRgHFp5w=).
  5. Now visit the site https://ipsts.federatedidentity.net/MgmtConsole/TestAccount.aspx?cardType=echoCard0 and click the icon to install the "Auditing" Echo STS card.
    1. 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.
  6. 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".
    1. Compare the PPID value being previewed to the value recorded earlier. It should be the same.
  7. Submit the card.
    1. Compare the ClientPseudonym value displayed to the one you recorded earlier. It should be the same.
  8. Set outcome:
    1. If the success criteria was met, set the outcome to "Works".
    2. If the test failed, set the outcome to "Failed" and enter information about the failure in the Notes section.
    3. If other issues occurred set the result to "Issues" and describe them in the Notes section.
  9. Add either four tilde ~~~~ signs or a text name into the "Tested by" parameter.
  10. Update the Date Tested, Browser, and Operating System lines of the results page.