-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,8 @@ Feature: Shibboleth | |
And The setting "security-wantAssertionsSigned" is set to "1" | ||
And The setting "saml-attribute-mapping-email_mapping" is set to "urn:oid:0.9.2342.19200300.100.1.3" | ||
And The setting "saml-attribute-mapping-displayName_mapping" is set to "urn:oid:2.5.4.42 urn:oid:2.5.4.4" | ||
And The setting "saml-attribute-mapping-quota_mapping" is set to "quota" | ||
And The setting "saml-attribute-mapping-group_mapping" is set to "groups" | ||
When I send a GET request to "http://localhost/index.php/login" | ||
Then I should be redirected to "https://localhost:4443/idp/profile/SAML2/Redirect/SSO" | ||
And I send a POST request to "https://localhost:4443/idp/profile/SAML2/Redirect/SSO?execution=e1s1" with the following data | ||
|
@@ -89,7 +91,12 @@ Feature: Shibboleth | |
And I should be redirected to "http://localhost/index.php/apps/dashboard/" | ||
And The user value "id" should be "student1" | ||
And The user value "email" should be "[email protected]" | ||
And The user value "quota.total" should be "209715200" | ||
And The user value "display-name" should be "Stud Ent" | ||
And The user value "groups" should be "Astrophysics, Students" | ||
And the group "Astrophysics" should exists | ||
And the group "SAML_Astrophysics" should exists | ||
And the group "SAML_Students" should exists | ||
And The last login timestamp of "student1" should not be empty | ||
|
||
Scenario: Authenticating using Shibboleth with SAML with custom redirect URL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters