Skip to content

Commit

Permalink
Merge pull request #280 from silinternational/doc-patch
Browse files Browse the repository at this point in the history
fix functional_testing docs
  • Loading branch information
briskt authored Sep 20, 2024
2 parents 0f3f515 + 4a828b7 commit d76dbdf
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/functional_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ See [Local Testing](../README.md#local-testing) for instructions to set up your
### Ensure main SP goes to discovery page and can login through the main IdP
* Kill all your cookies for ssp\*
* Browse to http://ssp-sp1.local:8081/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-hub.local/module.php/sildisco/disco.php?entityID=ssp-hub.local&...
* Select IdP 1
* This should redirect to http://ssp-idp1.local:8085/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "a" as the password (without the quotation marks).
* Login as sildisco_idp1 using "sildisco_password" as the password (without the quotation marks).
* This should return you to the main SP at http://ssp-sp1.local:8081/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes.

### Ensure third SP is also authenticated
Expand All @@ -38,7 +38,7 @@ See [Local Testing](../README.md#local-testing) for instructions to set up your
### Ensure second SP is forced to authenticate
* Browse to http://ssp-sp2.local:8082/module.php/core/authenticate.php?as=ssp-hub
* This should redirect to http://ssp-idp2.local:8086/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "b" as the password.
* Login as sildisco_idp2 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp2.local:8082/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes (but there are none).

### Ensure third SP is still authenticated
Expand All @@ -49,31 +49,31 @@ See [Local Testing](../README.md#local-testing) for instructions to set up your
### Ensure second SP can login through the second IdP
* Kill all your cookies for ssp\*
* Browse to http://ssp-sp2.local:8082/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-idp2.local:8086/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "b" as the password.
* Login as sildisco_idp2 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp2.local:8082/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes (but there are none).

### Ensure main SP goes to discovery page but is authenticated
* Browse to http://ssp-sp1.local:8081/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-hub.local/module.php/sildisco/disco.php?entityID=ssp-hub.local&...
* Select IdP 2
* This should return you to the main SP at http://ssp-sp1.local:8081/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes (but there are none).

### Ensure third SP is forced to authenticate
* Browse to http://ssp-sp3.local:8083/module.php/core/authenticate.php?as=ssp-hub
* This should redirect to http://ssp-idp1.local:8085/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "a" as the password.
* Login as sildisco_idp1 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp3.local:8083/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes.

## Third SP authenticates through Main Idp. Main SP is forced to discovery page but is also authenticated. Second SP must re-authenticate.
### Ensure third SP can login through the main IdP
* Kill all your cookies for ssp\*
* Browse to http://ssp-sp3.local:8083/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-idp1.local:8085/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "a" as the password.
* Login as sildisco_idp1 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp3.local:8083/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes.

### Ensure main SP goes to discovery page but is authenticated
Expand All @@ -85,18 +85,18 @@ See [Local Testing](../README.md#local-testing) for instructions to set up your
### Ensure second SP is forced to authenticate
* Browse to http://ssp-sp2.local:8082/module.php/core/authenticate.php?as=ssp-hub
* This should redirect to http://ssp-idp2.local:8086/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "b" as the password.
* Login as sildisco_idp2 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp2.local:8082/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes (but there are none).

## Main SP authenticates through Second Idp. Second SP is also authenticated. Third SP must re-authenticate.
### Ensure main SP goes to discovery page and can login through the second IdP
* Kill all your cookies for ssp\*
* Browse to http://ssp-sp1.local:8081/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-hub.local/module.php/sildisco/disco.php?entityID=ssp-hub.local&...
* Select IdP 2
* This should redirect to http://ssp-idp2.local:8086/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "b" as the password
* Login as sildisco_idp2 using "sildisco_password" as the password (without the quotation marks).
* This should return you to the main SP at http://ssp-sp1.local:8081/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes (but there are none).

### Ensure second SP is also authenticated
Expand All @@ -106,7 +106,7 @@ See [Local Testing](../README.md#local-testing) for instructions to set up your
### Ensure third SP is forced to authenticate
* Browse to http://ssp-sp3.local:8083/module.php/core/authenticate.php?as=ssp-hub
* This should redirect to http://ssp-idp1.local:8085/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "a" as the password.
* Login as sildisco_idp1 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp3.local:8083/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes.

### Ensure second SP is still authenticated
Expand All @@ -117,16 +117,16 @@ See [Local Testing](../README.md#local-testing) for instructions to set up your
### Ensure second SP can login through the second IdP
* Kill all your cookies for ssp\*
* Browse to http://ssp-sp2.local:8082/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-idp2.local:8086/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "b" as the password.
* Login as sildisco_idp2 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp2.local:8082/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes (but there are none).

### Ensure main SP goes to discovery page and must authenticate when choosing the main Idp
* Browse to http://ssp-sp1.local:8081/module.php/core/authenticate.php
* Click on ssp-hub
* Click on ssp-hub-custom-port
* This should redirect to http://ssp-hub.local/module.php/sildisco/disco.php?entityID=ssp-hub.local&...
* Select IdP 1
* This should redirect to http://ssp-idp1.local:8085/module.php/core/loginuserpass.php?AuthState=...
* Login as admin using "a" as the password.
* Login as sildisco_idp1 using "sildisco_password" as the password (without the quotation marks).
* This should get you to http://ssp-sp3.local:8083/module.php/core/authenticate.php?as=ssp-hub and show your saml attributes.

0 comments on commit d76dbdf

Please sign in to comment.