You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/integration/features/Shibboleth.feature
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,22 @@ Feature: Shibboleth
87
87
And the group "SAML_Students" should exists
88
88
And The last login timestamp of "student1" should not be empty
89
89
90
+
Scenario: Authenticating using Shibboleth with SAML in provisioning mode and an overlong group name
91
+
Given The setting "saml-attribute-mapping-displayName_mapping" is set to "urn:oid:2.5.4.42 urn:oid:2.5.4.4"
92
+
And The setting "saml-attribute-mapping-group_mapping" is set to "groups"
93
+
When I send a GET request to "http://localhost:8080/index.php/login"
94
+
Then I should be redirected to "https://localhost:4443/idp/profile/SAML2/Redirect/SSO"
95
+
And I send a POST request to "https://localhost:4443/idp/profile/SAML2/Redirect/SSO?execution=e1s1" with the following data
96
+
|j_username|j_password|_eventId_proceed|
97
+
|student3 |password | |
98
+
And The response should be a SAML redirect page that gets submitted
99
+
And I should be redirected to "http://localhost:8080/index.php/apps/dashboard/"
100
+
And The user value "id" should be "student3"
101
+
And The user value "display-name" should be "Alice Alisson"
102
+
And The user value "groups" should be "SAML_a8c9502da8297f759c8d3ad26860efa9527d83e17130901d,SAML_Students"
103
+
And the group "SAML_a8c9502da8297f759c8d3ad26860efa9527d83e17130901d" should exists
104
+
And the group "SAML_a8c9502da8297f759c8d3ad26860efa9527d83e17130901d" has the display name "AGroupNameContainingMoreThan64CharactersRepeatAGroupNameContainingMoreThan64Characters"
105
+
90
106
Scenario: Authenticating using Shibboleth with SAML with custom redirect URL
91
107
Given The setting "saml-attribute-mapping-email_mapping" is set to "urn:oid:0.9.2342.19200300.100.1.3"
92
108
And The setting "saml-attribute-mapping-displayName_mapping" is set to "urn:oid:2.5.4.42 urn:oid:2.5.4.4"
0 commit comments