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
data/spec/cassettes/Crowd_Client_Group/_users/should_return_all_of_the_users_in_the_group.yml
CHANGED
@@ -1,36 +1,36 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
5
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/group/user/nested?groupname=MyGroup
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
Accept:
|
6
|
+
body: ''
|
7
|
+
headers:
|
8
|
+
Accept:
|
9
9
|
- application/json
|
10
|
-
Authorization:
|
10
|
+
Authorization:
|
11
11
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
12
|
-
Expect:
|
13
|
-
-
|
14
|
-
response:
|
15
|
-
status:
|
12
|
+
Expect:
|
13
|
+
- ''
|
14
|
+
response:
|
15
|
+
status:
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
|
-
headers:
|
19
|
-
Server:
|
18
|
+
headers:
|
19
|
+
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
|
-
X-Embedded-Crowd-Version:
|
21
|
+
X-Embedded-Crowd-Version:
|
22
22
|
- Crowd/2.3.3
|
23
|
-
X-Crowd-User-Management-Version:
|
24
|
-
-
|
25
|
-
Set-Cookie:
|
26
|
-
- JSESSIONID=
|
27
|
-
Content-Type:
|
23
|
+
X-Crowd-User-Management-Version:
|
24
|
+
- '1.1'
|
25
|
+
Set-Cookie:
|
26
|
+
- JSESSIONID=B482D635EBDE9C18BF1C8F284A66059F; Path=/crowd
|
27
|
+
Content-Type:
|
28
28
|
- application/json
|
29
|
-
Transfer-Encoding:
|
29
|
+
Transfer-Encoding:
|
30
30
|
- chunked
|
31
|
-
Date:
|
32
|
-
-
|
33
|
-
body:
|
31
|
+
Date:
|
32
|
+
- Tue, 15 Jan 2013 17:34:42 GMT
|
33
|
+
body: ! '{"expand":"user","users":[{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=user@example.com","rel":"self"},"name":"user@example.com"}]}'
|
34
34
|
http_version:
|
35
|
-
recorded_at:
|
35
|
+
recorded_at: Tue, 15 Jan 2013 17:34:42 GMT
|
36
36
|
recorded_with: VCR 2.0.0.rc1
|
data/spec/cassettes/Crowd_Client_User/Creating_a_user/should_create_a_user_with_attributes.yml
CHANGED
@@ -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":"new_user@example.com","active":true,"password":{"value":"test"},"first-name":"New","last-name":"User","email":"new_user@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=0207B467154DDB4EB2ABBEA17C277FA4; Path=/crowd
|
29
|
+
Location:
|
30
30
|
- http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=new_user@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: get
|
42
42
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=new_user@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: 200
|
54
54
|
message: OK
|
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
|
-
Content-Type:
|
60
|
+
X-Crowd-User-Management-Version:
|
61
|
+
- '1.1'
|
62
|
+
Set-Cookie:
|
63
|
+
- JSESSIONID=6E173A5D3510874D21CB2E098887D002; Path=/crowd
|
64
|
+
Content-Type:
|
65
65
|
- application/json
|
66
|
-
Transfer-Encoding:
|
66
|
+
Transfer-Encoding:
|
67
67
|
- chunked
|
68
|
-
Date:
|
69
|
-
-
|
70
|
-
body:
|
68
|
+
Date:
|
69
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
70
|
+
body: ! '{"expand":"attributes","link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=new_user@example.com","rel":"self"},"name":"new_user@example.com","first-name":"New","last-name":"User","display-name":"New
|
71
|
+
User","email":"new_user@example.com","password":{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/password?username=new_user@example.com","rel":"edit"}},"active":true,"attributes":{"attributes":[],"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/attribute?username=new_user@example.com","rel":"self"}}}'
|
71
72
|
http_version:
|
72
|
-
recorded_at:
|
73
|
-
- request:
|
73
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
74
|
+
- request:
|
74
75
|
method: delete
|
75
76
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=new_user@example.com
|
76
|
-
body:
|
77
|
-
headers:
|
78
|
-
Accept:
|
77
|
+
body: ''
|
78
|
+
headers:
|
79
|
+
Accept:
|
79
80
|
- application/json
|
80
|
-
Authorization:
|
81
|
+
Authorization:
|
81
82
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
82
|
-
Expect:
|
83
|
-
-
|
84
|
-
response:
|
85
|
-
status:
|
83
|
+
Expect:
|
84
|
+
- ''
|
85
|
+
response:
|
86
|
+
status:
|
86
87
|
code: 204
|
87
88
|
message: No Content
|
88
|
-
headers:
|
89
|
-
Server:
|
89
|
+
headers:
|
90
|
+
Server:
|
90
91
|
- Apache-Coyote/1.1
|
91
|
-
X-Embedded-Crowd-Version:
|
92
|
+
X-Embedded-Crowd-Version:
|
92
93
|
- Crowd/2.3.3
|
93
|
-
X-Crowd-User-Management-Version:
|
94
|
-
-
|
95
|
-
Set-Cookie:
|
96
|
-
- JSESSIONID=
|
97
|
-
Date:
|
98
|
-
-
|
99
|
-
body:
|
94
|
+
X-Crowd-User-Management-Version:
|
95
|
+
- '1.1'
|
96
|
+
Set-Cookie:
|
97
|
+
- JSESSIONID=E4BF7C0F844CC605054344C33C0DCE37; Path=/crowd
|
98
|
+
Date:
|
99
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
100
|
+
body: ''
|
100
101
|
http_version:
|
101
|
-
recorded_at:
|
102
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
102
103
|
recorded_with: VCR 2.0.0.rc1
|
@@ -1,36 +1,36 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: get
|
5
5
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/group/nested?username=user@example.com
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
Accept:
|
6
|
+
body: ''
|
7
|
+
headers:
|
8
|
+
Accept:
|
9
9
|
- application/json
|
10
|
-
Authorization:
|
10
|
+
Authorization:
|
11
11
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
12
|
-
Expect:
|
13
|
-
-
|
14
|
-
response:
|
15
|
-
status:
|
12
|
+
Expect:
|
13
|
+
- ''
|
14
|
+
response:
|
15
|
+
status:
|
16
16
|
code: 200
|
17
17
|
message: OK
|
18
|
-
headers:
|
19
|
-
Server:
|
18
|
+
headers:
|
19
|
+
Server:
|
20
20
|
- Apache-Coyote/1.1
|
21
|
-
X-Embedded-Crowd-Version:
|
21
|
+
X-Embedded-Crowd-Version:
|
22
22
|
- Crowd/2.3.3
|
23
|
-
X-Crowd-User-Management-Version:
|
24
|
-
-
|
25
|
-
Set-Cookie:
|
26
|
-
- JSESSIONID=
|
27
|
-
Content-Type:
|
23
|
+
X-Crowd-User-Management-Version:
|
24
|
+
- '1.1'
|
25
|
+
Set-Cookie:
|
26
|
+
- JSESSIONID=D8BC2A785F667BBC8ACCF37AAF25BA6B; Path=/crowd
|
27
|
+
Content-Type:
|
28
28
|
- application/json
|
29
|
-
Transfer-Encoding:
|
29
|
+
Transfer-Encoding:
|
30
30
|
- chunked
|
31
|
-
Date:
|
32
|
-
-
|
33
|
-
body:
|
31
|
+
Date:
|
32
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
33
|
+
body: ! '{"expand":"group","groups":[{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/group?groupname=MyGroup","rel":"self"},"name":"MyGroup"},{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/group?groupname=users","rel":"self"},"name":"users"}]}'
|
34
34
|
http_version:
|
35
|
-
recorded_at:
|
35
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
36
36
|
recorded_with: VCR 2.0.0.rc1
|
@@ -1,133 +1,135 @@
|
|
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_user@example.com","active":true,"password":{"value":"test"},"first-name":"Change","last-name":"User","email":"change_user@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=129A882C010DB74A5D2BF2D899BC25FC; Path=/crowd
|
29
|
+
Location:
|
30
30
|
- http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_user@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?username=change_user@example.com
|
43
|
-
body:
|
44
|
-
|
45
|
-
|
43
|
+
body: ! '{"name":"change_user@example.com","password":{"value":"test"},"first-name":"New
|
44
|
+
First","last-name":"And Last Name","email":"change_user@example.com","active":true}'
|
45
|
+
headers:
|
46
|
+
Accept:
|
46
47
|
- application/json
|
47
|
-
Authorization:
|
48
|
+
Authorization:
|
48
49
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
49
|
-
Content-Type:
|
50
|
+
Content-Type:
|
50
51
|
- application/json
|
51
|
-
Expect:
|
52
|
-
-
|
53
|
-
response:
|
54
|
-
status:
|
52
|
+
Expect:
|
53
|
+
- ''
|
54
|
+
response:
|
55
|
+
status:
|
55
56
|
code: 204
|
56
57
|
message: No Content
|
57
|
-
headers:
|
58
|
-
Server:
|
58
|
+
headers:
|
59
|
+
Server:
|
59
60
|
- Apache-Coyote/1.1
|
60
|
-
X-Embedded-Crowd-Version:
|
61
|
+
X-Embedded-Crowd-Version:
|
61
62
|
- Crowd/2.3.3
|
62
|
-
X-Crowd-User-Management-Version:
|
63
|
-
-
|
64
|
-
Set-Cookie:
|
65
|
-
- JSESSIONID=
|
66
|
-
Date:
|
67
|
-
-
|
68
|
-
body:
|
63
|
+
X-Crowd-User-Management-Version:
|
64
|
+
- '1.1'
|
65
|
+
Set-Cookie:
|
66
|
+
- JSESSIONID=3F0B277BB7F9B03A2126027FC284A9F8; Path=/crowd
|
67
|
+
Date:
|
68
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
69
|
+
body: ''
|
69
70
|
http_version:
|
70
|
-
recorded_at:
|
71
|
-
- request:
|
71
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
72
|
+
- request:
|
72
73
|
method: get
|
73
74
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_user@example.com
|
74
|
-
body:
|
75
|
-
headers:
|
76
|
-
Accept:
|
75
|
+
body: ''
|
76
|
+
headers:
|
77
|
+
Accept:
|
77
78
|
- application/json
|
78
|
-
Authorization:
|
79
|
+
Authorization:
|
79
80
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
80
|
-
Expect:
|
81
|
-
-
|
82
|
-
response:
|
83
|
-
status:
|
81
|
+
Expect:
|
82
|
+
- ''
|
83
|
+
response:
|
84
|
+
status:
|
84
85
|
code: 200
|
85
86
|
message: OK
|
86
|
-
headers:
|
87
|
-
Server:
|
87
|
+
headers:
|
88
|
+
Server:
|
88
89
|
- Apache-Coyote/1.1
|
89
|
-
X-Embedded-Crowd-Version:
|
90
|
+
X-Embedded-Crowd-Version:
|
90
91
|
- Crowd/2.3.3
|
91
|
-
X-Crowd-User-Management-Version:
|
92
|
-
-
|
93
|
-
Set-Cookie:
|
94
|
-
- JSESSIONID=
|
95
|
-
Content-Type:
|
92
|
+
X-Crowd-User-Management-Version:
|
93
|
+
- '1.1'
|
94
|
+
Set-Cookie:
|
95
|
+
- JSESSIONID=5C14E33557FC06D4F2F90624547A01EE; Path=/crowd
|
96
|
+
Content-Type:
|
96
97
|
- application/json
|
97
|
-
Transfer-Encoding:
|
98
|
+
Transfer-Encoding:
|
98
99
|
- chunked
|
99
|
-
Date:
|
100
|
-
-
|
101
|
-
body:
|
100
|
+
Date:
|
101
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
102
|
+
body: ! '{"expand":"attributes","link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_user@example.com","rel":"self"},"name":"change_user@example.com","first-name":"New
|
103
|
+
First","last-name":"And Last Name","display-name":"New First And Last Name","email":"change_user@example.com","password":{"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/password?username=change_user@example.com","rel":"edit"}},"active":true,"attributes":{"attributes":[],"link":{"href":"http://127.0.0.1:8095/crowd/rest/usermanagement/1/user/attribute?username=change_user@example.com","rel":"self"}}}'
|
102
104
|
http_version:
|
103
|
-
recorded_at:
|
104
|
-
- request:
|
105
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
106
|
+
- request:
|
105
107
|
method: delete
|
106
108
|
uri: http://127.0.0.1:8095/crowd/rest/usermanagement/1/user?username=change_user@example.com
|
107
|
-
body:
|
108
|
-
headers:
|
109
|
-
Accept:
|
109
|
+
body: ''
|
110
|
+
headers:
|
111
|
+
Accept:
|
110
112
|
- application/json
|
111
|
-
Authorization:
|
113
|
+
Authorization:
|
112
114
|
- Basic YXBwbGljYXRpb246cGFzc3dvcmQ=
|
113
|
-
Expect:
|
114
|
-
-
|
115
|
-
response:
|
116
|
-
status:
|
115
|
+
Expect:
|
116
|
+
- ''
|
117
|
+
response:
|
118
|
+
status:
|
117
119
|
code: 204
|
118
120
|
message: No Content
|
119
|
-
headers:
|
120
|
-
Server:
|
121
|
+
headers:
|
122
|
+
Server:
|
121
123
|
- Apache-Coyote/1.1
|
122
|
-
X-Embedded-Crowd-Version:
|
124
|
+
X-Embedded-Crowd-Version:
|
123
125
|
- Crowd/2.3.3
|
124
|
-
X-Crowd-User-Management-Version:
|
125
|
-
-
|
126
|
-
Set-Cookie:
|
127
|
-
- JSESSIONID=
|
128
|
-
Date:
|
129
|
-
-
|
130
|
-
body:
|
126
|
+
X-Crowd-User-Management-Version:
|
127
|
+
- '1.1'
|
128
|
+
Set-Cookie:
|
129
|
+
- JSESSIONID=19F0110DE7B1E65C5A56789FC41C8F97; Path=/crowd
|
130
|
+
Date:
|
131
|
+
- Tue, 15 Jan 2013 17:34:43 GMT
|
132
|
+
body: ''
|
131
133
|
http_version:
|
132
|
-
recorded_at:
|
134
|
+
recorded_at: Tue, 15 Jan 2013 17:34:44 GMT
|
133
135
|
recorded_with: VCR 2.0.0.rc1
|