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
@@ -21,16 +22,16 @@ Feature: Test tutorial 405.XACML Rules-based Permissions
21
22
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-02.json"
22
23
23
24
Scenario: 03 - AuthZForce - Read a single domain
24
-
When I set the "AuthZForce" domains url with the "domainId"
25
+
When I set the "AuthZForce" domains url with the previous "domainId"
25
26
And I send a GET HTTP request to that url
26
27
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-03.json"
27
28
28
29
Scenario: 04 - AuthZForce - List all PolicySets available within a domain
29
-
When I set the "AuthZForce" pap policies url with the "domainId"
30
+
When I set the "AuthZForce" pap policies url with the previous "domainId"
30
31
And I send a GET HTTP request to that url
31
32
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-04.json"
32
33
33
-
Scenario: 05 - AuthZForce - List the available revisions of a policyset
34
+
Scenario: 05 - AuthZForce - List the available revisions of a PolicySet
34
35
When I set the "AuthZForce" a pap policy set url with the "domainId" and "policyId"
35
36
And I send a GET HTTP request to that url
36
37
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-05.json"
@@ -41,19 +42,20 @@ Feature: Test tutorial 405.XACML Rules-based Permissions
41
42
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-06.json"
42
43
43
44
Scenario: 07 - AuthZForce - Permit access to a resource
44
-
When I set the "AuthZForce" to the pdp endpoint url with the "domainId"
45
+
When I set the "AuthZForce" to the pdp endpoint url with the previous "domainId"
45
46
And I set the "Content-Type" header with the value "application/xml"
46
47
And the body request described in file "request405-07.xml"
47
48
And I send a POST HTTP request to that url
48
49
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-07.json"
49
50
50
51
Scenario: 08 - AuthZForce - Deny access to a resource
51
-
When I set the "AuthZForce" to the pdp endpoint url with the "domainId"
52
+
When I set the "AuthZForce" to the pdp endpoint url with the previous "domainId"
52
53
And I set the "Content-Type" header with the value "application/xml"
53
54
And the body request described in file "request405-08.xml"
54
55
And I send a POST HTTP request to that url
55
56
Then I receive a HTTP "200" response code from AuthZForce with the body equal to "response405-08.json"
56
57
58
+
# Assertion Failed: The token_type received is not the expected value, received: bearer, but was expected Bearer
57
59
Scenario: 09 - Keystone - User obtain an access token
58
60
When I set the "Authorization" header with the value "Basic dHV0b3JpYWwtZGNrci1zaXRlLTAwMDAteHByZXNzd2ViYXBwOnR1dG9yaWFsLWRja3Itc2l0ZS0wMDAwLWNsaWVudHNlY3JldA=="
59
61
And I set the "Content-Type" header with the value "application/x-www-form-urlencoded"
@@ -65,6 +67,7 @@ Feature: Test tutorial 405.XACML Rules-based Permissions
65
67
| access_token | token_type | scope |
66
68
| any | Bearer | ["permanent"] |
67
69
70
+
# The result obtained is obsolete, there are changes in idm
68
71
Scenario: 10 - Keystone - Obtain roles and domain
69
72
When I set the user url to obtain roles and domain with the following data
70
73
| access_token | app_id |
@@ -73,7 +76,7 @@ Feature: Test tutorial 405.XACML Rules-based Permissions
73
76
Then I receive a HTTP "200" response code from Keyrock with the body equal to "response405-10.json"
74
77
75
78
Scenario: 11 - AuthZForce - Apply a policy to a request
76
-
When I set the "AuthZForce" to the pdp endpoint url with the "domainId"
79
+
When I set the "AuthZForce" to the pdp endpoint url with the previous "domainId"
77
80
And I set the "Content-Type" header with the value "application/xml"
78
81
And the body request described in file "request405-11.xml"
0 commit comments