crowd-client 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -0
- data/crowd-client.gemspec +2 -2
- data/lib/crowd-client.rb +5 -0
- data/lib/crowd-client/version.rb +1 -1
- data/spec/cassettes/Crowd_Client/_in_group_/should_confirm_users_are_in_groups.yml +47 -46
- data/spec/cassettes/Crowd_Client/_login/should_authenticate_and_return_a_session_token.yml +28 -28
- data/spec/cassettes/Crowd_Client/_login/should_raise_Crowd_Client_Exception_AuthenticationFailed_if_authentication_fails.yml +27 -26
- data/spec/cassettes/Crowd_Client/_login/should_raise_Crowd_Client_Exception_InactiveAccount_if_an_account_is_inactive.yml +27 -26
- data/spec/cassettes/Crowd_Client/_logout/should_logout_the_current_session.yml +98 -98
- data/spec/cassettes/Crowd_Client/_search/should_return_user.yml +38 -0
- data/spec/cassettes/Crowd_Client/_user_groups_username_/should_return_the_groups_of_the_user.yml +24 -24
- data/spec/cassettes/Crowd_Client/_user_token_/should_return_the_expanded_user.yml +52 -51
- data/spec/cassettes/Crowd_Client/_valid_session_/should_validate_the_current_session.yml +53 -53
- data/spec/cassettes/Crowd_Client_Group/_add_user/missing_group/should_raise_Exception_NotFound_for_missing_group.yml +70 -70
- data/spec/cassettes/Crowd_Client_Group/_add_user/should_add_the_user.yml +94 -94
- data/spec/cassettes/Crowd_Client_Group/_add_user/should_raise_Exception_NotFound_for_missing_user.yml +71 -71
- data/spec/cassettes/Crowd_Client_Group/_remove_user/should_remove_the_user.yml +114 -114
- data/spec/cassettes/Crowd_Client_Group/_users/should_return_all_of_the_users_in_the_group.yml +24 -24
- data/spec/cassettes/Crowd_Client_User/Creating_a_user/should_create_a_user_with_attributes.yml +70 -69
- data/spec/cassettes/Crowd_Client_User/Get_groups_for_user/should_be_in_the_group.yml +24 -24
- data/spec/cassettes/Crowd_Client_User/Update_user/should_update_user_properties.yml +92 -90
- data/spec/cassettes/Crowd_Client_User/_destroy/should_delete_the_user.yml +70 -69
- data/spec/cassettes/Crowd_Client_User/authenticate/should_return_false_if_the_password_is_invalid.yml +27 -26
- data/spec/cassettes/Crowd_Client_User/authenticate/should_return_true_if_the_password_is_valid.yml +26 -25
- data/spec/cassettes/Crowd_Client_User/change_password/should_allow_the_user_to_set_a_new_password.yml +92 -91
- data/spec/cassettes/Crowd_Client_User/display_name/.yml +25 -24
- data/spec/cassettes/Crowd_Client_User/email/.yml +25 -24
- data/spec/crowd-client_spec.rb +6 -0
- data/spec/spec_helper.rb +2 -1
- metadata +24 -22
@@ -1,102 +1,103 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
Accept:
|
6
|
+
body: ! '{"name":"delete@example.com","active":true,"password":{"value":"test"},"first-name":"Delete","last-name":"Me","email":"delete@example.com"}'
|
7
|
+
headers:
|
8
|
+
Accept:
|
9
9
|
- application/json
|
10
|
-
Authorization:
|
10
|
+
Authorization:
|
11
11
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
12
|
-
Content-Type:
|
12
|
+
Content-Type:
|
13
13
|
- application/json
|
14
|
-
Expect:
|
15
|
-
-
|
16
|
-
response:
|
17
|
-
status:
|
14
|
+
Expect:
|
15
|
+
- ''
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 201
|
19
19
|
message: Created
|
20
|
-
headers:
|
21
|
-
Server:
|
20
|
+
headers:
|
21
|
+
Server:
|
22
22
|
- Apache-Coyote/1.1
|
23
|
-
X-Embedded-Crowd-Version:
|
23
|
+
X-Embedded-Crowd-Version:
|
24
24
|
- Crowd/2.3.3
|
25
|
-
X-Crowd-User-Management-Version:
|
26
|
-
-
|
27
|
-
Set-Cookie:
|
28
|
-
- JSESSIONID=
|
29
|
-
Location:
|
25
|
+
X-Crowd-User-Management-Version:
|
26
|
+
- '1.1'
|
27
|
+
Set-Cookie:
|
28
|
+
- JSESSIONID=57737BCB28AE3EE8A240C8B64A20C402; Path=/crowd
|
29
|
+
Location:
|
30
30
|
- http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=delete@example.com
|
31
|
-
Content-Type:
|
31
|
+
Content-Type:
|
32
32
|
- application/json
|
33
|
-
Content-Length:
|
34
|
-
-
|
35
|
-
Date:
|
36
|
-
-
|
37
|
-
body:
|
33
|
+
Content-Length:
|
34
|
+
- '0'
|
35
|
+
Date:
|
36
|
+
- Tue, 15 Jan 2013 17:34:44 GMT
|
37
|
+
body: ''
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
40
|
-
- request:
|
39
|
+
recorded_at: Tue, 15 Jan 2013 17:34:45 GMT
|
40
|
+
- request:
|
41
41
|
method: delete
|
42
42
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=delete@example.com
|
43
|
-
body:
|
44
|
-
headers:
|
45
|
-
Accept:
|
43
|
+
body: ''
|
44
|
+
headers:
|
45
|
+
Accept:
|
46
46
|
- application/json
|
47
|
-
Authorization:
|
47
|
+
Authorization:
|
48
48
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
49
|
-
Expect:
|
50
|
-
-
|
51
|
-
response:
|
52
|
-
status:
|
49
|
+
Expect:
|
50
|
+
- ''
|
51
|
+
response:
|
52
|
+
status:
|
53
53
|
code: 204
|
54
54
|
message: No Content
|
55
|
-
headers:
|
56
|
-
Server:
|
55
|
+
headers:
|
56
|
+
Server:
|
57
57
|
- Apache-Coyote/1.1
|
58
|
-
X-Embedded-Crowd-Version:
|
58
|
+
X-Embedded-Crowd-Version:
|
59
59
|
- Crowd/2.3.3
|
60
|
-
X-Crowd-User-Management-Version:
|
61
|
-
-
|
62
|
-
Set-Cookie:
|
63
|
-
- JSESSIONID=
|
64
|
-
Date:
|
65
|
-
-
|
66
|
-
body:
|
60
|
+
X-Crowd-User-Management-Version:
|
61
|
+
- '1.1'
|
62
|
+
Set-Cookie:
|
63
|
+
- JSESSIONID=F37DD805053CA9947F78901AE9B390A6; Path=/crowd
|
64
|
+
Date:
|
65
|
+
- Tue, 15 Jan 2013 17:34:44 GMT
|
66
|
+
body: ''
|
67
67
|
http_version:
|
68
|
-
recorded_at:
|
69
|
-
- request:
|
68
|
+
recorded_at: Tue, 15 Jan 2013 17:34:45 GMT
|
69
|
+
- request:
|
70
70
|
method: get
|
71
71
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=delete@example.com
|
72
|
-
body:
|
73
|
-
headers:
|
74
|
-
Accept:
|
72
|
+
body: ''
|
73
|
+
headers:
|
74
|
+
Accept:
|
75
75
|
- application/json
|
76
|
-
Authorization:
|
76
|
+
Authorization:
|
77
77
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
78
|
-
Expect:
|
79
|
-
-
|
80
|
-
response:
|
81
|
-
status:
|
78
|
+
Expect:
|
79
|
+
- ''
|
80
|
+
response:
|
81
|
+
status:
|
82
82
|
code: 404
|
83
83
|
message: Not Found
|
84
|
-
headers:
|
85
|
-
Server:
|
84
|
+
headers:
|
85
|
+
Server:
|
86
86
|
- Apache-Coyote/1.1
|
87
|
-
X-Embedded-Crowd-Version:
|
87
|
+
X-Embedded-Crowd-Version:
|
88
88
|
- Crowd/2.3.3
|
89
|
-
X-Crowd-User-Management-Version:
|
90
|
-
-
|
91
|
-
Set-Cookie:
|
92
|
-
- JSESSIONID=
|
93
|
-
Content-Type:
|
89
|
+
X-Crowd-User-Management-Version:
|
90
|
+
- '1.1'
|
91
|
+
Set-Cookie:
|
92
|
+
- JSESSIONID=979F8BBC2E40B74A3E6D23AC405CFCB6; Path=/crowd
|
93
|
+
Content-Type:
|
94
94
|
- application/json
|
95
|
-
Transfer-Encoding:
|
95
|
+
Transfer-Encoding:
|
96
96
|
- chunked
|
97
|
-
Date:
|
98
|
-
-
|
99
|
-
body:
|
97
|
+
Date:
|
98
|
+
- Tue, 15 Jan 2013 17:34:44 GMT
|
99
|
+
body: ! '{"reason":"USER_NOT_FOUND","message":"User <delete@example.com> does
|
100
|
+
not exist"}'
|
100
101
|
http_version:
|
101
|
-
recorded_at:
|
102
|
+
recorded_at: Tue, 15 Jan 2013 17:34:45 GMT
|
102
103
|
recorded_with: VCR 2.0.0.rc1
|
@@ -1,40 +1,41 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/authentication?username=user@example.com
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
Accept:
|
6
|
+
body: ! '{"value":"invalid"}'
|
7
|
+
headers:
|
8
|
+
Accept:
|
9
9
|
- application/json
|
10
|
-
Authorization:
|
10
|
+
Authorization:
|
11
11
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
12
|
-
Content-Type:
|
12
|
+
Content-Type:
|
13
13
|
- application/json
|
14
|
-
Expect:
|
15
|
-
-
|
16
|
-
response:
|
17
|
-
status:
|
14
|
+
Expect:
|
15
|
+
- ''
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 400
|
19
19
|
message: Bad Request
|
20
|
-
headers:
|
21
|
-
Server:
|
20
|
+
headers:
|
21
|
+
Server:
|
22
22
|
- Apache-Coyote/1.1
|
23
|
-
X-Embedded-Crowd-Version:
|
23
|
+
X-Embedded-Crowd-Version:
|
24
24
|
- Crowd/2.3.3
|
25
|
-
X-Crowd-User-Management-Version:
|
26
|
-
-
|
27
|
-
Set-Cookie:
|
28
|
-
- JSESSIONID=
|
29
|
-
Content-Type:
|
25
|
+
X-Crowd-User-Management-Version:
|
26
|
+
- '1.1'
|
27
|
+
Set-Cookie:
|
28
|
+
- JSESSIONID=B6668DF962666340CBFE8FF33A39E783; Path=/crowd
|
29
|
+
Content-Type:
|
30
30
|
- application/json
|
31
|
-
Transfer-Encoding:
|
31
|
+
Transfer-Encoding:
|
32
32
|
- chunked
|
33
|
-
Date:
|
34
|
-
-
|
35
|
-
Connection:
|
33
|
+
Date:
|
34
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
35
|
+
Connection:
|
36
36
|
- close
|
37
|
-
body:
|
37
|
+
body: ! '{"reason":"INVALID_USER_AUTHENTICATION","message":"Failed to authenticate
|
38
|
+
principal, password was invalid"}'
|
38
39
|
http_version:
|
39
|
-
recorded_at:
|
40
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
40
41
|
recorded_with: VCR 2.0.0.rc1
|
data/spec/cassettes/Crowd_Client_User/authenticate/should_return_true_if_the_password_is_valid.yml
CHANGED
@@ -1,38 +1,39 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/authentication?username=user@example.com
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
Accept:
|
6
|
+
body: ! '{"value":"password"}'
|
7
|
+
headers:
|
8
|
+
Accept:
|
9
9
|
- application/json
|
10
|
-
Authorization:
|
10
|
+
Authorization:
|
11
11
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
12
|
-
Content-Type:
|
12
|
+
Content-Type:
|
13
13
|
- application/json
|
14
|
-
Expect:
|
15
|
-
-
|
16
|
-
response:
|
17
|
-
status:
|
14
|
+
Expect:
|
15
|
+
- ''
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 200
|
19
19
|
message: OK
|
20
|
-
headers:
|
21
|
-
Server:
|
20
|
+
headers:
|
21
|
+
Server:
|
22
22
|
- Apache-Coyote/1.1
|
23
|
-
X-Embedded-Crowd-Version:
|
23
|
+
X-Embedded-Crowd-Version:
|
24
24
|
- Crowd/2.3.3
|
25
|
-
X-Crowd-User-Management-Version:
|
26
|
-
-
|
27
|
-
Set-Cookie:
|
28
|
-
- JSESSIONID=
|
29
|
-
Content-Type:
|
25
|
+
X-Crowd-User-Management-Version:
|
26
|
+
- '1.1'
|
27
|
+
Set-Cookie:
|
28
|
+
- JSESSIONID=2CADFC7978F4F5C752E9481ADF79F357; Path=/crowd
|
29
|
+
Content-Type:
|
30
30
|
- application/json
|
31
|
-
Transfer-Encoding:
|
31
|
+
Transfer-Encoding:
|
32
32
|
- chunked
|
33
|
-
Date:
|
34
|
-
-
|
35
|
-
body:
|
33
|
+
Date:
|
34
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
35
|
+
body: ! '{"expand":"attributes","link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=user@example.com","rel":"self"},"name":"user@example.com","first-name":"Example","last-name":"User","display-name":"Example
|
36
|
+
User","email":"user@example.com","password":{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/password?username=user@example.com","rel":"edit"}},"active":true,"attributes":{"attributes":[],"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/attribute?username=user@example.com","rel":"self"}}}'
|
36
37
|
http_version:
|
37
|
-
recorded_at:
|
38
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
38
39
|
recorded_with: VCR 2.0.0.rc1
|
@@ -1,135 +1,136 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
Accept:
|
6
|
+
body: ! '{"name":"change_pass@example.com","active":true,"password":{"value":"test"},"first-name":"Change","last-name":"Me","email":"change_pass@example.com"}'
|
7
|
+
headers:
|
8
|
+
Accept:
|
9
9
|
- application/json
|
10
|
-
Authorization:
|
10
|
+
Authorization:
|
11
11
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
12
|
-
Content-Type:
|
12
|
+
Content-Type:
|
13
13
|
- application/json
|
14
|
-
Expect:
|
15
|
-
-
|
16
|
-
response:
|
17
|
-
status:
|
14
|
+
Expect:
|
15
|
+
- ''
|
16
|
+
response:
|
17
|
+
status:
|
18
18
|
code: 201
|
19
19
|
message: Created
|
20
|
-
headers:
|
21
|
-
Server:
|
20
|
+
headers:
|
21
|
+
Server:
|
22
22
|
- Apache-Coyote/1.1
|
23
|
-
X-Embedded-Crowd-Version:
|
23
|
+
X-Embedded-Crowd-Version:
|
24
24
|
- Crowd/2.3.3
|
25
|
-
X-Crowd-User-Management-Version:
|
26
|
-
-
|
27
|
-
Set-Cookie:
|
28
|
-
- JSESSIONID=
|
29
|
-
Location:
|
25
|
+
X-Crowd-User-Management-Version:
|
26
|
+
- '1.1'
|
27
|
+
Set-Cookie:
|
28
|
+
- JSESSIONID=3FD1B5E19BB872487DD24BED75F98B8D; Path=/crowd
|
29
|
+
Location:
|
30
30
|
- http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_pass@example.com
|
31
|
-
Content-Type:
|
31
|
+
Content-Type:
|
32
32
|
- application/json
|
33
|
-
Content-Length:
|
34
|
-
-
|
35
|
-
Date:
|
36
|
-
-
|
37
|
-
body:
|
33
|
+
Content-Length:
|
34
|
+
- '0'
|
35
|
+
Date:
|
36
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
37
|
+
body: ''
|
38
38
|
http_version:
|
39
|
-
recorded_at:
|
40
|
-
- request:
|
39
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
40
|
+
- request:
|
41
41
|
method: put
|
42
42
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/password?username=change_pass@example.com
|
43
|
-
body:
|
44
|
-
headers:
|
45
|
-
Accept:
|
43
|
+
body: ! '{"value":"new_password"}'
|
44
|
+
headers:
|
45
|
+
Accept:
|
46
46
|
- application/json
|
47
|
-
Authorization:
|
47
|
+
Authorization:
|
48
48
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
49
|
-
Content-Type:
|
49
|
+
Content-Type:
|
50
50
|
- application/json
|
51
|
-
Expect:
|
52
|
-
-
|
53
|
-
response:
|
54
|
-
status:
|
51
|
+
Expect:
|
52
|
+
- ''
|
53
|
+
response:
|
54
|
+
status:
|
55
55
|
code: 204
|
56
56
|
message: No Content
|
57
|
-
headers:
|
58
|
-
Server:
|
57
|
+
headers:
|
58
|
+
Server:
|
59
59
|
- Apache-Coyote/1.1
|
60
|
-
X-Embedded-Crowd-Version:
|
60
|
+
X-Embedded-Crowd-Version:
|
61
61
|
- Crowd/2.3.3
|
62
|
-
X-Crowd-User-Management-Version:
|
63
|
-
-
|
64
|
-
Set-Cookie:
|
65
|
-
- JSESSIONID=
|
66
|
-
Date:
|
67
|
-
-
|
68
|
-
body:
|
62
|
+
X-Crowd-User-Management-Version:
|
63
|
+
- '1.1'
|
64
|
+
Set-Cookie:
|
65
|
+
- JSESSIONID=12919FAACE67EA0F4DAB75EAFC9C87A5; Path=/crowd
|
66
|
+
Date:
|
67
|
+
- Tue, 15 Jan 2013 17:34:44 GMT
|
68
|
+
body: ''
|
69
69
|
http_version:
|
70
|
-
recorded_at:
|
71
|
-
- request:
|
70
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
71
|
+
- request:
|
72
72
|
method: post
|
73
73
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/authentication?username=change_pass@example.com
|
74
|
-
body:
|
75
|
-
headers:
|
76
|
-
Accept:
|
74
|
+
body: ! '{"value":"new_password"}'
|
75
|
+
headers:
|
76
|
+
Accept:
|
77
77
|
- application/json
|
78
|
-
Authorization:
|
78
|
+
Authorization:
|
79
79
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
80
|
-
Content-Type:
|
80
|
+
Content-Type:
|
81
81
|
- application/json
|
82
|
-
Expect:
|
83
|
-
-
|
84
|
-
response:
|
85
|
-
status:
|
82
|
+
Expect:
|
83
|
+
- ''
|
84
|
+
response:
|
85
|
+
status:
|
86
86
|
code: 200
|
87
87
|
message: OK
|
88
|
-
headers:
|
89
|
-
Server:
|
88
|
+
headers:
|
89
|
+
Server:
|
90
90
|
- Apache-Coyote/1.1
|
91
|
-
X-Embedded-Crowd-Version:
|
91
|
+
X-Embedded-Crowd-Version:
|
92
92
|
- Crowd/2.3.3
|
93
|
-
X-Crowd-User-Management-Version:
|
94
|
-
-
|
95
|
-
Set-Cookie:
|
96
|
-
- JSESSIONID=
|
97
|
-
Content-Type:
|
93
|
+
X-Crowd-User-Management-Version:
|
94
|
+
- '1.1'
|
95
|
+
Set-Cookie:
|
96
|
+
- JSESSIONID=1FA4A0C6AE9B6FF7E41EC1B7CE7A1743; Path=/crowd
|
97
|
+
Content-Type:
|
98
98
|
- application/json
|
99
|
-
Transfer-Encoding:
|
99
|
+
Transfer-Encoding:
|
100
100
|
- chunked
|
101
|
-
Date:
|
102
|
-
-
|
103
|
-
body:
|
101
|
+
Date:
|
102
|
+
- Tue, 15 Jan 2013 17:34:44 GMT
|
103
|
+
body: ! '{"expand":"attributes","link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_pass@example.com","rel":"self"},"name":"change_pass@example.com","first-name":"Change","last-name":"Me","display-name":"Change
|
104
|
+
Me","email":"change_pass@example.com","password":{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/password?username=change_pass@example.com","rel":"edit"}},"active":true,"attributes":{"attributes":[],"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/attribute?username=change_pass@example.com","rel":"self"}}}'
|
104
105
|
http_version:
|
105
|
-
recorded_at:
|
106
|
-
- request:
|
106
|
+
recorded_at: Tue, 15 Jan 2013 17:34:45 GMT
|
107
|
+
- request:
|
107
108
|
method: delete
|
108
109
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_pass@example.com
|
109
|
-
body:
|
110
|
-
headers:
|
111
|
-
Accept:
|
110
|
+
body: ''
|
111
|
+
headers:
|
112
|
+
Accept:
|
112
113
|
- application/json
|
113
|
-
Authorization:
|
114
|
+
Authorization:
|
114
115
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
115
|
-
Expect:
|
116
|
-
-
|
117
|
-
response:
|
118
|
-
status:
|
116
|
+
Expect:
|
117
|
+
- ''
|
118
|
+
response:
|
119
|
+
status:
|
119
120
|
code: 204
|
120
121
|
message: No Content
|
121
|
-
headers:
|
122
|
-
Server:
|
122
|
+
headers:
|
123
|
+
Server:
|
123
124
|
- Apache-Coyote/1.1
|
124
|
-
X-Embedded-Crowd-Version:
|
125
|
+
X-Embedded-Crowd-Version:
|
125
126
|
- Crowd/2.3.3
|
126
|
-
X-Crowd-User-Management-Version:
|
127
|
-
-
|
128
|
-
Set-Cookie:
|
129
|
-
- JSESSIONID=
|
130
|
-
Date:
|
131
|
-
-
|
132
|
-
body:
|
127
|
+
X-Crowd-User-Management-Version:
|
128
|
+
- '1.1'
|
129
|
+
Set-Cookie:
|
130
|
+
- JSESSIONID=F570127E71E5A6BEFDB33048A1E5FBE6; Path=/crowd
|
131
|
+
Date:
|
132
|
+
- Tue, 15 Jan 2013 17:34:44 GMT
|
133
|
+
body: ''
|
133
134
|
http_version:
|
134
|
-
recorded_at:
|
135
|
+
recorded_at: Tue, 15 Jan 2013 17:34:45 GMT
|
135
136
|
recorded_with: VCR 2.0.0.rc1
|