Difference between revisions of "OC5:FeatureTest-Second Use of Access Code Revokes Previously Issued Access Token"

From OSIS Open Source Identity Systems
Jump to: navigation, search
m (1 revision: Cloning for OC5 Interop)
m (1 revision: Cloning for OC5 Interop)
Line 12: Line 12:
 
   |failure            = Access token continues to work
 
   |failure            = Access token continues to work
 
}}
 
}}
# Run the automated OP testing tools either using the online OP test site at http://openidtest.uninett.no/connect-provider or by downloading and running the OP testing scripts at http://www.kodtest.se/oictest/.
+
# Run the automated OP testing tools either using the online OP test site at http://openidtest.uninett.no/test#!/connect or by downloading and running the OP testing scripts at http://www.kodtest.se/oictest/.
 
## Instructions on getting started with OP testing can be found at http://openidtest.uninett.no/connect-gettingstarted.
 
## Instructions on getting started with OP testing can be found at http://openidtest.uninett.no/connect-gettingstarted.
 
# Open the result page for your solution and this test.
 
# Open the result page for your solution and this test.

Revision as of 06:53, 27 June 2013

{{#vardefine:page|{{#if:{{#var:page}}|{{#var:page}}|FeatureTest-Second Use of Access Code Revokes Previously Issued Access Token}}}}{{#vardefine:nr|{{#if:{{#var:nr}}|{{#expr:{{#var:nr}}+1}}|1}}}}{{#vardefine:url|{{#replace:{{#var:page}}| |_}}}}{{#if:Second Use of Access Code Revokes Previously Issued Access Token|{{#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=OC5|copy]]  [[Special:Call/DT Articles list XML,type=FeatureTest,title={{#var:page}},namespace=OC5|as XML]]  edit
}}
{{#if:|Feature Test |Feature Test }}   Second Use of Access Code Revokes Previously Issued Access Token
Test Type   bgcolor={{{color}}}}}|normal
Identifier   bgcolor={{{color}}}}}|FTR-op-code-2nd-revokes  
Description   bgcolor={{{color}}}}}|OP receives request to use access code for a second time  
Role tested   bgcolor={{{color}}}}}|OP  
Known Successful Reference Solution(s)   bgcolor={{{color}}}}}|{{ #if: |
[[OC5:]]}}{{ #if: |
[[OC5:]]}} {{ #if: |
}} {{ #if: |
}}  
Success Criteria   bgcolor={{{color}}}}}|Access token revoked  
Failure Criteria   bgcolor={{{color}}}}}|Access token continues to work  

Features Proven

{{#dpl:debug=1

 |resultsheader=\n
 |noresultsheader= {|\n|bgcolor=#eeeeee|No matching Feature found.\n|}\n
 |category=Feature
 |namespace=OC5
 |linksto=OC5:FeatureTest-Second Use of Access Code Revokes Previously Issued Access Token
 |nottitlematch = Feature.edit
 |include={Feature}.viewfromtest
 |includematch=/FeatureTest-Second Use of Access Code Revokes Previously Issued Access Token/s
 |table=class=sortable,-,Feature,feature_type,solution_role

}}

Instructions

  1. Run the automated OP testing tools either using the online OP test site at http://openidtest.uninett.no/test#!/connect or by downloading and running the OP testing scripts at http://www.kodtest.se/oictest/.
    1. Instructions on getting started with OP testing can be found at http://openidtest.uninett.no/connect-gettingstarted.
  2. Open the result page for your solution and this test.
  3. Record the outcome from the test "(mj-40)Trying to use access code twice should result in revoking previous issued tokens" 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.
  4. Add either four tilde ~~~~ signs or a text name into the "Tested by" parameter.
  5. Update the Date Tested, Browser, and Operating System lines of the results page.