gds-sso 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gds-sso/controller_methods.rb +6 -2
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +2922 -0
- metadata +4 -4
@@ -31,7 +31,7 @@ module GDS
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def authenticate_user!
|
34
|
-
if
|
34
|
+
if user_remotely_signed_out?
|
35
35
|
message = "You have been remotely signed out."
|
36
36
|
skip_slimmer
|
37
37
|
render "authorisations/unauthorised", layout: "unauthorised", status: :forbidden, locals: { message: message }
|
@@ -39,8 +39,12 @@ module GDS
|
|
39
39
|
warden.authenticate!
|
40
40
|
end
|
41
41
|
|
42
|
+
def user_remotely_signed_out?
|
43
|
+
warden.authenticated? && warden.user.remotely_signed_out?
|
44
|
+
end
|
45
|
+
|
42
46
|
def user_signed_in?
|
43
|
-
warden.authenticated?
|
47
|
+
warden.authenticated? && ! warden.user.remotely_signed_out?
|
44
48
|
end
|
45
49
|
|
46
50
|
def current_user
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -4852,3 +4852,2925 @@ GDS_SSO integration test:
|
|
4852
4852
|
' WHERE "users"."id" = 5
|
4853
4853
|
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
4854
4854
|
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 12.5ms)
|
4855
|
+
Connecting to database specified by database.yml
|
4856
|
+
[1m[36m (33.5ms)[0m [1mselect sqlite_version(*)[0m
|
4857
|
+
[1m[35m (20.5ms)[0m DROP TABLE "users"
|
4858
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
4859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4860
|
+
[1m[36mSQL (9.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37697"]]
|
4861
|
+
[1m[35m (2.8ms)[0m commit transaction
|
4862
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
4863
|
+
Processing by Api::UserController#update as HTML
|
4864
|
+
Parameters: {"uid"=>"a1s2d37697"}
|
4865
|
+
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (37.4ms)
|
4866
|
+
Completed 403 Forbidden in 91ms (Views: 89.8ms | ActiveRecord: 0.0ms)
|
4867
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4868
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36156"]]
|
4869
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
4870
|
+
Processing by Api::UserController#update as HTML
|
4871
|
+
Parameters: {"uid"=>"a1s2d36156"}
|
4872
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36156' LIMIT 1
|
4873
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4874
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
4875
|
+
GDS_SSO integration test:
|
4876
|
+
- signin
|
4877
|
+
- new permission
|
4878
|
+
' WHERE "users"."id" = 2
|
4879
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
4880
|
+
Completed 200 OK in 19ms (ActiveRecord: 3.4ms)
|
4881
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
4882
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4883
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d323"]]
|
4884
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
4885
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
4886
|
+
Processing by Api::UserController#reauth as HTML
|
4887
|
+
Parameters: {"uid"=>"a1s2d323"}
|
4888
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
4889
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4890
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32880"]]
|
4891
|
+
[1m[35m (2.8ms)[0m commit transaction
|
4892
|
+
Processing by Api::UserController#reauth as HTML
|
4893
|
+
Parameters: {"uid"=>"a1s2d32880"}
|
4894
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32880' LIMIT 1[0m
|
4895
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4896
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
4897
|
+
GDS_SSO integration test:
|
4898
|
+
- signin
|
4899
|
+
' WHERE "users"."id" = 4[0m
|
4900
|
+
[1m[35m (2.4ms)[0m commit transaction
|
4901
|
+
Completed 200 OK in 5ms (ActiveRecord: 3.0ms)
|
4902
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
4903
|
+
|
4904
|
+
|
4905
|
+
Started GET "/" for 127.0.0.1 at 2012-09-20 20:10:40 +0000
|
4906
|
+
Processing by ExampleController#index as HTML
|
4907
|
+
Completed 200 OK in 50ms (Views: 49.5ms | ActiveRecord: 0.0ms)
|
4908
|
+
|
4909
|
+
|
4910
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:41 +0000
|
4911
|
+
Processing by ExampleController#restricted as HTML
|
4912
|
+
Authenticating with gds_sso strategy
|
4913
|
+
Completed in 60ms
|
4914
|
+
|
4915
|
+
|
4916
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:41 +0000
|
4917
|
+
|
4918
|
+
|
4919
|
+
Started GET "/auth/gds/callback?code=2eaff81855a284a98a3a42737f669ff2d9f8ece293fd7949d1a2910673538618&state=a58bb1145d281d2762d0c32296a1349dae398b5961be3d57" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4920
|
+
Processing by AuthenticationsController#callback as HTML
|
4921
|
+
Parameters: {"code"=>"2eaff81855a284a98a3a42737f669ff2d9f8ece293fd7949d1a2910673538618", "state"=>"a58bb1145d281d2762d0c32296a1349dae398b5961be3d57"}
|
4922
|
+
Authenticating with gds_sso strategy
|
4923
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
4924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4925
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
4926
|
+
[1m[36m (8.9ms)[0m [1mcommit transaction[0m
|
4927
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4928
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
4929
|
+
GDS_SSO integration test:
|
4930
|
+
- signin
|
4931
|
+
' WHERE "users"."id" = 5[0m
|
4932
|
+
[1m[35m (2.5ms)[0m commit transaction
|
4933
|
+
Redirected to http://www.example-client.com/restricted
|
4934
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.4ms)
|
4935
|
+
|
4936
|
+
|
4937
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4938
|
+
Processing by ExampleController#restricted as HTML
|
4939
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
4940
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
4941
|
+
|
4942
|
+
|
4943
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4944
|
+
Processing by ExampleController#restricted as HTML
|
4945
|
+
Authenticating with gds_sso strategy
|
4946
|
+
Completed in 0ms
|
4947
|
+
|
4948
|
+
|
4949
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4950
|
+
|
4951
|
+
|
4952
|
+
Started GET "/auth/gds/callback?code=f418a50befcf77d944b385915503086bea577285efcef508ccddf2229ec94d28&state=a03463cfbe8c1226082ef03cab0925c8e6fb0a8e7ca539ca" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4953
|
+
Processing by AuthenticationsController#callback as HTML
|
4954
|
+
Parameters: {"code"=>"f418a50befcf77d944b385915503086bea577285efcef508ccddf2229ec94d28", "state"=>"a03463cfbe8c1226082ef03cab0925c8e6fb0a8e7ca539ca"}
|
4955
|
+
Authenticating with gds_sso strategy
|
4956
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
4957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4958
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
4959
|
+
GDS_SSO integration test:
|
4960
|
+
- signin
|
4961
|
+
' WHERE "users"."id" = 5
|
4962
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
4963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4964
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
4965
|
+
GDS_SSO integration test:
|
4966
|
+
- signin
|
4967
|
+
' WHERE "users"."id" = 5[0m
|
4968
|
+
[1m[35m (2.9ms)[0m commit transaction
|
4969
|
+
Redirected to http://www.example-client.com/restricted
|
4970
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.7ms)
|
4971
|
+
|
4972
|
+
|
4973
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4974
|
+
Processing by ExampleController#restricted as HTML
|
4975
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
4976
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
4977
|
+
|
4978
|
+
|
4979
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4980
|
+
Processing by ExampleController#restricted as HTML
|
4981
|
+
Authenticating with gds_sso strategy
|
4982
|
+
Completed in 0ms
|
4983
|
+
|
4984
|
+
|
4985
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4986
|
+
|
4987
|
+
|
4988
|
+
Started GET "/auth/gds/callback?code=30c61d438669381c14f99ac2c272f60412e6d390bde1573102a7805acccf93bf&state=3e7592153a9f552a7d4db625129e22d4238d4a7a93d91be0" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
4989
|
+
Processing by AuthenticationsController#callback as HTML
|
4990
|
+
Parameters: {"code"=>"30c61d438669381c14f99ac2c272f60412e6d390bde1573102a7805acccf93bf", "state"=>"3e7592153a9f552a7d4db625129e22d4238d4a7a93d91be0"}
|
4991
|
+
Authenticating with gds_sso strategy
|
4992
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
4993
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4994
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
4995
|
+
GDS_SSO integration test:
|
4996
|
+
- signin
|
4997
|
+
' WHERE "users"."id" = 5
|
4998
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
4999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5000
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5001
|
+
GDS_SSO integration test:
|
5002
|
+
- signin
|
5003
|
+
' WHERE "users"."id" = 5[0m
|
5004
|
+
[1m[35m (2.3ms)[0m commit transaction
|
5005
|
+
Redirected to http://www.example-client.com/restricted
|
5006
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.3ms)
|
5007
|
+
|
5008
|
+
|
5009
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:42 +0000
|
5010
|
+
Processing by ExampleController#restricted as HTML
|
5011
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5012
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
5013
|
+
|
5014
|
+
|
5015
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5016
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5017
|
+
Authenticating with gds_sso strategy
|
5018
|
+
Completed in 1ms
|
5019
|
+
|
5020
|
+
|
5021
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5022
|
+
|
5023
|
+
|
5024
|
+
Started GET "/auth/gds/callback?code=69d05a61dafa18ea27debfda4bbda0b9d927e454c2f5c0821b21b501e41ca5b8&state=2b6189545d8143dcf44656472004553bff65402d996bae3d" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5025
|
+
Processing by AuthenticationsController#callback as HTML
|
5026
|
+
Parameters: {"code"=>"69d05a61dafa18ea27debfda4bbda0b9d927e454c2f5c0821b21b501e41ca5b8", "state"=>"2b6189545d8143dcf44656472004553bff65402d996bae3d"}
|
5027
|
+
Authenticating with gds_sso strategy
|
5028
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5030
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5031
|
+
GDS_SSO integration test:
|
5032
|
+
- signin
|
5033
|
+
' WHERE "users"."id" = 5
|
5034
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
5035
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5036
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5037
|
+
GDS_SSO integration test:
|
5038
|
+
- signin
|
5039
|
+
' WHERE "users"."id" = 5[0m
|
5040
|
+
[1m[35m (3.0ms)[0m commit transaction
|
5041
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
5042
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.3ms)
|
5043
|
+
|
5044
|
+
|
5045
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5046
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5047
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5048
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
5049
|
+
|
5050
|
+
|
5051
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5052
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5053
|
+
Authenticating with gds_sso strategy
|
5054
|
+
Completed in 0ms
|
5055
|
+
|
5056
|
+
|
5057
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5058
|
+
|
5059
|
+
|
5060
|
+
Started GET "/auth/gds/callback?code=6912138f8f5cf781db48cce32c311e1ff3ca504972fc7900d347ac35c62d4f3e&state=95f7398d4a8f484774397fa6988d0d554a3e7a0e631d64bb" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5061
|
+
Processing by AuthenticationsController#callback as HTML
|
5062
|
+
Parameters: {"code"=>"6912138f8f5cf781db48cce32c311e1ff3ca504972fc7900d347ac35c62d4f3e", "state"=>"95f7398d4a8f484774397fa6988d0d554a3e7a0e631d64bb"}
|
5063
|
+
Authenticating with gds_sso strategy
|
5064
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5066
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5067
|
+
GDS_SSO integration test:
|
5068
|
+
- signin
|
5069
|
+
' WHERE "users"."id" = 5
|
5070
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
5071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5072
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5073
|
+
GDS_SSO integration test:
|
5074
|
+
- signin
|
5075
|
+
' WHERE "users"."id" = 5[0m
|
5076
|
+
[1m[35m (2.2ms)[0m commit transaction
|
5077
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
5078
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
|
5079
|
+
|
5080
|
+
|
5081
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5082
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5083
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5084
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
5085
|
+
|
5086
|
+
|
5087
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5088
|
+
Processing by ExampleController#restricted as HTML
|
5089
|
+
Authenticating with gds_sso strategy
|
5090
|
+
Completed in 0ms
|
5091
|
+
|
5092
|
+
|
5093
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5094
|
+
|
5095
|
+
|
5096
|
+
Started GET "/auth/gds/callback?code=1cd969727610d5416f0b27005bd946e21544a043c715ca6d7b99827682b2d60f&state=8cd18e346223536fb08a2ede9dbaf6239f7e69c9f993fa2f" for 127.0.0.1 at 2012-09-20 20:10:43 +0000
|
5097
|
+
Processing by AuthenticationsController#callback as HTML
|
5098
|
+
Parameters: {"code"=>"1cd969727610d5416f0b27005bd946e21544a043c715ca6d7b99827682b2d60f", "state"=>"8cd18e346223536fb08a2ede9dbaf6239f7e69c9f993fa2f"}
|
5099
|
+
Authenticating with gds_sso strategy
|
5100
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5102
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5103
|
+
GDS_SSO integration test:
|
5104
|
+
- signin
|
5105
|
+
' WHERE "users"."id" = 5
|
5106
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
5107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5108
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5109
|
+
GDS_SSO integration test:
|
5110
|
+
- signin
|
5111
|
+
' WHERE "users"."id" = 5[0m
|
5112
|
+
[1m[35m (3.0ms)[0m commit transaction
|
5113
|
+
Redirected to http://www.example-client.com/restricted
|
5114
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.6ms)
|
5115
|
+
|
5116
|
+
|
5117
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5118
|
+
Processing by ExampleController#restricted as HTML
|
5119
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5120
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
5121
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5122
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5123
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
5124
|
+
GDS_SSO integration test:
|
5125
|
+
- signin
|
5126
|
+
' WHERE "users"."id" = 5
|
5127
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
5128
|
+
|
5129
|
+
|
5130
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5131
|
+
Processing by ExampleController#restricted as HTML
|
5132
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5133
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
5134
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
5135
|
+
|
5136
|
+
|
5137
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5138
|
+
Processing by AuthenticationsController#sign_out as HTML
|
5139
|
+
Redirected to http://localhost:4567/users/sign_out
|
5140
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
5141
|
+
|
5142
|
+
|
5143
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5144
|
+
Processing by ExampleController#restricted as HTML
|
5145
|
+
Authenticating with gds_sso strategy
|
5146
|
+
Completed in 0ms
|
5147
|
+
|
5148
|
+
|
5149
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5150
|
+
|
5151
|
+
|
5152
|
+
Started GET "/auth/gds/callback?code=977fdfad05df0dac7fd4adb90096056661d331e06c2c474f32ba3ae51f01ac31&state=fcf07fcee1c0b492eff4491160fc91e0dbee0cdf224281e9" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5153
|
+
Processing by AuthenticationsController#callback as HTML
|
5154
|
+
Parameters: {"code"=>"977fdfad05df0dac7fd4adb90096056661d331e06c2c474f32ba3ae51f01ac31", "state"=>"fcf07fcee1c0b492eff4491160fc91e0dbee0cdf224281e9"}
|
5155
|
+
Authenticating with gds_sso strategy
|
5156
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5158
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5159
|
+
GDS_SSO integration test:
|
5160
|
+
- signin
|
5161
|
+
' WHERE "users"."id" = 5[0m
|
5162
|
+
[1m[35m (9.1ms)[0m commit transaction
|
5163
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
5164
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
5165
|
+
GDS_SSO integration test:
|
5166
|
+
- signin
|
5167
|
+
' WHERE "users"."id" = 5
|
5168
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
5169
|
+
Redirected to http://www.example-client.com/restricted
|
5170
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.1ms)
|
5171
|
+
|
5172
|
+
|
5173
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5174
|
+
Processing by ExampleController#restricted as HTML
|
5175
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5176
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
5177
|
+
|
5178
|
+
|
5179
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5180
|
+
Processing by ExampleController#restricted as HTML
|
5181
|
+
Authenticating with gds_sso strategy
|
5182
|
+
Completed in 0ms
|
5183
|
+
|
5184
|
+
|
5185
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5186
|
+
|
5187
|
+
|
5188
|
+
Started GET "/auth/gds/callback?code=8f1a0ff41771bae822a35cb12bf6cd5fb761b58da2ba0a1453eb944fb25c7455&state=f868f1b64547a9a1d63d63116e61336563c04a0c2eb537a7" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5189
|
+
Processing by AuthenticationsController#callback as HTML
|
5190
|
+
Parameters: {"code"=>"8f1a0ff41771bae822a35cb12bf6cd5fb761b58da2ba0a1453eb944fb25c7455", "state"=>"f868f1b64547a9a1d63d63116e61336563c04a0c2eb537a7"}
|
5191
|
+
Authenticating with gds_sso strategy
|
5192
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5194
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5195
|
+
GDS_SSO integration test:
|
5196
|
+
- signin
|
5197
|
+
' WHERE "users"."id" = 5[0m
|
5198
|
+
[1m[35m (6.8ms)[0m commit transaction
|
5199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5200
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5201
|
+
GDS_SSO integration test:
|
5202
|
+
- signin
|
5203
|
+
' WHERE "users"."id" = 5
|
5204
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
5205
|
+
Redirected to http://www.example-client.com/restricted
|
5206
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.9ms)
|
5207
|
+
|
5208
|
+
|
5209
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:44 +0000
|
5210
|
+
Processing by ExampleController#restricted as HTML
|
5211
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5212
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
5213
|
+
|
5214
|
+
|
5215
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-21 16:15:44 +0000
|
5216
|
+
Processing by ExampleController#restricted as HTML
|
5217
|
+
Authenticating with gds_sso strategy
|
5218
|
+
Completed in 0ms
|
5219
|
+
|
5220
|
+
|
5221
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-21 16:15:44 +0000
|
5222
|
+
|
5223
|
+
|
5224
|
+
Started GET "/auth/gds/callback?code=fc1096ab6fdd4be0680f0afee67dbb81079e99759165a342dc92f8f5df2423ed&state=45f7af7079b924b37334d29e90c538116d102e24bd9138ef" for 127.0.0.1 at 2012-09-21 16:15:44 +0000
|
5225
|
+
Processing by AuthenticationsController#callback as HTML
|
5226
|
+
Parameters: {"code"=>"fc1096ab6fdd4be0680f0afee67dbb81079e99759165a342dc92f8f5df2423ed", "state"=>"45f7af7079b924b37334d29e90c538116d102e24bd9138ef"}
|
5227
|
+
Authenticating with gds_sso strategy
|
5228
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5230
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5231
|
+
GDS_SSO integration test:
|
5232
|
+
- signin
|
5233
|
+
' WHERE "users"."id" = 5[0m
|
5234
|
+
[1m[35m (8.9ms)[0m commit transaction
|
5235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5236
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5237
|
+
GDS_SSO integration test:
|
5238
|
+
- signin
|
5239
|
+
' WHERE "users"."id" = 5
|
5240
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
5241
|
+
Redirected to http://www.example-client.com/restricted
|
5242
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.0ms)
|
5243
|
+
|
5244
|
+
|
5245
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-21 16:15:45 +0000
|
5246
|
+
Processing by ExampleController#restricted as HTML
|
5247
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5248
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
5249
|
+
|
5250
|
+
|
5251
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5252
|
+
Processing by ExampleController#restricted as HTML
|
5253
|
+
Authenticating with gds_sso strategy
|
5254
|
+
Completed in 0ms
|
5255
|
+
|
5256
|
+
|
5257
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5258
|
+
|
5259
|
+
|
5260
|
+
Started GET "/auth/gds/callback?code=3c0c32fe6968b47e62cf1617eabc48aabf45f18d138a95abd56e8dbdc572f9a6&state=c922f12b30e69b126de1107568637375050ba7128698a5ca" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5261
|
+
Processing by AuthenticationsController#callback as HTML
|
5262
|
+
Parameters: {"code"=>"3c0c32fe6968b47e62cf1617eabc48aabf45f18d138a95abd56e8dbdc572f9a6", "state"=>"c922f12b30e69b126de1107568637375050ba7128698a5ca"}
|
5263
|
+
Authenticating with gds_sso strategy
|
5264
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5266
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5267
|
+
GDS_SSO integration test:
|
5268
|
+
- signin
|
5269
|
+
' WHERE "users"."id" = 5[0m
|
5270
|
+
[1m[35m (7.7ms)[0m commit transaction
|
5271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5272
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5273
|
+
GDS_SSO integration test:
|
5274
|
+
- signin
|
5275
|
+
' WHERE "users"."id" = 5
|
5276
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
5277
|
+
Redirected to http://www.example-client.com/restricted
|
5278
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.1ms)
|
5279
|
+
|
5280
|
+
|
5281
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5282
|
+
Processing by ExampleController#restricted as HTML
|
5283
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5284
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
5285
|
+
|
5286
|
+
|
5287
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-21 16:05:45 +0000
|
5288
|
+
Processing by ExampleController#restricted as HTML
|
5289
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5290
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
5291
|
+
|
5292
|
+
|
5293
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5294
|
+
Processing by ExampleController#restricted as JSON
|
5295
|
+
Authenticating with gds_sso_api_access strategy
|
5296
|
+
Completed in 13ms
|
5297
|
+
|
5298
|
+
|
5299
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5300
|
+
Processing by ExampleController#restricted as JSON
|
5301
|
+
Authenticating with gds_sso_api_access strategy
|
5302
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
5303
|
+
|
5304
|
+
|
5305
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5306
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
5307
|
+
Authenticating with gds_sso_api_access strategy
|
5308
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
5309
|
+
|
5310
|
+
|
5311
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5312
|
+
Processing by ExampleController#restricted as JSON
|
5313
|
+
Authenticating with gds_bearer_token strategy
|
5314
|
+
Completed in 8ms
|
5315
|
+
|
5316
|
+
|
5317
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5318
|
+
Processing by ExampleController#restricted as JSON
|
5319
|
+
Authenticating with gds_bearer_token strategy
|
5320
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5321
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5322
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5323
|
+
GDS_SSO integration test:
|
5324
|
+
- signin
|
5325
|
+
' WHERE "users"."id" = 5
|
5326
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
5327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5328
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5329
|
+
GDS_SSO integration test:
|
5330
|
+
- signin
|
5331
|
+
' WHERE "users"."id" = 5[0m
|
5332
|
+
[1m[35m (2.2ms)[0m commit transaction
|
5333
|
+
Completed 200 OK in 46ms (Views: 0.6ms | ActiveRecord: 12.2ms)
|
5334
|
+
|
5335
|
+
|
5336
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-20 20:10:45 +0000
|
5337
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
5338
|
+
Authenticating with gds_bearer_token strategy
|
5339
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5341
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5342
|
+
GDS_SSO integration test:
|
5343
|
+
- signin
|
5344
|
+
' WHERE "users"."id" = 5[0m
|
5345
|
+
[1m[35m (8.2ms)[0m commit transaction
|
5346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5347
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5348
|
+
GDS_SSO integration test:
|
5349
|
+
- signin
|
5350
|
+
' WHERE "users"."id" = 5
|
5351
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
5352
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.1ms)
|
5353
|
+
Connecting to database specified by database.yml
|
5354
|
+
[1m[36m (4.1ms)[0m [1mselect sqlite_version(*)[0m
|
5355
|
+
[1m[35m (7.4ms)[0m DROP TABLE "users"
|
5356
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
5357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5358
|
+
[1m[36mSQL (22.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38345"]]
|
5359
|
+
[1m[35m (2.7ms)[0m commit transaction
|
5360
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
5361
|
+
Processing by Api::UserController#update as HTML
|
5362
|
+
Parameters: {"uid"=>"a1s2d38345"}
|
5363
|
+
Completed 500 Internal Server Error in 37ms
|
5364
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5365
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39464"]]
|
5366
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
5367
|
+
Processing by Api::UserController#update as HTML
|
5368
|
+
Parameters: {"uid"=>"a1s2d39464"}
|
5369
|
+
Completed 500 Internal Server Error in 37ms
|
5370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5371
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37364"]]
|
5372
|
+
[1m[35m (2.8ms)[0m commit transaction
|
5373
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
5374
|
+
Processing by Api::UserController#reauth as HTML
|
5375
|
+
Parameters: {"uid"=>"a1s2d37364"}
|
5376
|
+
Completed 500 Internal Server Error in 37ms
|
5377
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5378
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39389"]]
|
5379
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
5380
|
+
Processing by Api::UserController#reauth as HTML
|
5381
|
+
Parameters: {"uid"=>"a1s2d39389"}
|
5382
|
+
Completed 500 Internal Server Error in 74ms
|
5383
|
+
|
5384
|
+
|
5385
|
+
Started GET "/" for 127.0.0.1 at 2012-09-25 11:48:16 +0000
|
5386
|
+
Processing by ExampleController#index as HTML
|
5387
|
+
Completed 200 OK in 72ms (Views: 71.1ms | ActiveRecord: 0.0ms)
|
5388
|
+
|
5389
|
+
|
5390
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:16 +0000
|
5391
|
+
Processing by ExampleController#restricted as HTML
|
5392
|
+
Authenticating with gds_sso strategy
|
5393
|
+
Completed in 67ms
|
5394
|
+
|
5395
|
+
|
5396
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:16 +0000
|
5397
|
+
|
5398
|
+
|
5399
|
+
Started GET "/auth/gds/callback?code=bb432655ba929da289c872d5bf634550115548b99a6b8e6bdb3233aa6e9ce237&state=5a9ffa174cfdc73d824c217b1cfb572ed32cf3e7bdf61c64" for 127.0.0.1 at 2012-09-25 11:48:17 +0000
|
5400
|
+
Processing by AuthenticationsController#callback as HTML
|
5401
|
+
Parameters: {"code"=>"bb432655ba929da289c872d5bf634550115548b99a6b8e6bdb3233aa6e9ce237", "state"=>"5a9ffa174cfdc73d824c217b1cfb572ed32cf3e7bdf61c64"}
|
5402
|
+
Authenticating with gds_sso strategy
|
5403
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5405
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
5406
|
+
[1m[36m (5.7ms)[0m [1mcommit transaction[0m
|
5407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5408
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
5409
|
+
GDS_SSO integration test:
|
5410
|
+
- signin
|
5411
|
+
' WHERE "users"."id" = 5[0m
|
5412
|
+
[1m[35m (2.3ms)[0m commit transaction
|
5413
|
+
Redirected to http://www.example-client.com/restricted
|
5414
|
+
Completed 302 Found in 29ms (ActiveRecord: 8.9ms)
|
5415
|
+
|
5416
|
+
|
5417
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:17 +0000
|
5418
|
+
Processing by ExampleController#restricted as HTML
|
5419
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5420
|
+
Completed 500 Internal Server Error in 12ms
|
5421
|
+
|
5422
|
+
SystemStackError (stack level too deep):
|
5423
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5424
|
+
|
5425
|
+
|
5426
|
+
|
5427
|
+
|
5428
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:17 +0000
|
5429
|
+
Processing by ExampleController#restricted as HTML
|
5430
|
+
Authenticating with gds_sso strategy
|
5431
|
+
Completed in 1ms
|
5432
|
+
|
5433
|
+
|
5434
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:17 +0000
|
5435
|
+
|
5436
|
+
|
5437
|
+
Started GET "/auth/gds/callback?code=584a86453eb509bb4790864addbe940d2665727974524078920f4956e1729afc&state=23f2f5b2ce6080996fef217765398aa0a179e34700b32a61" for 127.0.0.1 at 2012-09-25 11:48:17 +0000
|
5438
|
+
Processing by AuthenticationsController#callback as HTML
|
5439
|
+
Parameters: {"code"=>"584a86453eb509bb4790864addbe940d2665727974524078920f4956e1729afc", "state"=>"23f2f5b2ce6080996fef217765398aa0a179e34700b32a61"}
|
5440
|
+
Authenticating with gds_sso strategy
|
5441
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5443
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5444
|
+
GDS_SSO integration test:
|
5445
|
+
- signin
|
5446
|
+
' WHERE "users"."id" = 5
|
5447
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
5448
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5449
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5450
|
+
GDS_SSO integration test:
|
5451
|
+
- signin
|
5452
|
+
' WHERE "users"."id" = 5[0m
|
5453
|
+
[1m[35m (2.7ms)[0m commit transaction
|
5454
|
+
Redirected to http://www.example-client.com/restricted
|
5455
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.1ms)
|
5456
|
+
|
5457
|
+
|
5458
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5459
|
+
Processing by ExampleController#restricted as HTML
|
5460
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5461
|
+
Completed 500 Internal Server Error in 13ms
|
5462
|
+
|
5463
|
+
SystemStackError (stack level too deep):
|
5464
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5465
|
+
|
5466
|
+
|
5467
|
+
|
5468
|
+
|
5469
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5470
|
+
Processing by ExampleController#restricted as HTML
|
5471
|
+
Authenticating with gds_sso strategy
|
5472
|
+
Completed in 0ms
|
5473
|
+
|
5474
|
+
|
5475
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5476
|
+
|
5477
|
+
|
5478
|
+
Started GET "/auth/gds/callback?code=33c60d83f2a93881bd9eeae887f09cc11736902ca901202550047ddbb567d3a8&state=d7cda4deed4b6c12242607243797dad4ec578fe577c612ec" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5479
|
+
Processing by AuthenticationsController#callback as HTML
|
5480
|
+
Parameters: {"code"=>"33c60d83f2a93881bd9eeae887f09cc11736902ca901202550047ddbb567d3a8", "state"=>"d7cda4deed4b6c12242607243797dad4ec578fe577c612ec"}
|
5481
|
+
Authenticating with gds_sso strategy
|
5482
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5484
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5485
|
+
GDS_SSO integration test:
|
5486
|
+
- signin
|
5487
|
+
' WHERE "users"."id" = 5
|
5488
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
5489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5490
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5491
|
+
GDS_SSO integration test:
|
5492
|
+
- signin
|
5493
|
+
' WHERE "users"."id" = 5[0m
|
5494
|
+
[1m[35m (2.3ms)[0m commit transaction
|
5495
|
+
Redirected to http://www.example-client.com/restricted
|
5496
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
|
5497
|
+
|
5498
|
+
|
5499
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5500
|
+
Processing by ExampleController#restricted as HTML
|
5501
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5502
|
+
Completed 500 Internal Server Error in 64ms
|
5503
|
+
|
5504
|
+
SystemStackError (stack level too deep):
|
5505
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5506
|
+
|
5507
|
+
|
5508
|
+
|
5509
|
+
|
5510
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5511
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5512
|
+
Authenticating with gds_sso strategy
|
5513
|
+
Completed in 1ms
|
5514
|
+
|
5515
|
+
|
5516
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5517
|
+
|
5518
|
+
|
5519
|
+
Started GET "/auth/gds/callback?code=06e83594ae67b1f2e80f3fe50cc060fde53ac82eb0f1f1482cb72b0a9f05169c&state=88c459383699e2ec8425ea49e9a3a5c025f7568bb47e823a" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5520
|
+
Processing by AuthenticationsController#callback as HTML
|
5521
|
+
Parameters: {"code"=>"06e83594ae67b1f2e80f3fe50cc060fde53ac82eb0f1f1482cb72b0a9f05169c", "state"=>"88c459383699e2ec8425ea49e9a3a5c025f7568bb47e823a"}
|
5522
|
+
Authenticating with gds_sso strategy
|
5523
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5525
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5526
|
+
GDS_SSO integration test:
|
5527
|
+
- signin
|
5528
|
+
' WHERE "users"."id" = 5
|
5529
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
5530
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5531
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5532
|
+
GDS_SSO integration test:
|
5533
|
+
- signin
|
5534
|
+
' WHERE "users"."id" = 5[0m
|
5535
|
+
[1m[35m (2.8ms)[0m commit transaction
|
5536
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
5537
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.6ms)
|
5538
|
+
|
5539
|
+
|
5540
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5541
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5542
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5543
|
+
Completed 500 Internal Server Error in 14ms
|
5544
|
+
|
5545
|
+
SystemStackError (stack level too deep):
|
5546
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5547
|
+
|
5548
|
+
|
5549
|
+
|
5550
|
+
|
5551
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5552
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5553
|
+
Authenticating with gds_sso strategy
|
5554
|
+
Completed in 0ms
|
5555
|
+
|
5556
|
+
|
5557
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:18 +0000
|
5558
|
+
|
5559
|
+
|
5560
|
+
Started GET "/auth/gds/callback?code=4332176790d44089f3757a2deba9f1470f4c0843b841685ca6668aab6674a67b&state=559627e26e25fea96a1f16cfa799cd925939938fc0c62588" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5561
|
+
Processing by AuthenticationsController#callback as HTML
|
5562
|
+
Parameters: {"code"=>"4332176790d44089f3757a2deba9f1470f4c0843b841685ca6668aab6674a67b", "state"=>"559627e26e25fea96a1f16cfa799cd925939938fc0c62588"}
|
5563
|
+
Authenticating with gds_sso strategy
|
5564
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5565
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5566
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5567
|
+
GDS_SSO integration test:
|
5568
|
+
- signin
|
5569
|
+
' WHERE "users"."id" = 5
|
5570
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
5571
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5572
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5573
|
+
GDS_SSO integration test:
|
5574
|
+
- signin
|
5575
|
+
' WHERE "users"."id" = 5[0m
|
5576
|
+
[1m[35m (3.0ms)[0m commit transaction
|
5577
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
5578
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
|
5579
|
+
|
5580
|
+
|
5581
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5582
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5583
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5584
|
+
Completed 500 Internal Server Error in 12ms
|
5585
|
+
|
5586
|
+
SystemStackError (stack level too deep):
|
5587
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5588
|
+
|
5589
|
+
|
5590
|
+
|
5591
|
+
|
5592
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5593
|
+
Processing by ExampleController#restricted as HTML
|
5594
|
+
Authenticating with gds_sso strategy
|
5595
|
+
Completed in 1ms
|
5596
|
+
|
5597
|
+
|
5598
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5599
|
+
|
5600
|
+
|
5601
|
+
Started GET "/auth/gds/callback?code=893448b4f483b2cc0cb63dc0ab9845150e801a53cb0cda7330da3a08f0290bc5&state=23a80a7239a221a68b86b270bffc1d110811ece6b92e71fb" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5602
|
+
Processing by AuthenticationsController#callback as HTML
|
5603
|
+
Parameters: {"code"=>"893448b4f483b2cc0cb63dc0ab9845150e801a53cb0cda7330da3a08f0290bc5", "state"=>"23a80a7239a221a68b86b270bffc1d110811ece6b92e71fb"}
|
5604
|
+
Authenticating with gds_sso strategy
|
5605
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5606
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5607
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5608
|
+
GDS_SSO integration test:
|
5609
|
+
- signin
|
5610
|
+
' WHERE "users"."id" = 5
|
5611
|
+
[1m[36m (8.1ms)[0m [1mcommit transaction[0m
|
5612
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5613
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5614
|
+
GDS_SSO integration test:
|
5615
|
+
- signin
|
5616
|
+
' WHERE "users"."id" = 5[0m
|
5617
|
+
[1m[35m (3.0ms)[0m commit transaction
|
5618
|
+
Redirected to http://www.example-client.com/restricted
|
5619
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.0ms)
|
5620
|
+
|
5621
|
+
|
5622
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5623
|
+
Processing by ExampleController#restricted as HTML
|
5624
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5625
|
+
Completed 500 Internal Server Error in 14ms
|
5626
|
+
|
5627
|
+
SystemStackError (stack level too deep):
|
5628
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5629
|
+
|
5630
|
+
|
5631
|
+
|
5632
|
+
|
5633
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5634
|
+
Processing by ExampleController#restricted as HTML
|
5635
|
+
Authenticating with gds_sso strategy
|
5636
|
+
Completed in 0ms
|
5637
|
+
|
5638
|
+
|
5639
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5640
|
+
|
5641
|
+
|
5642
|
+
Started GET "/auth/gds/callback?code=72d3b570809e173a5f9fb90707f6b88d475433de6e19d273f1e29c4006596143&state=d3223e39b7fc06d8f0c447d967d178e0ea1520f8f448f433" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5643
|
+
Processing by AuthenticationsController#callback as HTML
|
5644
|
+
Parameters: {"code"=>"72d3b570809e173a5f9fb90707f6b88d475433de6e19d273f1e29c4006596143", "state"=>"d3223e39b7fc06d8f0c447d967d178e0ea1520f8f448f433"}
|
5645
|
+
Authenticating with gds_sso strategy
|
5646
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5648
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5649
|
+
GDS_SSO integration test:
|
5650
|
+
- signin
|
5651
|
+
' WHERE "users"."id" = 5
|
5652
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
5653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5654
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5655
|
+
GDS_SSO integration test:
|
5656
|
+
- signin
|
5657
|
+
' WHERE "users"."id" = 5[0m
|
5658
|
+
[1m[35m (2.3ms)[0m commit transaction
|
5659
|
+
Redirected to http://www.example-client.com/restricted
|
5660
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.8ms)
|
5661
|
+
|
5662
|
+
|
5663
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:19 +0000
|
5664
|
+
Processing by ExampleController#restricted as HTML
|
5665
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5666
|
+
Completed 500 Internal Server Error in 68ms
|
5667
|
+
|
5668
|
+
SystemStackError (stack level too deep):
|
5669
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5670
|
+
|
5671
|
+
|
5672
|
+
|
5673
|
+
|
5674
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5675
|
+
Processing by ExampleController#restricted as HTML
|
5676
|
+
Authenticating with gds_sso strategy
|
5677
|
+
Completed in 0ms
|
5678
|
+
|
5679
|
+
|
5680
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5681
|
+
|
5682
|
+
|
5683
|
+
Started GET "/auth/gds/callback?code=ad41a197d351a37e6aeba5cb4d2ecdce5dc3a4db164f1456d1c71e0944c2298b&state=9d03c131c1d5bcc7471375f51c169448dfc2ab8a1dd1aa8c" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5684
|
+
Processing by AuthenticationsController#callback as HTML
|
5685
|
+
Parameters: {"code"=>"ad41a197d351a37e6aeba5cb4d2ecdce5dc3a4db164f1456d1c71e0944c2298b", "state"=>"9d03c131c1d5bcc7471375f51c169448dfc2ab8a1dd1aa8c"}
|
5686
|
+
Authenticating with gds_sso strategy
|
5687
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5689
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5690
|
+
GDS_SSO integration test:
|
5691
|
+
- signin
|
5692
|
+
' WHERE "users"."id" = 5
|
5693
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
5694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5695
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5696
|
+
GDS_SSO integration test:
|
5697
|
+
- signin
|
5698
|
+
' WHERE "users"."id" = 5[0m
|
5699
|
+
[1m[35m (2.5ms)[0m commit transaction
|
5700
|
+
Redirected to http://www.example-client.com/restricted
|
5701
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.7ms)
|
5702
|
+
|
5703
|
+
|
5704
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5705
|
+
Processing by ExampleController#restricted as HTML
|
5706
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5707
|
+
Completed 500 Internal Server Error in 14ms
|
5708
|
+
|
5709
|
+
SystemStackError (stack level too deep):
|
5710
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5711
|
+
|
5712
|
+
|
5713
|
+
|
5714
|
+
|
5715
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5716
|
+
Processing by ExampleController#restricted as JSON
|
5717
|
+
Authenticating with gds_sso_api_access strategy
|
5718
|
+
Completed in 71ms
|
5719
|
+
|
5720
|
+
|
5721
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5722
|
+
Processing by ExampleController#restricted as JSON
|
5723
|
+
Authenticating with gds_sso_api_access strategy
|
5724
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
5725
|
+
|
5726
|
+
|
5727
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5728
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
5729
|
+
Authenticating with gds_sso_api_access strategy
|
5730
|
+
Completed 500 Internal Server Error in 14ms
|
5731
|
+
|
5732
|
+
SystemStackError (stack level too deep):
|
5733
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5734
|
+
|
5735
|
+
|
5736
|
+
|
5737
|
+
|
5738
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5739
|
+
Processing by ExampleController#restricted as JSON
|
5740
|
+
Authenticating with gds_bearer_token strategy
|
5741
|
+
Completed in 8ms
|
5742
|
+
|
5743
|
+
|
5744
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5745
|
+
Processing by ExampleController#restricted as JSON
|
5746
|
+
Authenticating with gds_bearer_token strategy
|
5747
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5749
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5750
|
+
GDS_SSO integration test:
|
5751
|
+
- signin
|
5752
|
+
' WHERE "users"."id" = 5
|
5753
|
+
[1m[36m (9.3ms)[0m [1mcommit transaction[0m
|
5754
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5755
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5756
|
+
GDS_SSO integration test:
|
5757
|
+
- signin
|
5758
|
+
' WHERE "users"."id" = 5[0m
|
5759
|
+
[1m[35m (2.4ms)[0m commit transaction
|
5760
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.6ms)
|
5761
|
+
|
5762
|
+
|
5763
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-25 11:48:20 +0000
|
5764
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
5765
|
+
Authenticating with gds_bearer_token strategy
|
5766
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5767
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5768
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5769
|
+
GDS_SSO integration test:
|
5770
|
+
- signin
|
5771
|
+
' WHERE "users"."id" = 5[0m
|
5772
|
+
[1m[35m (9.3ms)[0m commit transaction
|
5773
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5774
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5775
|
+
GDS_SSO integration test:
|
5776
|
+
- signin
|
5777
|
+
' WHERE "users"."id" = 5
|
5778
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
5779
|
+
Completed 500 Internal Server Error in 58ms
|
5780
|
+
|
5781
|
+
SystemStackError (stack level too deep):
|
5782
|
+
activesupport (3.2.8) lib/active_support/callbacks.rb:409
|
5783
|
+
|
5784
|
+
|
5785
|
+
Connecting to database specified by database.yml
|
5786
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
5787
|
+
[1m[35m (11.3ms)[0m DROP TABLE "users"
|
5788
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
5789
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5790
|
+
[1m[36mSQL (9.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33110"]]
|
5791
|
+
[1m[35m (2.8ms)[0m commit transaction
|
5792
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
5793
|
+
Processing by Api::UserController#update as HTML
|
5794
|
+
Parameters: {"uid"=>"a1s2d33110"}
|
5795
|
+
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.8ms)
|
5796
|
+
Completed 403 Forbidden in 67ms (Views: 66.0ms | ActiveRecord: 0.0ms)
|
5797
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5798
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d375"]]
|
5799
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
5800
|
+
Processing by Api::UserController#update as HTML
|
5801
|
+
Parameters: {"uid"=>"a1s2d375"}
|
5802
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d375' LIMIT 1
|
5803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5804
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
5805
|
+
GDS_SSO integration test:
|
5806
|
+
- signin
|
5807
|
+
- new permission
|
5808
|
+
' WHERE "users"."id" = 2
|
5809
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
5810
|
+
Completed 200 OK in 53ms (ActiveRecord: 3.1ms)
|
5811
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
5812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5813
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32430"]]
|
5814
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
5815
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
5816
|
+
Processing by Api::UserController#reauth as HTML
|
5817
|
+
Parameters: {"uid"=>"a1s2d32430"}
|
5818
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
5819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5820
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3750"]]
|
5821
|
+
[1m[35m (2.3ms)[0m commit transaction
|
5822
|
+
Processing by Api::UserController#reauth as HTML
|
5823
|
+
Parameters: {"uid"=>"a1s2d3750"}
|
5824
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3750' LIMIT 1[0m
|
5825
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5826
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
5827
|
+
GDS_SSO integration test:
|
5828
|
+
- signin
|
5829
|
+
' WHERE "users"."id" = 4[0m
|
5830
|
+
[1m[35m (2.1ms)[0m commit transaction
|
5831
|
+
Completed 200 OK in 5ms (ActiveRecord: 2.7ms)
|
5832
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
5833
|
+
|
5834
|
+
|
5835
|
+
Started GET "/" for 127.0.0.1 at 2012-09-26 20:18:42 +0000
|
5836
|
+
Processing by ExampleController#index as HTML
|
5837
|
+
Completed 200 OK in 51ms (Views: 50.5ms | ActiveRecord: 0.0ms)
|
5838
|
+
|
5839
|
+
|
5840
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:42 +0000
|
5841
|
+
Processing by ExampleController#restricted as HTML
|
5842
|
+
Authenticating with gds_sso strategy
|
5843
|
+
Completed in 62ms
|
5844
|
+
|
5845
|
+
|
5846
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:42 +0000
|
5847
|
+
|
5848
|
+
|
5849
|
+
Started GET "/auth/gds/callback?code=f6805304aaf11128e017cdab8c1b29556401db15e3af8c84f2fa729ee506aa5f&state=ebe4f32a83d62ea79711d5a5633726809f93d8138eeddbad" for 127.0.0.1 at 2012-09-26 20:18:43 +0000
|
5850
|
+
Processing by AuthenticationsController#callback as HTML
|
5851
|
+
Parameters: {"code"=>"f6805304aaf11128e017cdab8c1b29556401db15e3af8c84f2fa729ee506aa5f", "state"=>"ebe4f32a83d62ea79711d5a5633726809f93d8138eeddbad"}
|
5852
|
+
Authenticating with gds_sso strategy
|
5853
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5855
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
5856
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
5857
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5858
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
5859
|
+
GDS_SSO integration test:
|
5860
|
+
- signin
|
5861
|
+
' WHERE "users"."id" = 5[0m
|
5862
|
+
[1m[35m (2.7ms)[0m commit transaction
|
5863
|
+
Redirected to http://www.example-client.com/restricted
|
5864
|
+
Completed 302 Found in 19ms (ActiveRecord: 13.0ms)
|
5865
|
+
|
5866
|
+
|
5867
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5868
|
+
Processing by ExampleController#restricted as HTML
|
5869
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5870
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
5871
|
+
|
5872
|
+
|
5873
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5874
|
+
Processing by ExampleController#restricted as HTML
|
5875
|
+
Authenticating with gds_sso strategy
|
5876
|
+
Completed in 0ms
|
5877
|
+
|
5878
|
+
|
5879
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5880
|
+
|
5881
|
+
|
5882
|
+
Started GET "/auth/gds/callback?code=68321a8b406a6cf1fff415d053e0eda5435928cefc2bef871b93e16f4dd6db4d&state=92ae2103381dbce07a5ae41d89b33ce9579a3c6c9db51500" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5883
|
+
Processing by AuthenticationsController#callback as HTML
|
5884
|
+
Parameters: {"code"=>"68321a8b406a6cf1fff415d053e0eda5435928cefc2bef871b93e16f4dd6db4d", "state"=>"92ae2103381dbce07a5ae41d89b33ce9579a3c6c9db51500"}
|
5885
|
+
Authenticating with gds_sso strategy
|
5886
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5888
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5889
|
+
GDS_SSO integration test:
|
5890
|
+
- signin
|
5891
|
+
' WHERE "users"."id" = 5
|
5892
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
5893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5894
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5895
|
+
GDS_SSO integration test:
|
5896
|
+
- signin
|
5897
|
+
' WHERE "users"."id" = 5[0m
|
5898
|
+
[1m[35m (2.9ms)[0m commit transaction
|
5899
|
+
Redirected to http://www.example-client.com/restricted
|
5900
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
5901
|
+
|
5902
|
+
|
5903
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5904
|
+
Processing by ExampleController#restricted as HTML
|
5905
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5906
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
5907
|
+
|
5908
|
+
|
5909
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5910
|
+
Processing by ExampleController#restricted as HTML
|
5911
|
+
Authenticating with gds_sso strategy
|
5912
|
+
Completed in 0ms
|
5913
|
+
|
5914
|
+
|
5915
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5916
|
+
|
5917
|
+
|
5918
|
+
Started GET "/auth/gds/callback?code=6ce08d134618be5f126f0d42fb0daf48660cd2ddc62605a6775b8e9b329b523e&state=91936cd3da0f772efb0567ff8ff8809d11ed8061e1d12480" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5919
|
+
Processing by AuthenticationsController#callback as HTML
|
5920
|
+
Parameters: {"code"=>"6ce08d134618be5f126f0d42fb0daf48660cd2ddc62605a6775b8e9b329b523e", "state"=>"91936cd3da0f772efb0567ff8ff8809d11ed8061e1d12480"}
|
5921
|
+
Authenticating with gds_sso strategy
|
5922
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5923
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5924
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5925
|
+
GDS_SSO integration test:
|
5926
|
+
- signin
|
5927
|
+
' WHERE "users"."id" = 5
|
5928
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
5929
|
+
[1m[35m (0.0ms)[0m begin transaction
|
5930
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5931
|
+
GDS_SSO integration test:
|
5932
|
+
- signin
|
5933
|
+
' WHERE "users"."id" = 5[0m
|
5934
|
+
[1m[35m (2.0ms)[0m commit transaction
|
5935
|
+
Redirected to http://www.example-client.com/restricted
|
5936
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.3ms)
|
5937
|
+
|
5938
|
+
|
5939
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5940
|
+
Processing by ExampleController#restricted as HTML
|
5941
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5942
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
5943
|
+
|
5944
|
+
|
5945
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5946
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5947
|
+
Authenticating with gds_sso strategy
|
5948
|
+
Completed in 1ms
|
5949
|
+
|
5950
|
+
|
5951
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:44 +0000
|
5952
|
+
|
5953
|
+
|
5954
|
+
Started GET "/auth/gds/callback?code=44ce112bd00898e1fd6fa31075c5ca4aa25fe1d36d3d1f5a3212ee944231ba8a&state=f12724e4a51b18909fb5886a3f9662cbbfd5df9f346c48d8" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
5955
|
+
Processing by AuthenticationsController#callback as HTML
|
5956
|
+
Parameters: {"code"=>"44ce112bd00898e1fd6fa31075c5ca4aa25fe1d36d3d1f5a3212ee944231ba8a", "state"=>"f12724e4a51b18909fb5886a3f9662cbbfd5df9f346c48d8"}
|
5957
|
+
Authenticating with gds_sso strategy
|
5958
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5959
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5960
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5961
|
+
GDS_SSO integration test:
|
5962
|
+
- signin
|
5963
|
+
' WHERE "users"."id" = 5
|
5964
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
5965
|
+
[1m[35m (0.1ms)[0m begin transaction
|
5966
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
5967
|
+
GDS_SSO integration test:
|
5968
|
+
- signin
|
5969
|
+
' WHERE "users"."id" = 5[0m
|
5970
|
+
[1m[35m (2.0ms)[0m commit transaction
|
5971
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
5972
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.8ms)
|
5973
|
+
|
5974
|
+
|
5975
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
5976
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5977
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
5978
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
5979
|
+
|
5980
|
+
|
5981
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
5982
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
5983
|
+
Authenticating with gds_sso strategy
|
5984
|
+
Completed in 0ms
|
5985
|
+
|
5986
|
+
|
5987
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
5988
|
+
|
5989
|
+
|
5990
|
+
Started GET "/auth/gds/callback?code=dc82b973e53d9b97f716ffd6b7530147636d0ceb29f972575ee490e1c0ad4f67&state=d1ae82048869bcfd9a4370ab07881fbeff90d58fa51b45fc" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
5991
|
+
Processing by AuthenticationsController#callback as HTML
|
5992
|
+
Parameters: {"code"=>"dc82b973e53d9b97f716ffd6b7530147636d0ceb29f972575ee490e1c0ad4f67", "state"=>"d1ae82048869bcfd9a4370ab07881fbeff90d58fa51b45fc"}
|
5993
|
+
Authenticating with gds_sso strategy
|
5994
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
5995
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
5996
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
5997
|
+
GDS_SSO integration test:
|
5998
|
+
- signin
|
5999
|
+
' WHERE "users"."id" = 5
|
6000
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
6001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6002
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6003
|
+
GDS_SSO integration test:
|
6004
|
+
- signin
|
6005
|
+
' WHERE "users"."id" = 5[0m
|
6006
|
+
[1m[35m (2.1ms)[0m commit transaction
|
6007
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
6008
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.3ms)
|
6009
|
+
|
6010
|
+
|
6011
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6012
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6013
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6014
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
6015
|
+
|
6016
|
+
|
6017
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6018
|
+
Processing by ExampleController#restricted as HTML
|
6019
|
+
Authenticating with gds_sso strategy
|
6020
|
+
Completed in 0ms
|
6021
|
+
|
6022
|
+
|
6023
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6024
|
+
|
6025
|
+
|
6026
|
+
Started GET "/auth/gds/callback?code=cf31f10fcebff2ef2c089f4263da8bfd1a8007b716c79a5acfb195aab9b47738&state=3b4d422244d6f231ef17b354738200cf69c1b246a4596ed6" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6027
|
+
Processing by AuthenticationsController#callback as HTML
|
6028
|
+
Parameters: {"code"=>"cf31f10fcebff2ef2c089f4263da8bfd1a8007b716c79a5acfb195aab9b47738", "state"=>"3b4d422244d6f231ef17b354738200cf69c1b246a4596ed6"}
|
6029
|
+
Authenticating with gds_sso strategy
|
6030
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6032
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6033
|
+
GDS_SSO integration test:
|
6034
|
+
- signin
|
6035
|
+
' WHERE "users"."id" = 5
|
6036
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
6037
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6038
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6039
|
+
GDS_SSO integration test:
|
6040
|
+
- signin
|
6041
|
+
' WHERE "users"."id" = 5[0m
|
6042
|
+
[1m[35m (2.9ms)[0m commit transaction
|
6043
|
+
Redirected to http://www.example-client.com/restricted
|
6044
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.6ms)
|
6045
|
+
|
6046
|
+
|
6047
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6048
|
+
Processing by ExampleController#restricted as HTML
|
6049
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6050
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
6051
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6053
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
6054
|
+
GDS_SSO integration test:
|
6055
|
+
- signin
|
6056
|
+
' WHERE "users"."id" = 5
|
6057
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
6058
|
+
|
6059
|
+
|
6060
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6061
|
+
Processing by ExampleController#restricted as HTML
|
6062
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6063
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
6064
|
+
Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
6065
|
+
|
6066
|
+
|
6067
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-09-26 20:18:45 +0000
|
6068
|
+
Processing by AuthenticationsController#sign_out as HTML
|
6069
|
+
Redirected to http://localhost:4567/users/sign_out
|
6070
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
6071
|
+
|
6072
|
+
|
6073
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6074
|
+
Processing by ExampleController#restricted as HTML
|
6075
|
+
Authenticating with gds_sso strategy
|
6076
|
+
Completed in 0ms
|
6077
|
+
|
6078
|
+
|
6079
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6080
|
+
|
6081
|
+
|
6082
|
+
Started GET "/auth/gds/callback?code=35d4f7647599a565072abcda3ea54592037035cebb444de6ba4ad22cfad475a9&state=2b57c466164fc8b921a307381deb4068ebb243e46e2a1ce1" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6083
|
+
Processing by AuthenticationsController#callback as HTML
|
6084
|
+
Parameters: {"code"=>"35d4f7647599a565072abcda3ea54592037035cebb444de6ba4ad22cfad475a9", "state"=>"2b57c466164fc8b921a307381deb4068ebb243e46e2a1ce1"}
|
6085
|
+
Authenticating with gds_sso strategy
|
6086
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6087
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6088
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6089
|
+
GDS_SSO integration test:
|
6090
|
+
- signin
|
6091
|
+
' WHERE "users"."id" = 5[0m
|
6092
|
+
[1m[35m (9.2ms)[0m commit transaction
|
6093
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6094
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
6095
|
+
GDS_SSO integration test:
|
6096
|
+
- signin
|
6097
|
+
' WHERE "users"."id" = 5
|
6098
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
6099
|
+
Redirected to http://www.example-client.com/restricted
|
6100
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.9ms)
|
6101
|
+
|
6102
|
+
|
6103
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6104
|
+
Processing by ExampleController#restricted as HTML
|
6105
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6106
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
6107
|
+
|
6108
|
+
|
6109
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6110
|
+
Processing by ExampleController#restricted as HTML
|
6111
|
+
Authenticating with gds_sso strategy
|
6112
|
+
Completed in 0ms
|
6113
|
+
|
6114
|
+
|
6115
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6116
|
+
|
6117
|
+
|
6118
|
+
Started GET "/auth/gds/callback?code=4505e1474a7ece714c01156bf267a6672fa828cbc5340ec0a5f74aa9f8276633&state=9a75270ea137b921f703e85f0e60b8052cd94981a73e4d3c" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6119
|
+
Processing by AuthenticationsController#callback as HTML
|
6120
|
+
Parameters: {"code"=>"4505e1474a7ece714c01156bf267a6672fa828cbc5340ec0a5f74aa9f8276633", "state"=>"9a75270ea137b921f703e85f0e60b8052cd94981a73e4d3c"}
|
6121
|
+
Authenticating with gds_sso strategy
|
6122
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6123
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6124
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6125
|
+
GDS_SSO integration test:
|
6126
|
+
- signin
|
6127
|
+
' WHERE "users"."id" = 5[0m
|
6128
|
+
[1m[35m (6.0ms)[0m commit transaction
|
6129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6130
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6131
|
+
GDS_SSO integration test:
|
6132
|
+
- signin
|
6133
|
+
' WHERE "users"."id" = 5
|
6134
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
6135
|
+
Redirected to http://www.example-client.com/restricted
|
6136
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.1ms)
|
6137
|
+
|
6138
|
+
|
6139
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6140
|
+
Processing by ExampleController#restricted as HTML
|
6141
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6142
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
6143
|
+
|
6144
|
+
|
6145
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-27 16:23:46 +0000
|
6146
|
+
Processing by ExampleController#restricted as HTML
|
6147
|
+
Authenticating with gds_sso strategy
|
6148
|
+
Completed in 0ms
|
6149
|
+
|
6150
|
+
|
6151
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-27 16:23:46 +0000
|
6152
|
+
|
6153
|
+
|
6154
|
+
Started GET "/auth/gds/callback?code=e5255aa3cf212711e783d898fb071cf654cdb98ff3f921aa4cf6add2693ecb8a&state=27b1a8b5b7ce4f65cb2d05315972badca549d947ef36823e" for 127.0.0.1 at 2012-09-27 16:23:46 +0000
|
6155
|
+
Processing by AuthenticationsController#callback as HTML
|
6156
|
+
Parameters: {"code"=>"e5255aa3cf212711e783d898fb071cf654cdb98ff3f921aa4cf6add2693ecb8a", "state"=>"27b1a8b5b7ce4f65cb2d05315972badca549d947ef36823e"}
|
6157
|
+
Authenticating with gds_sso strategy
|
6158
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6160
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6161
|
+
GDS_SSO integration test:
|
6162
|
+
- signin
|
6163
|
+
' WHERE "users"."id" = 5[0m
|
6164
|
+
[1m[35m (9.0ms)[0m commit transaction
|
6165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6166
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6167
|
+
GDS_SSO integration test:
|
6168
|
+
- signin
|
6169
|
+
' WHERE "users"."id" = 5
|
6170
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
6171
|
+
Redirected to http://www.example-client.com/restricted
|
6172
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.1ms)
|
6173
|
+
|
6174
|
+
|
6175
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-27 16:23:46 +0000
|
6176
|
+
Processing by ExampleController#restricted as HTML
|
6177
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6178
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
6179
|
+
|
6180
|
+
|
6181
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6182
|
+
Processing by ExampleController#restricted as HTML
|
6183
|
+
Authenticating with gds_sso strategy
|
6184
|
+
Completed in 0ms
|
6185
|
+
|
6186
|
+
|
6187
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 20:18:46 +0000
|
6188
|
+
|
6189
|
+
|
6190
|
+
Started GET "/auth/gds/callback?code=35cc500af9f66208f8f0ecc1554a0efd0e8aa0b1b9ac028b208b14e0e5b67dc8&state=8acdf91462f53557807cfe4e4aad968519ead422901940a9" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6191
|
+
Processing by AuthenticationsController#callback as HTML
|
6192
|
+
Parameters: {"code"=>"35cc500af9f66208f8f0ecc1554a0efd0e8aa0b1b9ac028b208b14e0e5b67dc8", "state"=>"8acdf91462f53557807cfe4e4aad968519ead422901940a9"}
|
6193
|
+
Authenticating with gds_sso strategy
|
6194
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6196
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6197
|
+
GDS_SSO integration test:
|
6198
|
+
- signin
|
6199
|
+
' WHERE "users"."id" = 5[0m
|
6200
|
+
[1m[35m (7.6ms)[0m commit transaction
|
6201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6202
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
6203
|
+
GDS_SSO integration test:
|
6204
|
+
- signin
|
6205
|
+
' WHERE "users"."id" = 5
|
6206
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
6207
|
+
Redirected to http://www.example-client.com/restricted
|
6208
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.7ms)
|
6209
|
+
|
6210
|
+
|
6211
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6212
|
+
Processing by ExampleController#restricted as HTML
|
6213
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6214
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
6215
|
+
|
6216
|
+
|
6217
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-27 16:13:47 +0000
|
6218
|
+
Processing by ExampleController#restricted as HTML
|
6219
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6220
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
6221
|
+
|
6222
|
+
|
6223
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6224
|
+
Processing by ExampleController#restricted as JSON
|
6225
|
+
Authenticating with gds_sso_api_access strategy
|
6226
|
+
Completed in 13ms
|
6227
|
+
|
6228
|
+
|
6229
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6230
|
+
Processing by ExampleController#restricted as JSON
|
6231
|
+
Authenticating with gds_sso_api_access strategy
|
6232
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
6233
|
+
|
6234
|
+
|
6235
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6236
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
6237
|
+
Authenticating with gds_sso_api_access strategy
|
6238
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
6239
|
+
|
6240
|
+
|
6241
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6242
|
+
Processing by ExampleController#restricted as JSON
|
6243
|
+
Authenticating with gds_bearer_token strategy
|
6244
|
+
Completed in 9ms
|
6245
|
+
|
6246
|
+
|
6247
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6248
|
+
Processing by ExampleController#restricted as JSON
|
6249
|
+
Authenticating with gds_bearer_token strategy
|
6250
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6251
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6252
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6253
|
+
GDS_SSO integration test:
|
6254
|
+
- signin
|
6255
|
+
' WHERE "users"."id" = 5
|
6256
|
+
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
6257
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6258
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6259
|
+
GDS_SSO integration test:
|
6260
|
+
- signin
|
6261
|
+
' WHERE "users"."id" = 5[0m
|
6262
|
+
[1m[35m (2.1ms)[0m commit transaction
|
6263
|
+
Completed 200 OK in 45ms (Views: 0.6ms | ActiveRecord: 11.5ms)
|
6264
|
+
|
6265
|
+
|
6266
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 20:18:47 +0000
|
6267
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
6268
|
+
Authenticating with gds_bearer_token strategy
|
6269
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6271
|
+
[1m[36m (8.5ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6272
|
+
GDS_SSO integration test:
|
6273
|
+
- signin
|
6274
|
+
' WHERE "users"."id" = 5[0m
|
6275
|
+
[1m[35m (39.4ms)[0m commit transaction
|
6276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6277
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6278
|
+
GDS_SSO integration test:
|
6279
|
+
- signin
|
6280
|
+
' WHERE "users"."id" = 5
|
6281
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
6282
|
+
Completed 200 OK in 87ms (Views: 0.7ms | ActiveRecord: 51.5ms)
|
6283
|
+
Connecting to database specified by database.yml
|
6284
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
6285
|
+
[1m[35m (11.2ms)[0m DROP TABLE "users"
|
6286
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
6287
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6288
|
+
[1m[36mSQL (9.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34044"]]
|
6289
|
+
[1m[35m (2.8ms)[0m commit transaction
|
6290
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
6291
|
+
Processing by Api::UserController#update as HTML
|
6292
|
+
Parameters: {"uid"=>"a1s2d34044"}
|
6293
|
+
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.8ms)
|
6294
|
+
Completed 403 Forbidden in 58ms (Views: 57.1ms | ActiveRecord: 0.0ms)
|
6295
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6296
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39708"]]
|
6297
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
6298
|
+
Processing by Api::UserController#update as HTML
|
6299
|
+
Parameters: {"uid"=>"a1s2d39708"}
|
6300
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39708' LIMIT 1
|
6301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6302
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
6303
|
+
GDS_SSO integration test:
|
6304
|
+
- signin
|
6305
|
+
- new permission
|
6306
|
+
' WHERE "users"."id" = 2
|
6307
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
6308
|
+
Completed 200 OK in 53ms (ActiveRecord: 3.3ms)
|
6309
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
6310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6311
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39340"]]
|
6312
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
6313
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
6314
|
+
Processing by Api::UserController#reauth as HTML
|
6315
|
+
Parameters: {"uid"=>"a1s2d39340"}
|
6316
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
6317
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6318
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d36716"]]
|
6319
|
+
[1m[35m (2.5ms)[0m commit transaction
|
6320
|
+
Processing by Api::UserController#reauth as HTML
|
6321
|
+
Parameters: {"uid"=>"a1s2d36716"}
|
6322
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36716' LIMIT 1[0m
|
6323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6324
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
6325
|
+
GDS_SSO integration test:
|
6326
|
+
- signin
|
6327
|
+
' WHERE "users"."id" = 4[0m
|
6328
|
+
[1m[35m (2.3ms)[0m commit transaction
|
6329
|
+
Completed 200 OK in 5ms (ActiveRecord: 2.9ms)
|
6330
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
6331
|
+
|
6332
|
+
|
6333
|
+
Started GET "/" for 127.0.0.1 at 2012-09-26 21:40:25 +0000
|
6334
|
+
Processing by ExampleController#index as HTML
|
6335
|
+
Completed 200 OK in 50ms (Views: 49.8ms | ActiveRecord: 0.0ms)
|
6336
|
+
|
6337
|
+
|
6338
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:26 +0000
|
6339
|
+
Processing by ExampleController#restricted as HTML
|
6340
|
+
Authenticating with gds_sso strategy
|
6341
|
+
Completed in 61ms
|
6342
|
+
|
6343
|
+
|
6344
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:26 +0000
|
6345
|
+
|
6346
|
+
|
6347
|
+
Started GET "/auth/gds/callback?code=8564c1ec130a814e8e9887195c8d2024c8636621bfaeaaae85b76dc19f808c04&state=8db26a479212d55290bc3d34b20e7e50b97c5f04ad47f2fd" for 127.0.0.1 at 2012-09-26 21:40:26 +0000
|
6348
|
+
Processing by AuthenticationsController#callback as HTML
|
6349
|
+
Parameters: {"code"=>"8564c1ec130a814e8e9887195c8d2024c8636621bfaeaaae85b76dc19f808c04", "state"=>"8db26a479212d55290bc3d34b20e7e50b97c5f04ad47f2fd"}
|
6350
|
+
Authenticating with gds_sso strategy
|
6351
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6353
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
6354
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
6355
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6356
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
6357
|
+
GDS_SSO integration test:
|
6358
|
+
- signin
|
6359
|
+
' WHERE "users"."id" = 5[0m
|
6360
|
+
[1m[35m (2.3ms)[0m commit transaction
|
6361
|
+
Redirected to http://www.example-client.com/restricted
|
6362
|
+
Completed 302 Found in 19ms (ActiveRecord: 12.7ms)
|
6363
|
+
|
6364
|
+
|
6365
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6366
|
+
Processing by ExampleController#restricted as HTML
|
6367
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6368
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
6369
|
+
|
6370
|
+
|
6371
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6372
|
+
Processing by ExampleController#restricted as HTML
|
6373
|
+
Authenticating with gds_sso strategy
|
6374
|
+
Completed in 0ms
|
6375
|
+
|
6376
|
+
|
6377
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6378
|
+
|
6379
|
+
|
6380
|
+
Started GET "/auth/gds/callback?code=05991f38e8213db28b5e180bb4e9d5c743941bc65b7470132d2f95baf6dfda51&state=1a666e12c6953d8984c42a1be69ea58e60b1a83cd7124ed5" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6381
|
+
Processing by AuthenticationsController#callback as HTML
|
6382
|
+
Parameters: {"code"=>"05991f38e8213db28b5e180bb4e9d5c743941bc65b7470132d2f95baf6dfda51", "state"=>"1a666e12c6953d8984c42a1be69ea58e60b1a83cd7124ed5"}
|
6383
|
+
Authenticating with gds_sso strategy
|
6384
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6386
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6387
|
+
GDS_SSO integration test:
|
6388
|
+
- signin
|
6389
|
+
' WHERE "users"."id" = 5
|
6390
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
6391
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6392
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6393
|
+
GDS_SSO integration test:
|
6394
|
+
- signin
|
6395
|
+
' WHERE "users"."id" = 5[0m
|
6396
|
+
[1m[35m (2.2ms)[0m commit transaction
|
6397
|
+
Redirected to http://www.example-client.com/restricted
|
6398
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.7ms)
|
6399
|
+
|
6400
|
+
|
6401
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6402
|
+
Processing by ExampleController#restricted as HTML
|
6403
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6404
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
6405
|
+
|
6406
|
+
|
6407
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6408
|
+
Processing by ExampleController#restricted as HTML
|
6409
|
+
Authenticating with gds_sso strategy
|
6410
|
+
Completed in 0ms
|
6411
|
+
|
6412
|
+
|
6413
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6414
|
+
|
6415
|
+
|
6416
|
+
Started GET "/auth/gds/callback?code=0311b3a8681a3eb81ae8b62402110db9fccf321f675130cf5ce3aa9f98f8fb27&state=dea4dfa9ad486f825781ec44911cab97929a30ac3d20ebe5" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6417
|
+
Processing by AuthenticationsController#callback as HTML
|
6418
|
+
Parameters: {"code"=>"0311b3a8681a3eb81ae8b62402110db9fccf321f675130cf5ce3aa9f98f8fb27", "state"=>"dea4dfa9ad486f825781ec44911cab97929a30ac3d20ebe5"}
|
6419
|
+
Authenticating with gds_sso strategy
|
6420
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6422
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6423
|
+
GDS_SSO integration test:
|
6424
|
+
- signin
|
6425
|
+
' WHERE "users"."id" = 5
|
6426
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
6427
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6428
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6429
|
+
GDS_SSO integration test:
|
6430
|
+
- signin
|
6431
|
+
' WHERE "users"."id" = 5[0m
|
6432
|
+
[1m[35m (2.2ms)[0m commit transaction
|
6433
|
+
Redirected to http://www.example-client.com/restricted
|
6434
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.7ms)
|
6435
|
+
|
6436
|
+
|
6437
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6438
|
+
Processing by ExampleController#restricted as HTML
|
6439
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6440
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
6441
|
+
|
6442
|
+
|
6443
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6444
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6445
|
+
Authenticating with gds_sso strategy
|
6446
|
+
Completed in 1ms
|
6447
|
+
|
6448
|
+
|
6449
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:27 +0000
|
6450
|
+
|
6451
|
+
|
6452
|
+
Started GET "/auth/gds/callback?code=85fa3a19d22cf2f823bf0c601efa2d4a001cb8f91c5558c0b5a82bd4e493955f&state=271399028f711317d490bf13c56f9dac8253e5d8728335b4" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6453
|
+
Processing by AuthenticationsController#callback as HTML
|
6454
|
+
Parameters: {"code"=>"85fa3a19d22cf2f823bf0c601efa2d4a001cb8f91c5558c0b5a82bd4e493955f", "state"=>"271399028f711317d490bf13c56f9dac8253e5d8728335b4"}
|
6455
|
+
Authenticating with gds_sso strategy
|
6456
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6458
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6459
|
+
GDS_SSO integration test:
|
6460
|
+
- signin
|
6461
|
+
' WHERE "users"."id" = 5
|
6462
|
+
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
6463
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6464
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6465
|
+
GDS_SSO integration test:
|
6466
|
+
- signin
|
6467
|
+
' WHERE "users"."id" = 5[0m
|
6468
|
+
[1m[35m (2.2ms)[0m commit transaction
|
6469
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
6470
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.7ms)
|
6471
|
+
|
6472
|
+
|
6473
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6474
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6475
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6476
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
6477
|
+
|
6478
|
+
|
6479
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6480
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6481
|
+
Authenticating with gds_sso strategy
|
6482
|
+
Completed in 0ms
|
6483
|
+
|
6484
|
+
|
6485
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6486
|
+
|
6487
|
+
|
6488
|
+
Started GET "/auth/gds/callback?code=c8d4d706c72a05420eec8e0fbb660f80caada596a4b8e04637ded7ae0fb39a87&state=7440bf44f73716253cdbaf11bfe5ece5c0716b0a992cdc0b" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6489
|
+
Processing by AuthenticationsController#callback as HTML
|
6490
|
+
Parameters: {"code"=>"c8d4d706c72a05420eec8e0fbb660f80caada596a4b8e04637ded7ae0fb39a87", "state"=>"7440bf44f73716253cdbaf11bfe5ece5c0716b0a992cdc0b"}
|
6491
|
+
Authenticating with gds_sso strategy
|
6492
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6494
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6495
|
+
GDS_SSO integration test:
|
6496
|
+
- signin
|
6497
|
+
' WHERE "users"."id" = 5
|
6498
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
6499
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6500
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6501
|
+
GDS_SSO integration test:
|
6502
|
+
- signin
|
6503
|
+
' WHERE "users"."id" = 5[0m
|
6504
|
+
[1m[35m (2.2ms)[0m commit transaction
|
6505
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
6506
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.2ms)
|
6507
|
+
|
6508
|
+
|
6509
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6510
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6511
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6512
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
6513
|
+
|
6514
|
+
|
6515
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6516
|
+
Processing by ExampleController#restricted as HTML
|
6517
|
+
Authenticating with gds_sso strategy
|
6518
|
+
Completed in 0ms
|
6519
|
+
|
6520
|
+
|
6521
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6522
|
+
|
6523
|
+
|
6524
|
+
Started GET "/auth/gds/callback?code=91d9b94d8e504d0239f572a4bb010d3deb4a734953ca4803c32a517516b03be1&state=f3b653f85fd7c9b915c1b31e32c1f36431d8c59ae010bcf6" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6525
|
+
Processing by AuthenticationsController#callback as HTML
|
6526
|
+
Parameters: {"code"=>"91d9b94d8e504d0239f572a4bb010d3deb4a734953ca4803c32a517516b03be1", "state"=>"f3b653f85fd7c9b915c1b31e32c1f36431d8c59ae010bcf6"}
|
6527
|
+
Authenticating with gds_sso strategy
|
6528
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6530
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6531
|
+
GDS_SSO integration test:
|
6532
|
+
- signin
|
6533
|
+
' WHERE "users"."id" = 5
|
6534
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
6535
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6536
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6537
|
+
GDS_SSO integration test:
|
6538
|
+
- signin
|
6539
|
+
' WHERE "users"."id" = 5[0m
|
6540
|
+
[1m[35m (2.2ms)[0m commit transaction
|
6541
|
+
Redirected to http://www.example-client.com/restricted
|
6542
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
6543
|
+
|
6544
|
+
|
6545
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6546
|
+
Processing by ExampleController#restricted as HTML
|
6547
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6548
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
6549
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6550
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6551
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
6552
|
+
GDS_SSO integration test:
|
6553
|
+
- signin
|
6554
|
+
' WHERE "users"."id" = 5
|
6555
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
6556
|
+
|
6557
|
+
|
6558
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6559
|
+
Processing by ExampleController#restricted as HTML
|
6560
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6561
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
6562
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
6563
|
+
|
6564
|
+
|
6565
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-09-26 21:40:28 +0000
|
6566
|
+
Processing by AuthenticationsController#sign_out as HTML
|
6567
|
+
Redirected to http://localhost:4567/users/sign_out
|
6568
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
6569
|
+
|
6570
|
+
|
6571
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6572
|
+
Processing by ExampleController#restricted as HTML
|
6573
|
+
Authenticating with gds_sso strategy
|
6574
|
+
Completed in 0ms
|
6575
|
+
|
6576
|
+
|
6577
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6578
|
+
|
6579
|
+
|
6580
|
+
Started GET "/auth/gds/callback?code=838c3b022f7140e248dd1d982a9427c2475dedc88d802d4a63fe6f160ea85470&state=22daffc21715f8d617a34ea1b140a924b735516484652cdd" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6581
|
+
Processing by AuthenticationsController#callback as HTML
|
6582
|
+
Parameters: {"code"=>"838c3b022f7140e248dd1d982a9427c2475dedc88d802d4a63fe6f160ea85470", "state"=>"22daffc21715f8d617a34ea1b140a924b735516484652cdd"}
|
6583
|
+
Authenticating with gds_sso strategy
|
6584
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6586
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6587
|
+
GDS_SSO integration test:
|
6588
|
+
- signin
|
6589
|
+
' WHERE "users"."id" = 5[0m
|
6590
|
+
[1m[35m (9.2ms)[0m commit transaction
|
6591
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6592
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
6593
|
+
GDS_SSO integration test:
|
6594
|
+
- signin
|
6595
|
+
' WHERE "users"."id" = 5
|
6596
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
6597
|
+
Redirected to http://www.example-client.com/restricted
|
6598
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.2ms)
|
6599
|
+
|
6600
|
+
|
6601
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6602
|
+
Processing by ExampleController#restricted as HTML
|
6603
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6604
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
6605
|
+
|
6606
|
+
|
6607
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6608
|
+
Processing by ExampleController#restricted as HTML
|
6609
|
+
Authenticating with gds_sso strategy
|
6610
|
+
Completed in 0ms
|
6611
|
+
|
6612
|
+
|
6613
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6614
|
+
|
6615
|
+
|
6616
|
+
Started GET "/auth/gds/callback?code=da7eabc61562e8badca83956edc8aec1a514ef08b8fc4b194753dabd2023b2e2&state=c40b863879c40f394f95f39d08182e2c7902ff8579951163" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6617
|
+
Processing by AuthenticationsController#callback as HTML
|
6618
|
+
Parameters: {"code"=>"da7eabc61562e8badca83956edc8aec1a514ef08b8fc4b194753dabd2023b2e2", "state"=>"c40b863879c40f394f95f39d08182e2c7902ff8579951163"}
|
6619
|
+
Authenticating with gds_sso strategy
|
6620
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6622
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6623
|
+
GDS_SSO integration test:
|
6624
|
+
- signin
|
6625
|
+
' WHERE "users"."id" = 5[0m
|
6626
|
+
[1m[35m (6.5ms)[0m commit transaction
|
6627
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6628
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
6629
|
+
GDS_SSO integration test:
|
6630
|
+
- signin
|
6631
|
+
' WHERE "users"."id" = 5
|
6632
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
6633
|
+
Redirected to http://www.example-client.com/restricted
|
6634
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.7ms)
|
6635
|
+
|
6636
|
+
|
6637
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6638
|
+
Processing by ExampleController#restricted as HTML
|
6639
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6640
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
6641
|
+
|
6642
|
+
|
6643
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-27 17:45:29 +0000
|
6644
|
+
Processing by ExampleController#restricted as HTML
|
6645
|
+
Authenticating with gds_sso strategy
|
6646
|
+
Completed in 0ms
|
6647
|
+
|
6648
|
+
|
6649
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-27 17:45:29 +0000
|
6650
|
+
|
6651
|
+
|
6652
|
+
Started GET "/auth/gds/callback?code=2830176e64a0f86c9d7931f759cddc8d87f69bfae63e0fcd8ea86c8c8226db5c&state=47340e628551ff4305fd0408a66d1755a82eff101c1426c0" for 127.0.0.1 at 2012-09-27 17:45:29 +0000
|
6653
|
+
Processing by AuthenticationsController#callback as HTML
|
6654
|
+
Parameters: {"code"=>"2830176e64a0f86c9d7931f759cddc8d87f69bfae63e0fcd8ea86c8c8226db5c", "state"=>"47340e628551ff4305fd0408a66d1755a82eff101c1426c0"}
|
6655
|
+
Authenticating with gds_sso strategy
|
6656
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6658
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6659
|
+
GDS_SSO integration test:
|
6660
|
+
- signin
|
6661
|
+
' WHERE "users"."id" = 5[0m
|
6662
|
+
[1m[35m (8.2ms)[0m commit transaction
|
6663
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6664
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6665
|
+
GDS_SSO integration test:
|
6666
|
+
- signin
|
6667
|
+
' WHERE "users"."id" = 5
|
6668
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
6669
|
+
Redirected to http://www.example-client.com/restricted
|
6670
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.4ms)
|
6671
|
+
|
6672
|
+
|
6673
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-27 17:45:29 +0000
|
6674
|
+
Processing by ExampleController#restricted as HTML
|
6675
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6676
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
6677
|
+
|
6678
|
+
|
6679
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6680
|
+
Processing by ExampleController#restricted as HTML
|
6681
|
+
Authenticating with gds_sso strategy
|
6682
|
+
Completed in 0ms
|
6683
|
+
|
6684
|
+
|
6685
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-09-26 21:40:29 +0000
|
6686
|
+
|
6687
|
+
|
6688
|
+
Started GET "/auth/gds/callback?code=07ffe050a92dcc81833129576c8a2b6c77ab6c80ffedc592690014639ae9d581&state=21574861c1ffde4cf7c59c07fd256688fd3957e6b2b5b83f" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6689
|
+
Processing by AuthenticationsController#callback as HTML
|
6690
|
+
Parameters: {"code"=>"07ffe050a92dcc81833129576c8a2b6c77ab6c80ffedc592690014639ae9d581", "state"=>"21574861c1ffde4cf7c59c07fd256688fd3957e6b2b5b83f"}
|
6691
|
+
Authenticating with gds_sso strategy
|
6692
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6693
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6694
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6695
|
+
GDS_SSO integration test:
|
6696
|
+
- signin
|
6697
|
+
' WHERE "users"."id" = 5[0m
|
6698
|
+
[1m[35m (7.7ms)[0m commit transaction
|
6699
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
6700
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
6701
|
+
GDS_SSO integration test:
|
6702
|
+
- signin
|
6703
|
+
' WHERE "users"."id" = 5
|
6704
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
6705
|
+
Redirected to http://www.example-client.com/restricted
|
6706
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.3ms)
|
6707
|
+
|
6708
|
+
|
6709
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6710
|
+
Processing by ExampleController#restricted as HTML
|
6711
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6712
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
6713
|
+
|
6714
|
+
|
6715
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-27 17:35:30 +0000
|
6716
|
+
Processing by ExampleController#restricted as HTML
|
6717
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6718
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
6719
|
+
|
6720
|
+
|
6721
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6722
|
+
Processing by ExampleController#restricted as JSON
|
6723
|
+
Authenticating with gds_sso_api_access strategy
|
6724
|
+
Completed in 13ms
|
6725
|
+
|
6726
|
+
|
6727
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6728
|
+
Processing by ExampleController#restricted as JSON
|
6729
|
+
Authenticating with gds_sso_api_access strategy
|
6730
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
6731
|
+
|
6732
|
+
|
6733
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6734
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
6735
|
+
Authenticating with gds_sso_api_access strategy
|
6736
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
6737
|
+
|
6738
|
+
|
6739
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6740
|
+
Processing by ExampleController#restricted as JSON
|
6741
|
+
Authenticating with gds_bearer_token strategy
|
6742
|
+
Completed in 8ms
|
6743
|
+
|
6744
|
+
|
6745
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6746
|
+
Processing by ExampleController#restricted as JSON
|
6747
|
+
Authenticating with gds_bearer_token strategy
|
6748
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6750
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6751
|
+
GDS_SSO integration test:
|
6752
|
+
- signin
|
6753
|
+
' WHERE "users"."id" = 5
|
6754
|
+
[1m[36m (8.5ms)[0m [1mcommit transaction[0m
|
6755
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6756
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6757
|
+
GDS_SSO integration test:
|
6758
|
+
- signin
|
6759
|
+
' WHERE "users"."id" = 5[0m
|
6760
|
+
[1m[35m (2.8ms)[0m commit transaction
|
6761
|
+
Completed 200 OK in 157ms (Views: 0.6ms | ActiveRecord: 12.2ms)
|
6762
|
+
|
6763
|
+
|
6764
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-09-26 21:40:30 +0000
|
6765
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
6766
|
+
Authenticating with gds_bearer_token strategy
|
6767
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6768
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6769
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6770
|
+
GDS_SSO integration test:
|
6771
|
+
- signin
|
6772
|
+
' WHERE "users"."id" = 5[0m
|
6773
|
+
[1m[35m (8.6ms)[0m commit transaction
|
6774
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6775
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
6776
|
+
GDS_SSO integration test:
|
6777
|
+
- signin
|
6778
|
+
' WHERE "users"."id" = 5
|
6779
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
6780
|
+
Completed 200 OK in 47ms (Views: 0.7ms | ActiveRecord: 11.9ms)
|
6781
|
+
Connecting to database specified by database.yml
|
6782
|
+
[1m[36m (35.2ms)[0m [1mselect sqlite_version(*)[0m
|
6783
|
+
[1m[35m (17.0ms)[0m DROP TABLE "users"
|
6784
|
+
[1m[36m (3.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
6785
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6786
|
+
[1m[36mSQL (9.9ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32486"]]
|
6787
|
+
[1m[35m (5.8ms)[0m commit transaction
|
6788
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
6789
|
+
Processing by Api::UserController#update as HTML
|
6790
|
+
Parameters: {"uid"=>"a1s2d32486"}
|
6791
|
+
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (79.5ms)
|
6792
|
+
Completed 403 Forbidden in 239ms (Views: 237.8ms | ActiveRecord: 0.0ms)
|
6793
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6794
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39981"]]
|
6795
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
6796
|
+
Processing by Api::UserController#update as HTML
|
6797
|
+
Parameters: {"uid"=>"a1s2d39981"}
|
6798
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39981' LIMIT 1
|
6799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6800
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
6801
|
+
GDS_SSO integration test:
|
6802
|
+
- signin
|
6803
|
+
- new permission
|
6804
|
+
' WHERE "users"."id" = 2
|
6805
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
6806
|
+
Completed 200 OK in 41ms (ActiveRecord: 5.3ms)
|
6807
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
6808
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6809
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d39493"]]
|
6810
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
6811
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
6812
|
+
Processing by Api::UserController#reauth as HTML
|
6813
|
+
Parameters: {"uid"=>"a1s2d39493"}
|
6814
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
6815
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6816
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3912"]]
|
6817
|
+
[1m[35m (5.7ms)[0m commit transaction
|
6818
|
+
Processing by Api::UserController#reauth as HTML
|
6819
|
+
Parameters: {"uid"=>"a1s2d3912"}
|
6820
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3912' LIMIT 1[0m
|
6821
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6822
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
6823
|
+
GDS_SSO integration test:
|
6824
|
+
- signin
|
6825
|
+
' WHERE "users"."id" = 4[0m
|
6826
|
+
[1m[35m (2.9ms)[0m commit transaction
|
6827
|
+
Completed 200 OK in 9ms (ActiveRecord: 3.4ms)
|
6828
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
6829
|
+
|
6830
|
+
|
6831
|
+
Started GET "/" for 127.0.0.1 at 2012-10-01 10:32:33 +0000
|
6832
|
+
Processing by ExampleController#index as HTML
|
6833
|
+
Completed 200 OK in 85ms (Views: 84.1ms | ActiveRecord: 0.0ms)
|
6834
|
+
|
6835
|
+
|
6836
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:33 +0000
|
6837
|
+
Processing by ExampleController#restricted as HTML
|
6838
|
+
Authenticating with gds_sso strategy
|
6839
|
+
Completed in 71ms
|
6840
|
+
|
6841
|
+
|
6842
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:33 +0000
|
6843
|
+
|
6844
|
+
|
6845
|
+
Started GET "/auth/gds/callback?code=49663004bd26044a46d3b7cd23eeb1bd53e0284793ee6417f2ebe5593cb5856d&state=855f41660e68c2fa2c0edc552cdb530bddf3b685543d21ae" for 127.0.0.1 at 2012-10-01 10:32:34 +0000
|
6846
|
+
Processing by AuthenticationsController#callback as HTML
|
6847
|
+
Parameters: {"code"=>"49663004bd26044a46d3b7cd23eeb1bd53e0284793ee6417f2ebe5593cb5856d", "state"=>"855f41660e68c2fa2c0edc552cdb530bddf3b685543d21ae"}
|
6848
|
+
Authenticating with gds_sso strategy
|
6849
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6851
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
6852
|
+
[1m[36m (13.1ms)[0m [1mcommit transaction[0m
|
6853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6854
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
6855
|
+
GDS_SSO integration test:
|
6856
|
+
- signin
|
6857
|
+
' WHERE "users"."id" = 5[0m
|
6858
|
+
[1m[35m (4.1ms)[0m commit transaction
|
6859
|
+
Redirected to http://www.example-client.com/restricted
|
6860
|
+
Completed 302 Found in 24ms (ActiveRecord: 18.2ms)
|
6861
|
+
|
6862
|
+
|
6863
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6864
|
+
Processing by ExampleController#restricted as HTML
|
6865
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6866
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
6867
|
+
|
6868
|
+
|
6869
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6870
|
+
Processing by ExampleController#restricted as HTML
|
6871
|
+
Authenticating with gds_sso strategy
|
6872
|
+
Completed in 0ms
|
6873
|
+
|
6874
|
+
|
6875
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6876
|
+
|
6877
|
+
|
6878
|
+
Started GET "/auth/gds/callback?code=85171f4e926ff312eabdfecbeed64ed9d052f55cffd541b313cade165184aca6&state=c8b20a5adcb8170da31e46693ce53c736089b2e84503ed18" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6879
|
+
Processing by AuthenticationsController#callback as HTML
|
6880
|
+
Parameters: {"code"=>"85171f4e926ff312eabdfecbeed64ed9d052f55cffd541b313cade165184aca6", "state"=>"c8b20a5adcb8170da31e46693ce53c736089b2e84503ed18"}
|
6881
|
+
Authenticating with gds_sso strategy
|
6882
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6884
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6885
|
+
GDS_SSO integration test:
|
6886
|
+
- signin
|
6887
|
+
' WHERE "users"."id" = 5
|
6888
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
6889
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6890
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6891
|
+
GDS_SSO integration test:
|
6892
|
+
- signin
|
6893
|
+
' WHERE "users"."id" = 5[0m
|
6894
|
+
[1m[35m (2.7ms)[0m commit transaction
|
6895
|
+
Redirected to http://www.example-client.com/restricted
|
6896
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.2ms)
|
6897
|
+
|
6898
|
+
|
6899
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6900
|
+
Processing by ExampleController#restricted as HTML
|
6901
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6902
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
6903
|
+
|
6904
|
+
|
6905
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6906
|
+
Processing by ExampleController#restricted as HTML
|
6907
|
+
Authenticating with gds_sso strategy
|
6908
|
+
Completed in 0ms
|
6909
|
+
|
6910
|
+
|
6911
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6912
|
+
|
6913
|
+
|
6914
|
+
Started GET "/auth/gds/callback?code=b54b637cde5dd04484ebdb6c2d3543ef164be4c0bca48373c8c349465ade1018&state=5681d4a9787a2f89ed3fdd8256b42500cfc2635eb44b148b" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6915
|
+
Processing by AuthenticationsController#callback as HTML
|
6916
|
+
Parameters: {"code"=>"b54b637cde5dd04484ebdb6c2d3543ef164be4c0bca48373c8c349465ade1018", "state"=>"5681d4a9787a2f89ed3fdd8256b42500cfc2635eb44b148b"}
|
6917
|
+
Authenticating with gds_sso strategy
|
6918
|
+
[1m[35mUser Load (2.8ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6920
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
6921
|
+
GDS_SSO integration test:
|
6922
|
+
- signin
|
6923
|
+
' WHERE "users"."id" = 5
|
6924
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
6925
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6926
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6927
|
+
GDS_SSO integration test:
|
6928
|
+
- signin
|
6929
|
+
' WHERE "users"."id" = 5[0m
|
6930
|
+
[1m[35m (2.0ms)[0m commit transaction
|
6931
|
+
Redirected to http://www.example-client.com/restricted
|
6932
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.4ms)
|
6933
|
+
|
6934
|
+
|
6935
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6936
|
+
Processing by ExampleController#restricted as HTML
|
6937
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6938
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
6939
|
+
|
6940
|
+
|
6941
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6942
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6943
|
+
Authenticating with gds_sso strategy
|
6944
|
+
Completed in 1ms
|
6945
|
+
|
6946
|
+
|
6947
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:35 +0000
|
6948
|
+
|
6949
|
+
|
6950
|
+
Started GET "/auth/gds/callback?code=b585a2c262744307bfe1d33b8eb96fae76b4d2bc3aba162b1ac5c6db8f84ac76&state=3fa54b95491fc336a21a4dc8aedae3bc674379e51f2fc413" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
6951
|
+
Processing by AuthenticationsController#callback as HTML
|
6952
|
+
Parameters: {"code"=>"b585a2c262744307bfe1d33b8eb96fae76b4d2bc3aba162b1ac5c6db8f84ac76", "state"=>"3fa54b95491fc336a21a4dc8aedae3bc674379e51f2fc413"}
|
6953
|
+
Authenticating with gds_sso strategy
|
6954
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6955
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
6956
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
6957
|
+
GDS_SSO integration test:
|
6958
|
+
- signin
|
6959
|
+
' WHERE "users"."id" = 5
|
6960
|
+
[1m[36m (15.9ms)[0m [1mcommit transaction[0m
|
6961
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6962
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6963
|
+
GDS_SSO integration test:
|
6964
|
+
- signin
|
6965
|
+
' WHERE "users"."id" = 5[0m
|
6966
|
+
[1m[35m (3.6ms)[0m commit transaction
|
6967
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
6968
|
+
Completed 302 Found in 28ms (ActiveRecord: 20.9ms)
|
6969
|
+
|
6970
|
+
|
6971
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
6972
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6973
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
6974
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
6975
|
+
|
6976
|
+
|
6977
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
6978
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
6979
|
+
Authenticating with gds_sso strategy
|
6980
|
+
Completed in 0ms
|
6981
|
+
|
6982
|
+
|
6983
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
6984
|
+
|
6985
|
+
|
6986
|
+
Started GET "/auth/gds/callback?code=96c007397519d61b1869cee206643c450d6194cf8226fa63b79de71126c372f8&state=16da5c964df1084f80cdf5a363ff2bed402932110ef3ea17" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
6987
|
+
Processing by AuthenticationsController#callback as HTML
|
6988
|
+
Parameters: {"code"=>"96c007397519d61b1869cee206643c450d6194cf8226fa63b79de71126c372f8", "state"=>"16da5c964df1084f80cdf5a363ff2bed402932110ef3ea17"}
|
6989
|
+
Authenticating with gds_sso strategy
|
6990
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
6991
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6992
|
+
[1m[35m (0.6ms)[0m UPDATE "users" SET "permissions" = '---
|
6993
|
+
GDS_SSO integration test:
|
6994
|
+
- signin
|
6995
|
+
' WHERE "users"."id" = 5
|
6996
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
6997
|
+
[1m[35m (0.0ms)[0m begin transaction
|
6998
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
6999
|
+
GDS_SSO integration test:
|
7000
|
+
- signin
|
7001
|
+
' WHERE "users"."id" = 5[0m
|
7002
|
+
[1m[35m (3.0ms)[0m commit transaction
|
7003
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
7004
|
+
Completed 302 Found in 18ms (ActiveRecord: 11.8ms)
|
7005
|
+
|
7006
|
+
|
7007
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7008
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
7009
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7010
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
|
7011
|
+
|
7012
|
+
|
7013
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7014
|
+
Processing by ExampleController#restricted as HTML
|
7015
|
+
Authenticating with gds_sso strategy
|
7016
|
+
Completed in 1ms
|
7017
|
+
|
7018
|
+
|
7019
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7020
|
+
|
7021
|
+
|
7022
|
+
Started GET "/auth/gds/callback?code=0469afd77c6e231dc0c5ab82308208e870dc7a3922344014ced41dca2b8f22ee&state=7666830a0796e642cc863fbf73a65c0d193a88e2e0288f6c" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7023
|
+
Processing by AuthenticationsController#callback as HTML
|
7024
|
+
Parameters: {"code"=>"0469afd77c6e231dc0c5ab82308208e870dc7a3922344014ced41dca2b8f22ee", "state"=>"7666830a0796e642cc863fbf73a65c0d193a88e2e0288f6c"}
|
7025
|
+
Authenticating with gds_sso strategy
|
7026
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7028
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7029
|
+
GDS_SSO integration test:
|
7030
|
+
- signin
|
7031
|
+
' WHERE "users"."id" = 5
|
7032
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
7033
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7034
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7035
|
+
GDS_SSO integration test:
|
7036
|
+
- signin
|
7037
|
+
' WHERE "users"."id" = 5[0m
|
7038
|
+
[1m[35m (2.3ms)[0m commit transaction
|
7039
|
+
Redirected to http://www.example-client.com/restricted
|
7040
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.9ms)
|
7041
|
+
|
7042
|
+
|
7043
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7044
|
+
Processing by ExampleController#restricted as HTML
|
7045
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7046
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
7047
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7049
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
7050
|
+
GDS_SSO integration test:
|
7051
|
+
- signin
|
7052
|
+
' WHERE "users"."id" = 5
|
7053
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
7054
|
+
|
7055
|
+
|
7056
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7057
|
+
Processing by ExampleController#restricted as HTML
|
7058
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7059
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
7060
|
+
Completed 403 Forbidden in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
|
7061
|
+
|
7062
|
+
|
7063
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-10-01 10:32:36 +0000
|
7064
|
+
Processing by AuthenticationsController#sign_out as HTML
|
7065
|
+
Redirected to http://localhost:4567/users/sign_out
|
7066
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
7067
|
+
|
7068
|
+
|
7069
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7070
|
+
Processing by ExampleController#restricted as HTML
|
7071
|
+
Authenticating with gds_sso strategy
|
7072
|
+
Completed in 0ms
|
7073
|
+
|
7074
|
+
|
7075
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7076
|
+
|
7077
|
+
|
7078
|
+
Started GET "/auth/gds/callback?code=a4d8984ee7194315e5a2e0d87b3deeff0ad5f7c7456bb07f80dccc089d7ad432&state=fb183045e6c2bdd11266cb13437552e3dd178633a0698633" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7079
|
+
Processing by AuthenticationsController#callback as HTML
|
7080
|
+
Parameters: {"code"=>"a4d8984ee7194315e5a2e0d87b3deeff0ad5f7c7456bb07f80dccc089d7ad432", "state"=>"fb183045e6c2bdd11266cb13437552e3dd178633a0698633"}
|
7081
|
+
Authenticating with gds_sso strategy
|
7082
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7084
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7085
|
+
GDS_SSO integration test:
|
7086
|
+
- signin
|
7087
|
+
' WHERE "users"."id" = 5[0m
|
7088
|
+
[1m[35m (4.9ms)[0m commit transaction
|
7089
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7090
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
7091
|
+
GDS_SSO integration test:
|
7092
|
+
- signin
|
7093
|
+
' WHERE "users"."id" = 5
|
7094
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
7095
|
+
Redirected to http://www.example-client.com/restricted
|
7096
|
+
Completed 302 Found in 12ms (ActiveRecord: 8.2ms)
|
7097
|
+
|
7098
|
+
|
7099
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7100
|
+
Processing by ExampleController#restricted as HTML
|
7101
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7102
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
7103
|
+
|
7104
|
+
|
7105
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7106
|
+
Processing by ExampleController#restricted as HTML
|
7107
|
+
Authenticating with gds_sso strategy
|
7108
|
+
Completed in 0ms
|
7109
|
+
|
7110
|
+
|
7111
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7112
|
+
|
7113
|
+
|
7114
|
+
Started GET "/auth/gds/callback?code=697511d2fce297edb14916877e7616ab6522fd5074e0f8157f9d807eeca94665&state=04e810f15c9542b323ee4a050de1416640750be76e2f1fe8" for 127.0.0.1 at 2012-10-01 10:32:37 +0000
|
7115
|
+
Processing by AuthenticationsController#callback as HTML
|
7116
|
+
Parameters: {"code"=>"697511d2fce297edb14916877e7616ab6522fd5074e0f8157f9d807eeca94665", "state"=>"04e810f15c9542b323ee4a050de1416640750be76e2f1fe8"}
|
7117
|
+
Authenticating with gds_sso strategy
|
7118
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7120
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7121
|
+
GDS_SSO integration test:
|
7122
|
+
- signin
|
7123
|
+
' WHERE "users"."id" = 5[0m
|
7124
|
+
[1m[35m (14.0ms)[0m commit transaction
|
7125
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7126
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7127
|
+
GDS_SSO integration test:
|
7128
|
+
- signin
|
7129
|
+
' WHERE "users"."id" = 5
|
7130
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
7131
|
+
Redirected to http://www.example-client.com/restricted
|
7132
|
+
Completed 302 Found in 23ms (ActiveRecord: 17.1ms)
|
7133
|
+
|
7134
|
+
|
7135
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:38 +0000
|
7136
|
+
Processing by ExampleController#restricted as HTML
|
7137
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7138
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
7139
|
+
|
7140
|
+
|
7141
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 06:37:38 +0000
|
7142
|
+
Processing by ExampleController#restricted as HTML
|
7143
|
+
Authenticating with gds_sso strategy
|
7144
|
+
Completed in 0ms
|
7145
|
+
|
7146
|
+
|
7147
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 06:37:38 +0000
|
7148
|
+
|
7149
|
+
|
7150
|
+
Started GET "/auth/gds/callback?code=b6a7eb56aa95b64e61e366a1466793357eca82128f9526b37ab479d0ab1e6900&state=0e0c55dc2b3fe5b97c04517b7997468b5aaeb470b0ffd573" for 127.0.0.1 at 2012-10-02 06:37:38 +0000
|
7151
|
+
Processing by AuthenticationsController#callback as HTML
|
7152
|
+
Parameters: {"code"=>"b6a7eb56aa95b64e61e366a1466793357eca82128f9526b37ab479d0ab1e6900", "state"=>"0e0c55dc2b3fe5b97c04517b7997468b5aaeb470b0ffd573"}
|
7153
|
+
Authenticating with gds_sso strategy
|
7154
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7156
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7157
|
+
GDS_SSO integration test:
|
7158
|
+
- signin
|
7159
|
+
' WHERE "users"."id" = 5[0m
|
7160
|
+
[1m[35m (16.5ms)[0m commit transaction
|
7161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7162
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7163
|
+
GDS_SSO integration test:
|
7164
|
+
- signin
|
7165
|
+
' WHERE "users"."id" = 5
|
7166
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
7167
|
+
Redirected to http://www.example-client.com/restricted
|
7168
|
+
Completed 302 Found in 24ms (ActiveRecord: 19.7ms)
|
7169
|
+
|
7170
|
+
|
7171
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 06:37:38 +0000
|
7172
|
+
Processing by ExampleController#restricted as HTML
|
7173
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7174
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
7175
|
+
|
7176
|
+
|
7177
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:38 +0000
|
7178
|
+
Processing by ExampleController#restricted as HTML
|
7179
|
+
Authenticating with gds_sso strategy
|
7180
|
+
Completed in 0ms
|
7181
|
+
|
7182
|
+
|
7183
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-01 10:32:38 +0000
|
7184
|
+
|
7185
|
+
|
7186
|
+
Started GET "/auth/gds/callback?code=49450bfc9ae0b9353396a263fcefdedbde60bfcafe89526bd1bde22a5ee0db94&state=d3ecbf56a1f4e6daefb2296d45a9c184fc97b7991872ae32" for 127.0.0.1 at 2012-10-01 10:32:38 +0000
|
7187
|
+
Processing by AuthenticationsController#callback as HTML
|
7188
|
+
Parameters: {"code"=>"49450bfc9ae0b9353396a263fcefdedbde60bfcafe89526bd1bde22a5ee0db94", "state"=>"d3ecbf56a1f4e6daefb2296d45a9c184fc97b7991872ae32"}
|
7189
|
+
Authenticating with gds_sso strategy
|
7190
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7192
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7193
|
+
GDS_SSO integration test:
|
7194
|
+
- signin
|
7195
|
+
' WHERE "users"."id" = 5[0m
|
7196
|
+
[1m[35m (24.4ms)[0m commit transaction
|
7197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7198
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7199
|
+
GDS_SSO integration test:
|
7200
|
+
- signin
|
7201
|
+
' WHERE "users"."id" = 5
|
7202
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
7203
|
+
Redirected to http://www.example-client.com/restricted
|
7204
|
+
Completed 302 Found in 34ms (ActiveRecord: 27.8ms)
|
7205
|
+
|
7206
|
+
|
7207
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:38 +0000
|
7208
|
+
Processing by ExampleController#restricted as HTML
|
7209
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7210
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
7211
|
+
|
7212
|
+
|
7213
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 06:27:38 +0000
|
7214
|
+
Processing by ExampleController#restricted as HTML
|
7215
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7216
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
7217
|
+
|
7218
|
+
|
7219
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:38 +0000
|
7220
|
+
Processing by ExampleController#restricted as JSON
|
7221
|
+
Authenticating with gds_sso_api_access strategy
|
7222
|
+
Completed in 124ms
|
7223
|
+
|
7224
|
+
|
7225
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:39 +0000
|
7226
|
+
Processing by ExampleController#restricted as JSON
|
7227
|
+
Authenticating with gds_sso_api_access strategy
|
7228
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
7229
|
+
|
7230
|
+
|
7231
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-01 10:32:39 +0000
|
7232
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
7233
|
+
Authenticating with gds_sso_api_access strategy
|
7234
|
+
Completed 200 OK in 11ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
7235
|
+
|
7236
|
+
|
7237
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:39 +0000
|
7238
|
+
Processing by ExampleController#restricted as JSON
|
7239
|
+
Authenticating with gds_bearer_token strategy
|
7240
|
+
Completed in 12ms
|
7241
|
+
|
7242
|
+
|
7243
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-01 10:32:39 +0000
|
7244
|
+
Processing by ExampleController#restricted as JSON
|
7245
|
+
Authenticating with gds_bearer_token strategy
|
7246
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7248
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7249
|
+
GDS_SSO integration test:
|
7250
|
+
- signin
|
7251
|
+
' WHERE "users"."id" = 5
|
7252
|
+
[1m[36m (16.3ms)[0m [1mcommit transaction[0m
|
7253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7254
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7255
|
+
GDS_SSO integration test:
|
7256
|
+
- signin
|
7257
|
+
' WHERE "users"."id" = 5[0m
|
7258
|
+
[1m[35m (2.2ms)[0m commit transaction
|
7259
|
+
Completed 200 OK in 77ms (Views: 0.6ms | ActiveRecord: 19.5ms)
|
7260
|
+
|
7261
|
+
|
7262
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-01 10:32:39 +0000
|
7263
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
7264
|
+
Authenticating with gds_bearer_token strategy
|
7265
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7267
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7268
|
+
GDS_SSO integration test:
|
7269
|
+
- signin
|
7270
|
+
' WHERE "users"."id" = 5[0m
|
7271
|
+
[1m[35m (5.8ms)[0m commit transaction
|
7272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7273
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7274
|
+
GDS_SSO integration test:
|
7275
|
+
- signin
|
7276
|
+
' WHERE "users"."id" = 5
|
7277
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
7278
|
+
Completed 200 OK in 66ms (Views: 0.6ms | ActiveRecord: 9.0ms)
|
7279
|
+
Connecting to database specified by database.yml
|
7280
|
+
[1m[36m (33.4ms)[0m [1mselect sqlite_version(*)[0m
|
7281
|
+
[1m[35m (15.2ms)[0m DROP TABLE "users"
|
7282
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
7283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7284
|
+
[1m[36mSQL (9.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33608"]]
|
7285
|
+
[1m[35m (2.8ms)[0m commit transaction
|
7286
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
7287
|
+
Processing by Api::UserController#update as HTML
|
7288
|
+
Parameters: {"uid"=>"a1s2d33608"}
|
7289
|
+
Rendered /mnt/jenkins/workspace/GDS-SSO/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (37.8ms)
|
7290
|
+
Completed 403 Forbidden in 92ms (Views: 90.7ms | ActiveRecord: 0.0ms)
|
7291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7292
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35936"]]
|
7293
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
7294
|
+
Processing by Api::UserController#update as HTML
|
7295
|
+
Parameters: {"uid"=>"a1s2d35936"}
|
7296
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35936' LIMIT 1
|
7297
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7298
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
7299
|
+
GDS_SSO integration test:
|
7300
|
+
- signin
|
7301
|
+
- new permission
|
7302
|
+
' WHERE "users"."id" = 2
|
7303
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
7304
|
+
Completed 200 OK in 20ms (ActiveRecord: 3.4ms)
|
7305
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
7306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7307
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33832"]]
|
7308
|
+
[1m[36m (3.0ms)[0m [1mcommit transaction[0m
|
7309
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
7310
|
+
Processing by Api::UserController#reauth as HTML
|
7311
|
+
Parameters: {"uid"=>"a1s2d33832"}
|
7312
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
7313
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7314
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31936"]]
|
7315
|
+
[1m[35m (2.2ms)[0m commit transaction
|
7316
|
+
Processing by Api::UserController#reauth as HTML
|
7317
|
+
Parameters: {"uid"=>"a1s2d31936"}
|
7318
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31936' LIMIT 1[0m
|
7319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7320
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
7321
|
+
GDS_SSO integration test:
|
7322
|
+
- signin
|
7323
|
+
' WHERE "users"."id" = 4[0m
|
7324
|
+
[1m[35m (2.7ms)[0m commit transaction
|
7325
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.3ms)
|
7326
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
7327
|
+
|
7328
|
+
|
7329
|
+
Started GET "/" for 127.0.0.1 at 2012-10-02 11:01:25 +0000
|
7330
|
+
Processing by ExampleController#index as HTML
|
7331
|
+
Completed 200 OK in 50ms (Views: 49.4ms | ActiveRecord: 0.0ms)
|
7332
|
+
|
7333
|
+
|
7334
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:26 +0000
|
7335
|
+
Processing by ExampleController#restricted as HTML
|
7336
|
+
Authenticating with gds_sso strategy
|
7337
|
+
Completed in 61ms
|
7338
|
+
|
7339
|
+
|
7340
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:26 +0000
|
7341
|
+
|
7342
|
+
|
7343
|
+
Started GET "/auth/gds/callback?code=76e16c67c0cb6d7385dfee247ca766186a57760ed6dc2f5070b09106d77333dc&state=3247d7dc31114e26212d28f8e852fd31d554eaea6cb279ed" for 127.0.0.1 at 2012-10-02 11:01:26 +0000
|
7344
|
+
Processing by AuthenticationsController#callback as HTML
|
7345
|
+
Parameters: {"code"=>"76e16c67c0cb6d7385dfee247ca766186a57760ed6dc2f5070b09106d77333dc", "state"=>"3247d7dc31114e26212d28f8e852fd31d554eaea6cb279ed"}
|
7346
|
+
Authenticating with gds_sso strategy
|
7347
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7349
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \nGDS_SSO integration test: \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
7350
|
+
[1m[36m (10.4ms)[0m [1mcommit transaction[0m
|
7351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7352
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
7353
|
+
GDS_SSO integration test:
|
7354
|
+
- signin
|
7355
|
+
' WHERE "users"."id" = 5[0m
|
7356
|
+
[1m[35m (2.5ms)[0m commit transaction
|
7357
|
+
Redirected to http://www.example-client.com/restricted
|
7358
|
+
Completed 302 Found in 20ms (ActiveRecord: 14.0ms)
|
7359
|
+
|
7360
|
+
|
7361
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7362
|
+
Processing by ExampleController#restricted as HTML
|
7363
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7364
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
7365
|
+
|
7366
|
+
|
7367
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7368
|
+
Processing by ExampleController#restricted as HTML
|
7369
|
+
Authenticating with gds_sso strategy
|
7370
|
+
Completed in 0ms
|
7371
|
+
|
7372
|
+
|
7373
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7374
|
+
|
7375
|
+
|
7376
|
+
Started GET "/auth/gds/callback?code=bbbf9552f9109580a6448df70df2970635e1324d1a74f9e607dcfefb4c4540e4&state=868e78148bdb8b867d966154fefa14da6a070a4c799a536b" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7377
|
+
Processing by AuthenticationsController#callback as HTML
|
7378
|
+
Parameters: {"code"=>"bbbf9552f9109580a6448df70df2970635e1324d1a74f9e607dcfefb4c4540e4", "state"=>"868e78148bdb8b867d966154fefa14da6a070a4c799a536b"}
|
7379
|
+
Authenticating with gds_sso strategy
|
7380
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7381
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7382
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7383
|
+
GDS_SSO integration test:
|
7384
|
+
- signin
|
7385
|
+
' WHERE "users"."id" = 5
|
7386
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
7387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7388
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7389
|
+
GDS_SSO integration test:
|
7390
|
+
- signin
|
7391
|
+
' WHERE "users"."id" = 5[0m
|
7392
|
+
[1m[35m (2.8ms)[0m commit transaction
|
7393
|
+
Redirected to http://www.example-client.com/restricted
|
7394
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.9ms)
|
7395
|
+
|
7396
|
+
|
7397
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7398
|
+
Processing by ExampleController#restricted as HTML
|
7399
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7400
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
7401
|
+
|
7402
|
+
|
7403
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7404
|
+
Processing by ExampleController#restricted as HTML
|
7405
|
+
Authenticating with gds_sso strategy
|
7406
|
+
Completed in 0ms
|
7407
|
+
|
7408
|
+
|
7409
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7410
|
+
|
7411
|
+
|
7412
|
+
Started GET "/auth/gds/callback?code=ddd05674a492b708adcd241d03ac0013b11bce01f13ae6a8dd93d82ed5bbedb5&state=954374653022beb3e0ecbd34dbfa639c4d119973c99d4147" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7413
|
+
Processing by AuthenticationsController#callback as HTML
|
7414
|
+
Parameters: {"code"=>"ddd05674a492b708adcd241d03ac0013b11bce01f13ae6a8dd93d82ed5bbedb5", "state"=>"954374653022beb3e0ecbd34dbfa639c4d119973c99d4147"}
|
7415
|
+
Authenticating with gds_sso strategy
|
7416
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7417
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7418
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7419
|
+
GDS_SSO integration test:
|
7420
|
+
- signin
|
7421
|
+
' WHERE "users"."id" = 5
|
7422
|
+
[1m[36m (9.8ms)[0m [1mcommit transaction[0m
|
7423
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7424
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7425
|
+
GDS_SSO integration test:
|
7426
|
+
- signin
|
7427
|
+
' WHERE "users"."id" = 5[0m
|
7428
|
+
[1m[35m (2.3ms)[0m commit transaction
|
7429
|
+
Redirected to http://www.example-client.com/restricted
|
7430
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
|
7431
|
+
|
7432
|
+
|
7433
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7434
|
+
Processing by ExampleController#restricted as HTML
|
7435
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7436
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
7437
|
+
|
7438
|
+
|
7439
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7440
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
7441
|
+
Authenticating with gds_sso strategy
|
7442
|
+
Completed in 1ms
|
7443
|
+
|
7444
|
+
|
7445
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:27 +0000
|
7446
|
+
|
7447
|
+
|
7448
|
+
Started GET "/auth/gds/callback?code=4fd9a5f1ea1d80f51f8d7b0e7e52fd6a5f286f2c0fef2f1efddec95c402ecc63&state=ed4398d7ae93a95f80f158d6eb3b3421b3c67d5f46a558f3" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7449
|
+
Processing by AuthenticationsController#callback as HTML
|
7450
|
+
Parameters: {"code"=>"4fd9a5f1ea1d80f51f8d7b0e7e52fd6a5f286f2c0fef2f1efddec95c402ecc63", "state"=>"ed4398d7ae93a95f80f158d6eb3b3421b3c67d5f46a558f3"}
|
7451
|
+
Authenticating with gds_sso strategy
|
7452
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7454
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7455
|
+
GDS_SSO integration test:
|
7456
|
+
- signin
|
7457
|
+
' WHERE "users"."id" = 5
|
7458
|
+
[1m[36m (7.4ms)[0m [1mcommit transaction[0m
|
7459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7460
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7461
|
+
GDS_SSO integration test:
|
7462
|
+
- signin
|
7463
|
+
' WHERE "users"."id" = 5[0m
|
7464
|
+
[1m[35m (2.2ms)[0m commit transaction
|
7465
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
7466
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.5ms)
|
7467
|
+
|
7468
|
+
|
7469
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7470
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
7471
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7472
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)
|
7473
|
+
|
7474
|
+
|
7475
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7476
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
7477
|
+
Authenticating with gds_sso strategy
|
7478
|
+
Completed in 0ms
|
7479
|
+
|
7480
|
+
|
7481
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7482
|
+
|
7483
|
+
|
7484
|
+
Started GET "/auth/gds/callback?code=7fb5e143cd42896b6b4c9e13223c641afc283ddf40f93079ad9fd17ffb0c12f2&state=d073c263c366d9a8b0980e20a5584b1abb5d366dbff47cf0" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7485
|
+
Processing by AuthenticationsController#callback as HTML
|
7486
|
+
Parameters: {"code"=>"7fb5e143cd42896b6b4c9e13223c641afc283ddf40f93079ad9fd17ffb0c12f2", "state"=>"d073c263c366d9a8b0980e20a5584b1abb5d366dbff47cf0"}
|
7487
|
+
Authenticating with gds_sso strategy
|
7488
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7489
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7490
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7491
|
+
GDS_SSO integration test:
|
7492
|
+
- signin
|
7493
|
+
' WHERE "users"."id" = 5
|
7494
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
7495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7496
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7497
|
+
GDS_SSO integration test:
|
7498
|
+
- signin
|
7499
|
+
' WHERE "users"."id" = 5[0m
|
7500
|
+
[1m[35m (2.5ms)[0m commit transaction
|
7501
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
7502
|
+
Completed 302 Found in 17ms (ActiveRecord: 13.1ms)
|
7503
|
+
|
7504
|
+
|
7505
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7506
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
7507
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7508
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
7509
|
+
|
7510
|
+
|
7511
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7512
|
+
Processing by ExampleController#restricted as HTML
|
7513
|
+
Authenticating with gds_sso strategy
|
7514
|
+
Completed in 0ms
|
7515
|
+
|
7516
|
+
|
7517
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7518
|
+
|
7519
|
+
|
7520
|
+
Started GET "/auth/gds/callback?code=1e7dfb40e71587cf3249f21e456741eb538d3a391d3da4651ebc89ec4ef5c977&state=7ffbf9f33197625347a133e00a0e0948ab0a984b27d1ab40" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7521
|
+
Processing by AuthenticationsController#callback as HTML
|
7522
|
+
Parameters: {"code"=>"1e7dfb40e71587cf3249f21e456741eb538d3a391d3da4651ebc89ec4ef5c977", "state"=>"7ffbf9f33197625347a133e00a0e0948ab0a984b27d1ab40"}
|
7523
|
+
Authenticating with gds_sso strategy
|
7524
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7525
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7526
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7527
|
+
GDS_SSO integration test:
|
7528
|
+
- signin
|
7529
|
+
' WHERE "users"."id" = 5
|
7530
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
7531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7532
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7533
|
+
GDS_SSO integration test:
|
7534
|
+
- signin
|
7535
|
+
' WHERE "users"."id" = 5[0m
|
7536
|
+
[1m[35m (2.7ms)[0m commit transaction
|
7537
|
+
Redirected to http://www.example-client.com/restricted
|
7538
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.5ms)
|
7539
|
+
|
7540
|
+
|
7541
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7542
|
+
Processing by ExampleController#restricted as HTML
|
7543
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7544
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
7545
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7546
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7547
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
7548
|
+
GDS_SSO integration test:
|
7549
|
+
- signin
|
7550
|
+
' WHERE "users"."id" = 5
|
7551
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
7552
|
+
|
7553
|
+
|
7554
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7555
|
+
Processing by ExampleController#restricted as HTML
|
7556
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7557
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
7558
|
+
Completed 403 Forbidden in 3ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
7559
|
+
|
7560
|
+
|
7561
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2012-10-02 11:01:28 +0000
|
7562
|
+
Processing by AuthenticationsController#sign_out as HTML
|
7563
|
+
Redirected to http://localhost:4567/users/sign_out
|
7564
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
7565
|
+
|
7566
|
+
|
7567
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7568
|
+
Processing by ExampleController#restricted as HTML
|
7569
|
+
Authenticating with gds_sso strategy
|
7570
|
+
Completed in 0ms
|
7571
|
+
|
7572
|
+
|
7573
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7574
|
+
|
7575
|
+
|
7576
|
+
Started GET "/auth/gds/callback?code=f1f092eefd4250086f0012e5c4c907362fc5c0677fecc3e438afd6c8c3914b3c&state=b0a38796634819c3a2a686e060d87d3d92b28ec31712690f" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7577
|
+
Processing by AuthenticationsController#callback as HTML
|
7578
|
+
Parameters: {"code"=>"f1f092eefd4250086f0012e5c4c907362fc5c0677fecc3e438afd6c8c3914b3c", "state"=>"b0a38796634819c3a2a686e060d87d3d92b28ec31712690f"}
|
7579
|
+
Authenticating with gds_sso strategy
|
7580
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7581
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7582
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7583
|
+
GDS_SSO integration test:
|
7584
|
+
- signin
|
7585
|
+
' WHERE "users"."id" = 5[0m
|
7586
|
+
[1m[35m (9.4ms)[0m commit transaction
|
7587
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
7588
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
7589
|
+
GDS_SSO integration test:
|
7590
|
+
- signin
|
7591
|
+
' WHERE "users"."id" = 5
|
7592
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
7593
|
+
Redirected to http://www.example-client.com/restricted
|
7594
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.5ms)
|
7595
|
+
|
7596
|
+
|
7597
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7598
|
+
Processing by ExampleController#restricted as HTML
|
7599
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7600
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
7601
|
+
|
7602
|
+
|
7603
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7604
|
+
Processing by ExampleController#restricted as HTML
|
7605
|
+
Authenticating with gds_sso strategy
|
7606
|
+
Completed in 0ms
|
7607
|
+
|
7608
|
+
|
7609
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7610
|
+
|
7611
|
+
|
7612
|
+
Started GET "/auth/gds/callback?code=cb3353d9bae7f935bb2b54e547d50992208a038e3137bd0fe93295c67553cd1c&state=9d07cd206e0546c0ef1dbd2e137540272711b97af8a7d081" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7613
|
+
Processing by AuthenticationsController#callback as HTML
|
7614
|
+
Parameters: {"code"=>"cb3353d9bae7f935bb2b54e547d50992208a038e3137bd0fe93295c67553cd1c", "state"=>"9d07cd206e0546c0ef1dbd2e137540272711b97af8a7d081"}
|
7615
|
+
Authenticating with gds_sso strategy
|
7616
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7617
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7618
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7619
|
+
GDS_SSO integration test:
|
7620
|
+
- signin
|
7621
|
+
' WHERE "users"."id" = 5[0m
|
7622
|
+
[1m[35m (7.5ms)[0m commit transaction
|
7623
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7624
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7625
|
+
GDS_SSO integration test:
|
7626
|
+
- signin
|
7627
|
+
' WHERE "users"."id" = 5
|
7628
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
7629
|
+
Redirected to http://www.example-client.com/restricted
|
7630
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.8ms)
|
7631
|
+
|
7632
|
+
|
7633
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7634
|
+
Processing by ExampleController#restricted as HTML
|
7635
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7636
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
7637
|
+
|
7638
|
+
|
7639
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-03 07:06:29 +0000
|
7640
|
+
Processing by ExampleController#restricted as HTML
|
7641
|
+
Authenticating with gds_sso strategy
|
7642
|
+
Completed in 0ms
|
7643
|
+
|
7644
|
+
|
7645
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-03 07:06:29 +0000
|
7646
|
+
|
7647
|
+
|
7648
|
+
Started GET "/auth/gds/callback?code=0bf6691f4d9fbdfcda21159f43d3a4514303ecfea582ecebff58868ce44742c9&state=353ea5303be532db0619fe497d12bc385f33841b199aab56" for 127.0.0.1 at 2012-10-03 07:06:29 +0000
|
7649
|
+
Processing by AuthenticationsController#callback as HTML
|
7650
|
+
Parameters: {"code"=>"0bf6691f4d9fbdfcda21159f43d3a4514303ecfea582ecebff58868ce44742c9", "state"=>"353ea5303be532db0619fe497d12bc385f33841b199aab56"}
|
7651
|
+
Authenticating with gds_sso strategy
|
7652
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7654
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7655
|
+
GDS_SSO integration test:
|
7656
|
+
- signin
|
7657
|
+
' WHERE "users"."id" = 5[0m
|
7658
|
+
[1m[35m (8.1ms)[0m commit transaction
|
7659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7660
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7661
|
+
GDS_SSO integration test:
|
7662
|
+
- signin
|
7663
|
+
' WHERE "users"."id" = 5
|
7664
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
7665
|
+
Redirected to http://www.example-client.com/restricted
|
7666
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.6ms)
|
7667
|
+
|
7668
|
+
|
7669
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-03 07:06:29 +0000
|
7670
|
+
Processing by ExampleController#restricted as HTML
|
7671
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7672
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
7673
|
+
|
7674
|
+
|
7675
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7676
|
+
Processing by ExampleController#restricted as HTML
|
7677
|
+
Authenticating with gds_sso strategy
|
7678
|
+
Completed in 1ms
|
7679
|
+
|
7680
|
+
|
7681
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2012-10-02 11:01:29 +0000
|
7682
|
+
|
7683
|
+
|
7684
|
+
Started GET "/auth/gds/callback?code=a3970aba4efb3e45b6fed6835bc15a5747714638a36d4ffb37ccebf1db16f4b7&state=1b618072c677e39e8a50b2affc18d2389ec78a6e5461f981" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7685
|
+
Processing by AuthenticationsController#callback as HTML
|
7686
|
+
Parameters: {"code"=>"a3970aba4efb3e45b6fed6835bc15a5747714638a36d4ffb37ccebf1db16f4b7", "state"=>"1b618072c677e39e8a50b2affc18d2389ec78a6e5461f981"}
|
7687
|
+
Authenticating with gds_sso strategy
|
7688
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7689
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7690
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7691
|
+
GDS_SSO integration test:
|
7692
|
+
- signin
|
7693
|
+
' WHERE "users"."id" = 5[0m
|
7694
|
+
[1m[35m (7.5ms)[0m commit transaction
|
7695
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7696
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7697
|
+
GDS_SSO integration test:
|
7698
|
+
- signin
|
7699
|
+
' WHERE "users"."id" = 5
|
7700
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
7701
|
+
Redirected to http://www.example-client.com/restricted
|
7702
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.8ms)
|
7703
|
+
|
7704
|
+
|
7705
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7706
|
+
Processing by ExampleController#restricted as HTML
|
7707
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7708
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.1ms)
|
7709
|
+
|
7710
|
+
|
7711
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-03 06:56:30 +0000
|
7712
|
+
Processing by ExampleController#restricted as HTML
|
7713
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7714
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
7715
|
+
|
7716
|
+
|
7717
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7718
|
+
Processing by ExampleController#restricted as JSON
|
7719
|
+
Authenticating with gds_sso_api_access strategy
|
7720
|
+
Completed in 13ms
|
7721
|
+
|
7722
|
+
|
7723
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7724
|
+
Processing by ExampleController#restricted as JSON
|
7725
|
+
Authenticating with gds_sso_api_access strategy
|
7726
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
7727
|
+
|
7728
|
+
|
7729
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7730
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
7731
|
+
Authenticating with gds_sso_api_access strategy
|
7732
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
7733
|
+
|
7734
|
+
|
7735
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7736
|
+
Processing by ExampleController#restricted as JSON
|
7737
|
+
Authenticating with gds_bearer_token strategy
|
7738
|
+
Completed in 8ms
|
7739
|
+
|
7740
|
+
|
7741
|
+
Started GET "/restricted" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7742
|
+
Processing by ExampleController#restricted as JSON
|
7743
|
+
Authenticating with gds_bearer_token strategy
|
7744
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
7745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7746
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
7747
|
+
GDS_SSO integration test:
|
7748
|
+
- signin
|
7749
|
+
' WHERE "users"."id" = 5
|
7750
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
7751
|
+
[1m[35m (0.0ms)[0m begin transaction
|
7752
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7753
|
+
GDS_SSO integration test:
|
7754
|
+
- signin
|
7755
|
+
' WHERE "users"."id" = 5[0m
|
7756
|
+
[1m[35m (2.5ms)[0m commit transaction
|
7757
|
+
Completed 200 OK in 72ms (Views: 0.6ms | ActiveRecord: 9.0ms)
|
7758
|
+
|
7759
|
+
|
7760
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2012-10-02 11:01:30 +0000
|
7761
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
7762
|
+
Authenticating with gds_bearer_token strategy
|
7763
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
7764
|
+
[1m[35m (0.1ms)[0m begin transaction
|
7765
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
7766
|
+
GDS_SSO integration test:
|
7767
|
+
- signin
|
7768
|
+
' WHERE "users"."id" = 5[0m
|
7769
|
+
[1m[35m (8.8ms)[0m commit transaction
|
7770
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7771
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
7772
|
+
GDS_SSO integration test:
|
7773
|
+
- signin
|
7774
|
+
' WHERE "users"."id" = 5
|
7775
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
7776
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.0ms)
|