I5:FeatureTest-OpenID Relying Party uses Claimed ID as its Primary Key

From OSIS Open Source Identity Systems
Revision as of 19:17, 2 December 2008 by Administrator (Talk | contribs) (1 revision(s))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FeatureTest-OpenID Relying Party uses Claimed ID as its Primary Key}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:OpenID Relying Party uses Claimed ID as it's primary Key|{{#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 }}   OpenID Relying Party uses Claimed ID as it's primary Key
Test Type   bgcolor={{{color}}}}}|OpenID Authentication
Identifier   bgcolor={{{color}}}}}|FTR-orp-auth-9  
Description   bgcolor={{{color}}}}}|Tests OpenID RP's use of the claimed_id as the primary key for openIDs  
Role tested   bgcolor={{{color}}}}}|OpenID Identity Relying Party  
Known Successful Reference Solution(s)   bgcolor={{{color}}}}}|{{ #if: JanRain PHP |
I5:JanRain PHP}}{{ #if: Plaxo Signin |
I5:Plaxo Signin}} {{ #if: |
}} {{ #if: |
}}  
Success Criteria   bgcolor={{{color}}}}}|The RP treats the http: and https: verions of the URI as separate openID  
Failure Criteria   bgcolor={{{color}}}}}|The RP allows both http: and https: forms  

Features Proven

{{#dpl:debug=1

 |resultsheader=\n
 |noresultsheader= {|\n|bgcolor=#eeeeee|No matching Feature found.\n|}\n
 |category=Feature
 |namespace=I5
 |linksto=I5:FeatureTest-OpenID Relying Party uses Claimed ID as its Primary Key
 |nottitlematch = Feature.edit
 |include={Feature}.viewfromtest
 |includematch=/FeatureTest-OpenID Relying Party uses Claimed ID as its Primary Key/s
 |table=class=sortable,-,Feature,feature_type,solution_role

}}

Instructions

  1. Open the result page for your solution and this test.
  2. Use an openID like http://example.myopenid.com that supports a https: version but doen't provide a 302 redirect from the http: to the https: version. (myopenid.com is an example)
  3. Open the OpenID login page for your relying party.
  4. Enter the http version of the openID such as https://example.myopenid.com into the OpenID login field of the page.
  5. Create a new account at the RP using this ID.
  6. Logout of the RP.
  7. Open the OpenID login page for your relying party.
  8. Enter the http version of the openID such as http://example.myopenid.com into the OpenID login field of the page.
  9. At this point you should be prompted to create another new account.
  10. Failure would be being allowed access to the https openID account.
    1. A Test OP that genrates diffrent fragments for the returned claimed_id would also provide a good test.
  11. Set outcome in the results page:
    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.
  12. Add either four tilde ~~~~ signs or a text name into the "Tested by" parameter.
  13. Update the Date Tested, Browser, and Operating System lines of the results page.