gds-sso 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/controllers/authentications_controller.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1492 -0
- data/spec/requests/end_to_end_spec.rb +1 -0
- data/spec/spec_helper.rb +2 -1
- data/test/test_helper.rb +1 -1
- metadata +6 -6
@@ -1,7 +1,7 @@
|
|
1
1
|
class AuthenticationsController < ApplicationController
|
2
2
|
before_filter :authenticate_user!, :only => :callback
|
3
3
|
skip_before_filter :require_signin_permission!
|
4
|
-
layout false
|
4
|
+
layout false
|
5
5
|
|
6
6
|
def callback
|
7
7
|
redirect_to session["return_to"] || '/'
|
data/lib/gds-sso/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -23847,3 +23847,1495 @@ Authenticating with gds_bearer_token strategy
|
|
23847
23847
|
' WHERE "users"."id" = 5
|
23848
23848
|
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
23849
23849
|
Completed 200 OK in 48ms (Views: 0.7ms | ActiveRecord: 12.7ms)
|
23850
|
+
Connecting to database specified by database.yml
|
23851
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
23852
|
+
[1m[35m (17.3ms)[0m DROP TABLE "users"
|
23853
|
+
[1m[36m (2.5ms)[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
|
23854
|
+
Connecting to database specified by database.yml
|
23855
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
23856
|
+
[1m[35m (24.4ms)[0m DROP TABLE "users"
|
23857
|
+
[1m[36m (2.9ms)[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
|
23858
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23859
|
+
[1m[36mSQL (133.2ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37435"]]
|
23860
|
+
[1m[35m (3.1ms)[0m commit transaction
|
23861
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
23862
|
+
Processing by Api::UserController#update as HTML
|
23863
|
+
Parameters: {"uid"=>"a1s2d37435"}
|
23864
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (79.0ms)
|
23865
|
+
Completed 403 Forbidden in 190ms (Views: 189.2ms | ActiveRecord: 0.0ms)
|
23866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23867
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35897"]]
|
23868
|
+
[1m[36m (16.3ms)[0m [1mcommit transaction[0m
|
23869
|
+
Processing by Api::UserController#update as HTML
|
23870
|
+
Parameters: {"uid"=>"a1s2d35897"}
|
23871
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35897' LIMIT 1
|
23872
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23873
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
23874
|
+
- signin
|
23875
|
+
- new permission
|
23876
|
+
' WHERE "users"."id" = 2
|
23877
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
23878
|
+
Completed 200 OK in 22ms (ActiveRecord: 2.9ms)
|
23879
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23880
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23881
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31660"]]
|
23882
|
+
[1m[36m (10.5ms)[0m [1mcommit transaction[0m
|
23883
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
23884
|
+
Processing by Api::UserController#reauth as HTML
|
23885
|
+
Parameters: {"uid"=>"a1s2d31660"}
|
23886
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
23887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23888
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3314"]]
|
23889
|
+
[1m[35m (13.2ms)[0m commit transaction
|
23890
|
+
Processing by Api::UserController#reauth as HTML
|
23891
|
+
Parameters: {"uid"=>"a1s2d3314"}
|
23892
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3314' LIMIT 1[0m
|
23893
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23894
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
23895
|
+
- signin
|
23896
|
+
' WHERE "users"."id" = 4[0m
|
23897
|
+
[1m[35m (4.4ms)[0m commit transaction
|
23898
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.0ms)
|
23899
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
23900
|
+
Started GET "/" for 127.0.0.1 at 2013-03-19 12:37:06 +0000
|
23901
|
+
Processing by ExampleController#index as HTML
|
23902
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
23903
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:06 +0000
|
23904
|
+
Processing by ExampleController#restricted as HTML
|
23905
|
+
Authenticating with gds_sso strategy
|
23906
|
+
Completed in 13ms
|
23907
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:06 +0000
|
23908
|
+
Started GET "/auth/gds/callback?code=6addbf524130e2b68d5605e5c103221dedafb095e609506a2005e7aaeef503a1&state=95f0f42821b775bca58b6c9c75534c05ee0512e30109036f" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23909
|
+
Processing by AuthenticationsController#callback as HTML
|
23910
|
+
Parameters: {"code"=>"6addbf524130e2b68d5605e5c103221dedafb095e609506a2005e7aaeef503a1", "state"=>"95f0f42821b775bca58b6c9c75534c05ee0512e30109036f"}
|
23911
|
+
Authenticating with gds_sso strategy
|
23912
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
23913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23914
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
23915
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
23916
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23917
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
23918
|
+
- signin
|
23919
|
+
' WHERE "users"."id" = 5[0m
|
23920
|
+
[1m[35m (1.8ms)[0m commit transaction
|
23921
|
+
Redirected to http://www.example-client.com/restricted
|
23922
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
23923
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23924
|
+
Processing by ExampleController#restricted as HTML
|
23925
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
23926
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
23927
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23928
|
+
Processing by ExampleController#restricted as HTML
|
23929
|
+
Authenticating with gds_sso strategy
|
23930
|
+
Completed in 0ms
|
23931
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23932
|
+
Started GET "/auth/gds/callback?code=2d0f6f81c714bf59dbfdea21b44523e15213a5a61760d2f5a8d180085bdfd9b9&state=99c5029f989d58f02292fe8ac3ddae2551b6e41fea80ab35" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23933
|
+
Processing by AuthenticationsController#callback as HTML
|
23934
|
+
Parameters: {"code"=>"2d0f6f81c714bf59dbfdea21b44523e15213a5a61760d2f5a8d180085bdfd9b9", "state"=>"99c5029f989d58f02292fe8ac3ddae2551b6e41fea80ab35"}
|
23935
|
+
Authenticating with gds_sso strategy
|
23936
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
23937
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23938
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
23939
|
+
- signin
|
23940
|
+
' WHERE "users"."id" = 5
|
23941
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
23942
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23943
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
23944
|
+
- signin
|
23945
|
+
' WHERE "users"."id" = 5[0m
|
23946
|
+
[1m[35m (1.8ms)[0m commit transaction
|
23947
|
+
Redirected to http://www.example-client.com/restricted
|
23948
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.2ms)
|
23949
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23950
|
+
Processing by ExampleController#restricted as HTML
|
23951
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
23952
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
23953
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23954
|
+
Processing by ExampleController#restricted as HTML
|
23955
|
+
Authenticating with gds_sso strategy
|
23956
|
+
Completed in 0ms
|
23957
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:08 +0000
|
23958
|
+
Started GET "/auth/gds/callback?code=9a89bc19c72bb98f55906dd161ccb44a9949cc7fadc9717db09a4986c7a99ac4&state=58cf18d26ac7710f143615f17122d0377b302a6f833f7d17" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
23959
|
+
Processing by AuthenticationsController#callback as HTML
|
23960
|
+
Parameters: {"code"=>"9a89bc19c72bb98f55906dd161ccb44a9949cc7fadc9717db09a4986c7a99ac4", "state"=>"58cf18d26ac7710f143615f17122d0377b302a6f833f7d17"}
|
23961
|
+
Authenticating with gds_sso strategy
|
23962
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
23963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23964
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
23965
|
+
- signin
|
23966
|
+
' WHERE "users"."id" = 5
|
23967
|
+
[1m[36m (10.4ms)[0m [1mcommit transaction[0m
|
23968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23969
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
23970
|
+
- signin
|
23971
|
+
' WHERE "users"."id" = 5[0m
|
23972
|
+
[1m[35m (2.4ms)[0m commit transaction
|
23973
|
+
Redirected to http://www.example-client.com/restricted
|
23974
|
+
Completed 302 Found in 18ms (ActiveRecord: 13.7ms)
|
23975
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
23976
|
+
Processing by ExampleController#restricted as HTML
|
23977
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
23978
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
23979
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
23980
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
23981
|
+
Authenticating with gds_sso strategy
|
23982
|
+
Completed in 1ms
|
23983
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
23984
|
+
Started GET "/auth/gds/callback?code=20b3b1d0e248c8d3caa9d0aea25ed60ebf2efa0f207c608bedc62a273bdae5b3&state=ef4284d9ad0dc043bd55c572c2b0335e85b9000a57e4e4bd" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
23985
|
+
Processing by AuthenticationsController#callback as HTML
|
23986
|
+
Parameters: {"code"=>"20b3b1d0e248c8d3caa9d0aea25ed60ebf2efa0f207c608bedc62a273bdae5b3", "state"=>"ef4284d9ad0dc043bd55c572c2b0335e85b9000a57e4e4bd"}
|
23987
|
+
Authenticating with gds_sso strategy
|
23988
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
23989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23990
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
23991
|
+
- signin
|
23992
|
+
' WHERE "users"."id" = 5
|
23993
|
+
[1m[36m (8.3ms)[0m [1mcommit transaction[0m
|
23994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23995
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
23996
|
+
- signin
|
23997
|
+
' WHERE "users"."id" = 5[0m
|
23998
|
+
[1m[35m (1.8ms)[0m commit transaction
|
23999
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
24000
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.0ms)
|
24001
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24002
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24003
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24004
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
24005
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24006
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24007
|
+
Authenticating with gds_sso strategy
|
24008
|
+
Completed in 0ms
|
24009
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24010
|
+
Started GET "/auth/gds/callback?code=54c61a7a8492a3a1cb98b52c205fea58289b597eba31d88cdf2ae3c35288a8f6&state=d63fdf87646b0ef9208374c5210cb7c049d4add4ad91b152" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24011
|
+
Processing by AuthenticationsController#callback as HTML
|
24012
|
+
Parameters: {"code"=>"54c61a7a8492a3a1cb98b52c205fea58289b597eba31d88cdf2ae3c35288a8f6", "state"=>"d63fdf87646b0ef9208374c5210cb7c049d4add4ad91b152"}
|
24013
|
+
Authenticating with gds_sso strategy
|
24014
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24016
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24017
|
+
- signin
|
24018
|
+
' WHERE "users"."id" = 5
|
24019
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
24020
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24021
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24022
|
+
- signin
|
24023
|
+
' WHERE "users"."id" = 5[0m
|
24024
|
+
[1m[35m (2.2ms)[0m commit transaction
|
24025
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
24026
|
+
Completed 302 Found in 17ms (ActiveRecord: 13.0ms)
|
24027
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24028
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24029
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24030
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
24031
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24032
|
+
Processing by ExampleController#restricted as HTML
|
24033
|
+
Authenticating with gds_sso strategy
|
24034
|
+
Completed in 0ms
|
24035
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:09 +0000
|
24036
|
+
Started GET "/auth/gds/callback?code=776823c1affcd01927e7eedf4814b38551eb9e33cd61d5dfb85acfa22db87759&state=54413fb98e8434403269a555bb27e0502595f8709419abee" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24037
|
+
Processing by AuthenticationsController#callback as HTML
|
24038
|
+
Parameters: {"code"=>"776823c1affcd01927e7eedf4814b38551eb9e33cd61d5dfb85acfa22db87759", "state"=>"54413fb98e8434403269a555bb27e0502595f8709419abee"}
|
24039
|
+
Authenticating with gds_sso strategy
|
24040
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24041
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24042
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24043
|
+
- signin
|
24044
|
+
' WHERE "users"."id" = 5
|
24045
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
24046
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24047
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24048
|
+
- signin
|
24049
|
+
' WHERE "users"."id" = 5[0m
|
24050
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24051
|
+
Redirected to http://www.example-client.com/restricted
|
24052
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
24053
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24054
|
+
Processing by ExampleController#restricted as HTML
|
24055
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24056
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
24057
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24059
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
24060
|
+
- signin
|
24061
|
+
' WHERE "users"."id" = 5
|
24062
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
24063
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24064
|
+
Processing by ExampleController#restricted as HTML
|
24065
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24066
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
24067
|
+
Completed 403 Forbidden in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
24068
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24069
|
+
Processing by AuthenticationsController#sign_out as HTML
|
24070
|
+
Redirected to http://localhost:4567/users/sign_out
|
24071
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
24072
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24073
|
+
Processing by ExampleController#restricted as HTML
|
24074
|
+
Authenticating with gds_sso strategy
|
24075
|
+
Completed in 0ms
|
24076
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24077
|
+
Started GET "/auth/gds/callback?code=f8a11d249642ddea59bff7e6762c92eadbc7e06e533b52c4244701599494f466&state=1ea9aeb4d80eb9123b67588145dde0cc67ea1e16d7f58052" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24078
|
+
Processing by AuthenticationsController#callback as HTML
|
24079
|
+
Parameters: {"code"=>"f8a11d249642ddea59bff7e6762c92eadbc7e06e533b52c4244701599494f466", "state"=>"1ea9aeb4d80eb9123b67588145dde0cc67ea1e16d7f58052"}
|
24080
|
+
Authenticating with gds_sso strategy
|
24081
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24082
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24083
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24084
|
+
- signin
|
24085
|
+
' WHERE "users"."id" = 5[0m
|
24086
|
+
[1m[35m (7.8ms)[0m commit transaction
|
24087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24088
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
24089
|
+
- signin
|
24090
|
+
' WHERE "users"."id" = 5
|
24091
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
24092
|
+
Redirected to http://www.example-client.com/restricted
|
24093
|
+
Completed 302 Found in 66ms (ActiveRecord: 10.9ms)
|
24094
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24095
|
+
Processing by ExampleController#restricted as HTML
|
24096
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24097
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
24098
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24099
|
+
Processing by ExampleController#restricted as HTML
|
24100
|
+
Authenticating with gds_sso strategy
|
24101
|
+
Completed in 0ms
|
24102
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24103
|
+
Started GET "/auth/gds/callback?code=62f47c51bcde036fb39e6cd504f445bb76adf2db1c404ce8d13630422a612625&state=eaaae64d00c48b62b6d28c8b42e251eccf2b6761c6497f1a" for 127.0.0.1 at 2013-03-19 12:37:10 +0000
|
24104
|
+
Processing by AuthenticationsController#callback as HTML
|
24105
|
+
Parameters: {"code"=>"62f47c51bcde036fb39e6cd504f445bb76adf2db1c404ce8d13630422a612625", "state"=>"eaaae64d00c48b62b6d28c8b42e251eccf2b6761c6497f1a"}
|
24106
|
+
Authenticating with gds_sso strategy
|
24107
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24109
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24110
|
+
- signin
|
24111
|
+
' WHERE "users"."id" = 5[0m
|
24112
|
+
[1m[35m (17.6ms)[0m commit transaction
|
24113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24114
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24115
|
+
- signin
|
24116
|
+
' WHERE "users"."id" = 5
|
24117
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
24118
|
+
Redirected to http://www.example-client.com/restricted
|
24119
|
+
Completed 302 Found in 27ms (ActiveRecord: 21.3ms)
|
24120
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24121
|
+
Processing by ExampleController#restricted as HTML
|
24122
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24123
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
24124
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 08:42:11 +0000
|
24125
|
+
Processing by ExampleController#restricted as HTML
|
24126
|
+
Authenticating with gds_sso strategy
|
24127
|
+
Completed in 0ms
|
24128
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 08:42:11 +0000
|
24129
|
+
Started GET "/auth/gds/callback?code=d8587b4b776f6f1739ac1933cd18544ffc3673edc9a9318032be4537483e29d4&state=e58a187c733b8650bace150b40026f3984da7d599634b42e" for 127.0.0.1 at 2013-03-20 08:42:11 +0000
|
24130
|
+
Processing by AuthenticationsController#callback as HTML
|
24131
|
+
Parameters: {"code"=>"d8587b4b776f6f1739ac1933cd18544ffc3673edc9a9318032be4537483e29d4", "state"=>"e58a187c733b8650bace150b40026f3984da7d599634b42e"}
|
24132
|
+
Authenticating with gds_sso strategy
|
24133
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24135
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24136
|
+
- signin
|
24137
|
+
' WHERE "users"."id" = 5[0m
|
24138
|
+
[1m[35m (8.2ms)[0m commit transaction
|
24139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24140
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24141
|
+
- signin
|
24142
|
+
' WHERE "users"."id" = 5
|
24143
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
24144
|
+
Redirected to http://www.example-client.com/restricted
|
24145
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.7ms)
|
24146
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 08:42:11 +0000
|
24147
|
+
Processing by ExampleController#restricted as HTML
|
24148
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24149
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
24150
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24151
|
+
Processing by ExampleController#restricted as HTML
|
24152
|
+
Authenticating with gds_sso strategy
|
24153
|
+
Completed in 0ms
|
24154
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24155
|
+
Started GET "/auth/gds/callback?code=c67c5e89d1a1e512d897ff2fd0195c6c6f6a46a1d013e10d9cbd3345f1815143&state=9c73ca64f95ea256a0fc25f03d91efd87040bc09ce84c345" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24156
|
+
Processing by AuthenticationsController#callback as HTML
|
24157
|
+
Parameters: {"code"=>"c67c5e89d1a1e512d897ff2fd0195c6c6f6a46a1d013e10d9cbd3345f1815143", "state"=>"9c73ca64f95ea256a0fc25f03d91efd87040bc09ce84c345"}
|
24158
|
+
Authenticating with gds_sso strategy
|
24159
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24160
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24161
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24162
|
+
- signin
|
24163
|
+
' WHERE "users"."id" = 5[0m
|
24164
|
+
[1m[35m (7.4ms)[0m commit transaction
|
24165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24166
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24167
|
+
- signin
|
24168
|
+
' WHERE "users"."id" = 5
|
24169
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
24170
|
+
Redirected to http://www.example-client.com/restricted
|
24171
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.3ms)
|
24172
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24173
|
+
Processing by ExampleController#restricted as HTML
|
24174
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24175
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
24176
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 08:32:11 +0000
|
24177
|
+
Processing by ExampleController#restricted as HTML
|
24178
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24179
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
24180
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24181
|
+
Processing by ExampleController#restricted as JSON
|
24182
|
+
Authenticating with gds_sso_api_access strategy
|
24183
|
+
Completed in 67ms
|
24184
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24185
|
+
Processing by ExampleController#restricted as JSON
|
24186
|
+
Authenticating with gds_sso_api_access strategy
|
24187
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
24188
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24189
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
24190
|
+
Authenticating with gds_sso_api_access strategy
|
24191
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
24192
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24193
|
+
Processing by ExampleController#restricted as JSON
|
24194
|
+
Authenticating with gds_bearer_token strategy
|
24195
|
+
Completed in 11ms
|
24196
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 12:37:11 +0000
|
24197
|
+
Processing by ExampleController#restricted as JSON
|
24198
|
+
Authenticating with gds_bearer_token strategy
|
24199
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24201
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24202
|
+
- signin
|
24203
|
+
' WHERE "users"."id" = 5
|
24204
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
24205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24206
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24207
|
+
- signin
|
24208
|
+
' WHERE "users"."id" = 5[0m
|
24209
|
+
[1m[35m (2.6ms)[0m commit transaction
|
24210
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 13.1ms)
|
24211
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 12:37:12 +0000
|
24212
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
24213
|
+
Authenticating with gds_bearer_token strategy
|
24214
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24215
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24216
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24217
|
+
- signin
|
24218
|
+
' WHERE "users"."id" = 5[0m
|
24219
|
+
[1m[35m (9.2ms)[0m commit transaction
|
24220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24221
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24222
|
+
- signin
|
24223
|
+
' WHERE "users"."id" = 5
|
24224
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
24225
|
+
Completed 200 OK in 48ms (Views: 0.7ms | ActiveRecord: 12.8ms)
|
24226
|
+
Connecting to database specified by database.yml
|
24227
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
24228
|
+
[1m[35m (8.5ms)[0m DROP TABLE "users"
|
24229
|
+
[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
|
24230
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24231
|
+
[1m[36mSQL (96.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33745"]]
|
24232
|
+
[1m[35m (7.4ms)[0m commit transaction
|
24233
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
24234
|
+
Processing by Api::UserController#update as HTML
|
24235
|
+
Parameters: {"uid"=>"a1s2d33745"}
|
24236
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (80.4ms)
|
24237
|
+
Completed 403 Forbidden in 198ms (Views: 187.1ms | ActiveRecord: 0.0ms)
|
24238
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24239
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38067"]]
|
24240
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
24241
|
+
Processing by Api::UserController#update as HTML
|
24242
|
+
Parameters: {"uid"=>"a1s2d38067"}
|
24243
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38067' LIMIT 1
|
24244
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24245
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
24246
|
+
- signin
|
24247
|
+
- new permission
|
24248
|
+
' WHERE "users"."id" = 2
|
24249
|
+
[1m[36m (14.3ms)[0m [1mcommit transaction[0m
|
24250
|
+
Completed 200 OK in 24ms (ActiveRecord: 15.0ms)
|
24251
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24252
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24253
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37151"]]
|
24254
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
24255
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
24256
|
+
Processing by Api::UserController#reauth as HTML
|
24257
|
+
Parameters: {"uid"=>"a1s2d37151"}
|
24258
|
+
Completed 403 Forbidden in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
24259
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24260
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34418"]]
|
24261
|
+
[1m[35m (9.0ms)[0m commit transaction
|
24262
|
+
Processing by Api::UserController#reauth as HTML
|
24263
|
+
Parameters: {"uid"=>"a1s2d34418"}
|
24264
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34418' LIMIT 1[0m
|
24265
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24266
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
24267
|
+
- signin
|
24268
|
+
' WHERE "users"."id" = 4[0m
|
24269
|
+
[1m[35m (4.6ms)[0m commit transaction
|
24270
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.2ms)
|
24271
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
24272
|
+
Started GET "/" for 127.0.0.1 at 2013-03-19 17:10:49 +0000
|
24273
|
+
Processing by ExampleController#index as HTML
|
24274
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
24275
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:49 +0000
|
24276
|
+
Processing by ExampleController#restricted as HTML
|
24277
|
+
Authenticating with gds_sso strategy
|
24278
|
+
Completed in 13ms
|
24279
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:49 +0000
|
24280
|
+
Started GET "/auth/gds/callback?code=2bccf7a96ca123bf91debb9458314c0891583f8d6c21f2f84b97bce27d22e6bc&state=63008468bb7945e29bad21dfb7c55f20a4340bfe53f999af" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24281
|
+
Processing by AuthenticationsController#callback as HTML
|
24282
|
+
Parameters: {"code"=>"2bccf7a96ca123bf91debb9458314c0891583f8d6c21f2f84b97bce27d22e6bc", "state"=>"63008468bb7945e29bad21dfb7c55f20a4340bfe53f999af"}
|
24283
|
+
Authenticating with gds_sso strategy
|
24284
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24286
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
24287
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
24288
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24289
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
24290
|
+
- signin
|
24291
|
+
' WHERE "users"."id" = 5[0m
|
24292
|
+
[1m[35m (2.5ms)[0m commit transaction
|
24293
|
+
Redirected to http://www.example-client.com/restricted
|
24294
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.3ms)
|
24295
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24296
|
+
Processing by ExampleController#restricted as HTML
|
24297
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24298
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
24299
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24300
|
+
Processing by ExampleController#restricted as HTML
|
24301
|
+
Authenticating with gds_sso strategy
|
24302
|
+
Completed in 0ms
|
24303
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24304
|
+
Started GET "/auth/gds/callback?code=0a9a9e786fdce322f158975fd9d6845a5e3d5323c624f2a71817509b1f501b9e&state=6eebfaf5af93a84d0af0f08c4800c463bc0f407ca7e87a2e" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24305
|
+
Processing by AuthenticationsController#callback as HTML
|
24306
|
+
Parameters: {"code"=>"0a9a9e786fdce322f158975fd9d6845a5e3d5323c624f2a71817509b1f501b9e", "state"=>"6eebfaf5af93a84d0af0f08c4800c463bc0f407ca7e87a2e"}
|
24307
|
+
Authenticating with gds_sso strategy
|
24308
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24309
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24310
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24311
|
+
- signin
|
24312
|
+
' WHERE "users"."id" = 5
|
24313
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
24314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24315
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24316
|
+
- signin
|
24317
|
+
' WHERE "users"."id" = 5[0m
|
24318
|
+
[1m[35m (1.9ms)[0m commit transaction
|
24319
|
+
Redirected to http://www.example-client.com/restricted
|
24320
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.9ms)
|
24321
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24322
|
+
Processing by ExampleController#restricted as HTML
|
24323
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24324
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
24325
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24326
|
+
Processing by ExampleController#restricted as HTML
|
24327
|
+
Authenticating with gds_sso strategy
|
24328
|
+
Completed in 0ms
|
24329
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24330
|
+
Started GET "/auth/gds/callback?code=004d3ad7b79df09929d968de1655338159814cc4406f9860e4955bdd059091a1&state=ac1745494352a3ed9630fb56878e62a22abc66facb8909ef" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24331
|
+
Processing by AuthenticationsController#callback as HTML
|
24332
|
+
Parameters: {"code"=>"004d3ad7b79df09929d968de1655338159814cc4406f9860e4955bdd059091a1", "state"=>"ac1745494352a3ed9630fb56878e62a22abc66facb8909ef"}
|
24333
|
+
Authenticating with gds_sso strategy
|
24334
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24336
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24337
|
+
- signin
|
24338
|
+
' WHERE "users"."id" = 5
|
24339
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
24340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24341
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24342
|
+
- signin
|
24343
|
+
' WHERE "users"."id" = 5[0m
|
24344
|
+
[1m[35m (2.6ms)[0m commit transaction
|
24345
|
+
Redirected to http://www.example-client.com/restricted
|
24346
|
+
Completed 302 Found in 18ms (ActiveRecord: 13.1ms)
|
24347
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:51 +0000
|
24348
|
+
Processing by ExampleController#restricted as HTML
|
24349
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24350
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
24351
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24352
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24353
|
+
Authenticating with gds_sso strategy
|
24354
|
+
Completed in 1ms
|
24355
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24356
|
+
Started GET "/auth/gds/callback?code=78c4672ec18508790886efdf6def5d68474a5a5163fad7d9a65bb61761d799dd&state=359837fb4c731c8602324e86fefd7bf17ac5f36119d49060" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24357
|
+
Processing by AuthenticationsController#callback as HTML
|
24358
|
+
Parameters: {"code"=>"78c4672ec18508790886efdf6def5d68474a5a5163fad7d9a65bb61761d799dd", "state"=>"359837fb4c731c8602324e86fefd7bf17ac5f36119d49060"}
|
24359
|
+
Authenticating with gds_sso strategy
|
24360
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24362
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24363
|
+
- signin
|
24364
|
+
' WHERE "users"."id" = 5
|
24365
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
24366
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24367
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24368
|
+
- signin
|
24369
|
+
' WHERE "users"."id" = 5[0m
|
24370
|
+
[1m[35m (1.9ms)[0m commit transaction
|
24371
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
24372
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.4ms)
|
24373
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24374
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24375
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24376
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
24377
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24378
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24379
|
+
Authenticating with gds_sso strategy
|
24380
|
+
Completed in 0ms
|
24381
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24382
|
+
Started GET "/auth/gds/callback?code=b80af2b3334ffa1109a7664183b09162f630b09eb0d19f63b610537e97f5470a&state=05ad56fa890172a41dc1db35847e29c682db2ef4e51bd997" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24383
|
+
Processing by AuthenticationsController#callback as HTML
|
24384
|
+
Parameters: {"code"=>"b80af2b3334ffa1109a7664183b09162f630b09eb0d19f63b610537e97f5470a", "state"=>"05ad56fa890172a41dc1db35847e29c682db2ef4e51bd997"}
|
24385
|
+
Authenticating with gds_sso strategy
|
24386
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24388
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24389
|
+
- signin
|
24390
|
+
' WHERE "users"."id" = 5
|
24391
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
24392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24393
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24394
|
+
- signin
|
24395
|
+
' WHERE "users"."id" = 5[0m
|
24396
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24397
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
24398
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.7ms)
|
24399
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24400
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24401
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24402
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
24403
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24404
|
+
Processing by ExampleController#restricted as HTML
|
24405
|
+
Authenticating with gds_sso strategy
|
24406
|
+
Completed in 0ms
|
24407
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:52 +0000
|
24408
|
+
Started GET "/auth/gds/callback?code=257435962eb44e4b7984ceaab001e557f1909d27fba094b15346388adca47308&state=cbd4747225b063aaff561bf4f2ae479dfc9fe2d9d0016659" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24409
|
+
Processing by AuthenticationsController#callback as HTML
|
24410
|
+
Parameters: {"code"=>"257435962eb44e4b7984ceaab001e557f1909d27fba094b15346388adca47308", "state"=>"cbd4747225b063aaff561bf4f2ae479dfc9fe2d9d0016659"}
|
24411
|
+
Authenticating with gds_sso strategy
|
24412
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24414
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24415
|
+
- signin
|
24416
|
+
' WHERE "users"."id" = 5
|
24417
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
24418
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24419
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24420
|
+
- signin
|
24421
|
+
' WHERE "users"."id" = 5[0m
|
24422
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24423
|
+
Redirected to http://www.example-client.com/restricted
|
24424
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
24425
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24426
|
+
Processing by ExampleController#restricted as HTML
|
24427
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24428
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
24429
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24430
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24431
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
24432
|
+
- signin
|
24433
|
+
' WHERE "users"."id" = 5
|
24434
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
24435
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24436
|
+
Processing by ExampleController#restricted as HTML
|
24437
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24438
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
24439
|
+
Completed 403 Forbidden in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
|
24440
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24441
|
+
Processing by AuthenticationsController#sign_out as HTML
|
24442
|
+
Redirected to http://localhost:4567/users/sign_out
|
24443
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
24444
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24445
|
+
Processing by ExampleController#restricted as HTML
|
24446
|
+
Authenticating with gds_sso strategy
|
24447
|
+
Completed in 0ms
|
24448
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24449
|
+
Started GET "/auth/gds/callback?code=5ef06d65cdac349bad4c4b70f8066d7b45ca505991fdcab97f77e1fdc95606cd&state=ba3ef20f69bad276eaa2906af967346cbb4de8f0d3df074e" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24450
|
+
Processing by AuthenticationsController#callback as HTML
|
24451
|
+
Parameters: {"code"=>"5ef06d65cdac349bad4c4b70f8066d7b45ca505991fdcab97f77e1fdc95606cd", "state"=>"ba3ef20f69bad276eaa2906af967346cbb4de8f0d3df074e"}
|
24452
|
+
Authenticating with gds_sso strategy
|
24453
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24454
|
+
[1m[35m (0.2ms)[0m begin transaction
|
24455
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24456
|
+
- signin
|
24457
|
+
' WHERE "users"."id" = 5[0m
|
24458
|
+
[1m[35m (9.6ms)[0m commit transaction
|
24459
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24460
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
24461
|
+
- signin
|
24462
|
+
' WHERE "users"."id" = 5
|
24463
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
24464
|
+
Redirected to http://www.example-client.com/restricted
|
24465
|
+
Completed 302 Found in 17ms (ActiveRecord: 13.0ms)
|
24466
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24467
|
+
Processing by ExampleController#restricted as HTML
|
24468
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24469
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
24470
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24471
|
+
Processing by ExampleController#restricted as HTML
|
24472
|
+
Authenticating with gds_sso strategy
|
24473
|
+
Completed in 0ms
|
24474
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24475
|
+
Started GET "/auth/gds/callback?code=c30c3e0ceda503681070b31a1f69788f14c180b684b60166c593fad47e98a905&state=4122412cba0c08e302cb799f39438e756c7cf650891bac81" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24476
|
+
Processing by AuthenticationsController#callback as HTML
|
24477
|
+
Parameters: {"code"=>"c30c3e0ceda503681070b31a1f69788f14c180b684b60166c593fad47e98a905", "state"=>"4122412cba0c08e302cb799f39438e756c7cf650891bac81"}
|
24478
|
+
Authenticating with gds_sso strategy
|
24479
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24480
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24481
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24482
|
+
- signin
|
24483
|
+
' WHERE "users"."id" = 5[0m
|
24484
|
+
[1m[35m (7.7ms)[0m commit transaction
|
24485
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24486
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24487
|
+
- signin
|
24488
|
+
' WHERE "users"."id" = 5
|
24489
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
24490
|
+
Redirected to http://www.example-client.com/restricted
|
24491
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.5ms)
|
24492
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:53 +0000
|
24493
|
+
Processing by ExampleController#restricted as HTML
|
24494
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24495
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
24496
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 13:15:53 +0000
|
24497
|
+
Processing by ExampleController#restricted as HTML
|
24498
|
+
Authenticating with gds_sso strategy
|
24499
|
+
Completed in 0ms
|
24500
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 13:15:53 +0000
|
24501
|
+
Started GET "/auth/gds/callback?code=3b4ae18daf45299a61ad059c8f748145a164953f63818ea6fc7d3f78b855c17f&state=a3e605b5daa69077518a4913d0cc91ecce9dce3fad49c6da" for 127.0.0.1 at 2013-03-20 13:15:54 +0000
|
24502
|
+
Processing by AuthenticationsController#callback as HTML
|
24503
|
+
Parameters: {"code"=>"3b4ae18daf45299a61ad059c8f748145a164953f63818ea6fc7d3f78b855c17f", "state"=>"a3e605b5daa69077518a4913d0cc91ecce9dce3fad49c6da"}
|
24504
|
+
Authenticating with gds_sso strategy
|
24505
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24507
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24508
|
+
- signin
|
24509
|
+
' WHERE "users"."id" = 5[0m
|
24510
|
+
[1m[35m (8.8ms)[0m commit transaction
|
24511
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24512
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24513
|
+
- signin
|
24514
|
+
' WHERE "users"."id" = 5
|
24515
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
24516
|
+
Redirected to http://www.example-client.com/restricted
|
24517
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.2ms)
|
24518
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 13:15:54 +0000
|
24519
|
+
Processing by ExampleController#restricted as HTML
|
24520
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24521
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
24522
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24523
|
+
Processing by ExampleController#restricted as HTML
|
24524
|
+
Authenticating with gds_sso strategy
|
24525
|
+
Completed in 0ms
|
24526
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24527
|
+
Started GET "/auth/gds/callback?code=79da7693c7c295c5e2465757b0982a1afa4831f5ac6d3ff6211caa16c91b446e&state=7853b7c26347ba3621cac1b1e5bb3e3ddc23c5899b082095" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24528
|
+
Processing by AuthenticationsController#callback as HTML
|
24529
|
+
Parameters: {"code"=>"79da7693c7c295c5e2465757b0982a1afa4831f5ac6d3ff6211caa16c91b446e", "state"=>"7853b7c26347ba3621cac1b1e5bb3e3ddc23c5899b082095"}
|
24530
|
+
Authenticating with gds_sso strategy
|
24531
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24533
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24534
|
+
- signin
|
24535
|
+
' WHERE "users"."id" = 5[0m
|
24536
|
+
[1m[35m (8.3ms)[0m commit transaction
|
24537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24538
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24539
|
+
- signin
|
24540
|
+
' WHERE "users"."id" = 5
|
24541
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
24542
|
+
Redirected to http://www.example-client.com/restricted
|
24543
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.1ms)
|
24544
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24545
|
+
Processing by ExampleController#restricted as HTML
|
24546
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24547
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
24548
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 13:05:54 +0000
|
24549
|
+
Processing by ExampleController#restricted as HTML
|
24550
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24551
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
24552
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24553
|
+
Processing by ExampleController#restricted as JSON
|
24554
|
+
Authenticating with gds_sso_api_access strategy
|
24555
|
+
Completed in 69ms
|
24556
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24557
|
+
Processing by ExampleController#restricted as JSON
|
24558
|
+
Authenticating with gds_sso_api_access strategy
|
24559
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
24560
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24561
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
24562
|
+
Authenticating with gds_sso_api_access strategy
|
24563
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
24564
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24565
|
+
Processing by ExampleController#restricted as JSON
|
24566
|
+
Authenticating with gds_bearer_token strategy
|
24567
|
+
Completed in 10ms
|
24568
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24569
|
+
Processing by ExampleController#restricted as JSON
|
24570
|
+
Authenticating with gds_bearer_token strategy
|
24571
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24572
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24573
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24574
|
+
- signin
|
24575
|
+
' WHERE "users"."id" = 5
|
24576
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
24577
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24578
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24579
|
+
- signin
|
24580
|
+
' WHERE "users"."id" = 5[0m
|
24581
|
+
[1m[35m (2.4ms)[0m commit transaction
|
24582
|
+
Completed 200 OK in 55ms (Views: 0.6ms | ActiveRecord: 12.6ms)
|
24583
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-19 17:10:54 +0000
|
24584
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
24585
|
+
Authenticating with gds_bearer_token strategy
|
24586
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24587
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24588
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24589
|
+
- signin
|
24590
|
+
' WHERE "users"."id" = 5[0m
|
24591
|
+
[1m[35m (10.3ms)[0m commit transaction
|
24592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24593
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24594
|
+
- signin
|
24595
|
+
' WHERE "users"."id" = 5
|
24596
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
24597
|
+
Completed 200 OK in 57ms (Views: 0.7ms | ActiveRecord: 13.2ms)
|
24598
|
+
Connecting to database specified by database.yml
|
24599
|
+
[1m[36m (3.0ms)[0m [1mselect sqlite_version(*)[0m
|
24600
|
+
[1m[35m (14.0ms)[0m DROP TABLE "users"
|
24601
|
+
[1m[36m (2.2ms)[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
|
24602
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24603
|
+
[1m[36mSQL (33.5ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37676"]]
|
24604
|
+
[1m[35m (3.5ms)[0m commit transaction
|
24605
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
24606
|
+
Processing by Api::UserController#update as HTML
|
24607
|
+
Parameters: {"uid"=>"a1s2d37676"}
|
24608
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (24.2ms)
|
24609
|
+
Completed 403 Forbidden in 184ms (Views: 183.6ms | ActiveRecord: 0.0ms)
|
24610
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24611
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32592"]]
|
24612
|
+
[1m[36m (3.6ms)[0m [1mcommit transaction[0m
|
24613
|
+
Processing by Api::UserController#update as HTML
|
24614
|
+
Parameters: {"uid"=>"a1s2d32592"}
|
24615
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32592' LIMIT 1
|
24616
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24617
|
+
[1m[35m (0.5ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
24618
|
+
- signin
|
24619
|
+
- new permission
|
24620
|
+
' WHERE "users"."id" = 2
|
24621
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
24622
|
+
Completed 200 OK in 40ms (ActiveRecord: 11.8ms)
|
24623
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24625
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32658"]]
|
24626
|
+
[1m[36m (14.1ms)[0m [1mcommit transaction[0m
|
24627
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
24628
|
+
Processing by Api::UserController#reauth as HTML
|
24629
|
+
Parameters: {"uid"=>"a1s2d32658"}
|
24630
|
+
Completed 403 Forbidden in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
24631
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24632
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33247"]]
|
24633
|
+
[1m[35m (8.3ms)[0m commit transaction
|
24634
|
+
Processing by Api::UserController#reauth as HTML
|
24635
|
+
Parameters: {"uid"=>"a1s2d33247"}
|
24636
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33247' LIMIT 1[0m
|
24637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24638
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
24639
|
+
- signin
|
24640
|
+
' WHERE "users"."id" = 4[0m
|
24641
|
+
[1m[35m (23.3ms)[0m commit transaction
|
24642
|
+
Completed 200 OK in 26ms (ActiveRecord: 23.8ms)
|
24643
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
24644
|
+
Started GET "/" for 127.0.0.1 at 2013-03-20 15:08:16 +0000
|
24645
|
+
Processing by ExampleController#index as HTML
|
24646
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
24647
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:16 +0000
|
24648
|
+
Processing by ExampleController#restricted as HTML
|
24649
|
+
Authenticating with gds_sso strategy
|
24650
|
+
Completed in 122ms
|
24651
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:16 +0000
|
24652
|
+
Started GET "/auth/gds/callback?code=1e01bf0d8ba9fa2bd435c0b47bd3c24f66a60ab07c1d71cef766f48113676e0d&state=fb020d6d529739ff75569291da571b497ce14da5183e23a9" for 127.0.0.1 at 2013-03-20 15:08:17 +0000
|
24653
|
+
Processing by AuthenticationsController#callback as HTML
|
24654
|
+
Parameters: {"code"=>"1e01bf0d8ba9fa2bd435c0b47bd3c24f66a60ab07c1d71cef766f48113676e0d", "state"=>"fb020d6d529739ff75569291da571b497ce14da5183e23a9"}
|
24655
|
+
Authenticating with gds_sso strategy
|
24656
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24658
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
24659
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
24660
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24661
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
24662
|
+
- signin
|
24663
|
+
' WHERE "users"."id" = 5[0m
|
24664
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24665
|
+
Redirected to http://www.example-client.com/restricted
|
24666
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.0ms)
|
24667
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24668
|
+
Processing by ExampleController#restricted as HTML
|
24669
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24670
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
24671
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24672
|
+
Processing by ExampleController#restricted as HTML
|
24673
|
+
Authenticating with gds_sso strategy
|
24674
|
+
Completed in 0ms
|
24675
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24676
|
+
Started GET "/auth/gds/callback?code=200c7ad945edfa8315ec3ee3e035ff83b17bc8de8c866eeea37f9eb6d3681bbf&state=789ae442b58f28c1ed0eecd3ffd8ad4f6243a492a28c17d9" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24677
|
+
Processing by AuthenticationsController#callback as HTML
|
24678
|
+
Parameters: {"code"=>"200c7ad945edfa8315ec3ee3e035ff83b17bc8de8c866eeea37f9eb6d3681bbf", "state"=>"789ae442b58f28c1ed0eecd3ffd8ad4f6243a492a28c17d9"}
|
24679
|
+
Authenticating with gds_sso strategy
|
24680
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24682
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24683
|
+
- signin
|
24684
|
+
' WHERE "users"."id" = 5
|
24685
|
+
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
24686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24687
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24688
|
+
- signin
|
24689
|
+
' WHERE "users"."id" = 5[0m
|
24690
|
+
[1m[35m (1.9ms)[0m commit transaction
|
24691
|
+
Redirected to http://www.example-client.com/restricted
|
24692
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.5ms)
|
24693
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24694
|
+
Processing by ExampleController#restricted as HTML
|
24695
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24696
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
24697
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24698
|
+
Processing by ExampleController#restricted as HTML
|
24699
|
+
Authenticating with gds_sso strategy
|
24700
|
+
Completed in 0ms
|
24701
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24702
|
+
Started GET "/auth/gds/callback?code=bd7cf25f19652251bccd2aa290f4055ab5a0eaddf347b1249beafa7fec1d9cf9&state=bc1513cee8f6b6f2e44fbd475911bad76ddfb76fe9311d91" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24703
|
+
Processing by AuthenticationsController#callback as HTML
|
24704
|
+
Parameters: {"code"=>"bd7cf25f19652251bccd2aa290f4055ab5a0eaddf347b1249beafa7fec1d9cf9", "state"=>"bc1513cee8f6b6f2e44fbd475911bad76ddfb76fe9311d91"}
|
24705
|
+
Authenticating with gds_sso strategy
|
24706
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24708
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24709
|
+
- signin
|
24710
|
+
' WHERE "users"."id" = 5
|
24711
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
24712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24713
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24714
|
+
- signin
|
24715
|
+
' WHERE "users"."id" = 5[0m
|
24716
|
+
[1m[35m (2.4ms)[0m commit transaction
|
24717
|
+
Redirected to http://www.example-client.com/restricted
|
24718
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.0ms)
|
24719
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24720
|
+
Processing by ExampleController#restricted as HTML
|
24721
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24722
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
24723
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24724
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24725
|
+
Authenticating with gds_sso strategy
|
24726
|
+
Completed in 1ms
|
24727
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:18 +0000
|
24728
|
+
Started GET "/auth/gds/callback?code=4214deb72648cc166165cac38146f2a31ab61eede9d1b10af2f64b17d55696a5&state=9ee49aa352dd1abb54d9a00c32bcc4f0e6add9948efe2b22" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24729
|
+
Processing by AuthenticationsController#callback as HTML
|
24730
|
+
Parameters: {"code"=>"4214deb72648cc166165cac38146f2a31ab61eede9d1b10af2f64b17d55696a5", "state"=>"9ee49aa352dd1abb54d9a00c32bcc4f0e6add9948efe2b22"}
|
24731
|
+
Authenticating with gds_sso strategy
|
24732
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24733
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24734
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24735
|
+
- signin
|
24736
|
+
' WHERE "users"."id" = 5
|
24737
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
24738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24739
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24740
|
+
- signin
|
24741
|
+
' WHERE "users"."id" = 5[0m
|
24742
|
+
[1m[35m (2.1ms)[0m commit transaction
|
24743
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
24744
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.1ms)
|
24745
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24746
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24747
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24748
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
24749
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24750
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24751
|
+
Authenticating with gds_sso strategy
|
24752
|
+
Completed in 0ms
|
24753
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24754
|
+
Started GET "/auth/gds/callback?code=c651c3c70ca1b99e515054af73c2327de7dd2122a909f48e827ca2df3a2d60e5&state=2d7cd7a534edfbcad1de072a6813f0223a920d6a1330cd28" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24755
|
+
Processing by AuthenticationsController#callback as HTML
|
24756
|
+
Parameters: {"code"=>"c651c3c70ca1b99e515054af73c2327de7dd2122a909f48e827ca2df3a2d60e5", "state"=>"2d7cd7a534edfbcad1de072a6813f0223a920d6a1330cd28"}
|
24757
|
+
Authenticating with gds_sso strategy
|
24758
|
+
[1m[35mUser Load (68.9ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24759
|
+
[1m[36m (9.5ms)[0m [1mbegin transaction[0m
|
24760
|
+
[1m[35m (10.8ms)[0m UPDATE "users" SET "permissions" = '---
|
24761
|
+
- signin
|
24762
|
+
' WHERE "users"."id" = 5
|
24763
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
24764
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24765
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24766
|
+
- signin
|
24767
|
+
' WHERE "users"."id" = 5[0m
|
24768
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24769
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
24770
|
+
Completed 302 Found in 107ms (ActiveRecord: 101.3ms)
|
24771
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24772
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
24773
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24774
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
24775
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24776
|
+
Processing by ExampleController#restricted as HTML
|
24777
|
+
Authenticating with gds_sso strategy
|
24778
|
+
Completed in 0ms
|
24779
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:19 +0000
|
24780
|
+
Started GET "/auth/gds/callback?code=f788a33f51f54a575876c94f4fd48224b6e68ce329a2c43bf351342581d1b455&state=471e023b65b0b289acf696baf926ce759b1369120c1f25e4" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24781
|
+
Processing by AuthenticationsController#callback as HTML
|
24782
|
+
Parameters: {"code"=>"f788a33f51f54a575876c94f4fd48224b6e68ce329a2c43bf351342581d1b455", "state"=>"471e023b65b0b289acf696baf926ce759b1369120c1f25e4"}
|
24783
|
+
Authenticating with gds_sso strategy
|
24784
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24786
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24787
|
+
- signin
|
24788
|
+
' WHERE "users"."id" = 5
|
24789
|
+
[1m[36m (6.7ms)[0m [1mcommit transaction[0m
|
24790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24791
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24792
|
+
- signin
|
24793
|
+
' WHERE "users"."id" = 5[0m
|
24794
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24795
|
+
Redirected to http://www.example-client.com/restricted
|
24796
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.5ms)
|
24797
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24798
|
+
Processing by ExampleController#restricted as HTML
|
24799
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24800
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
24801
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24802
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24803
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
24804
|
+
- signin
|
24805
|
+
' WHERE "users"."id" = 5
|
24806
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
24807
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24808
|
+
Processing by ExampleController#restricted as HTML
|
24809
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24810
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
24811
|
+
Completed 403 Forbidden in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
24812
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24813
|
+
Processing by AuthenticationsController#sign_out as HTML
|
24814
|
+
Redirected to http://localhost:4567/users/sign_out
|
24815
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
24816
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24817
|
+
Processing by ExampleController#restricted as HTML
|
24818
|
+
Authenticating with gds_sso strategy
|
24819
|
+
Completed in 0ms
|
24820
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24821
|
+
Started GET "/auth/gds/callback?code=675faf583b19b7a70ce7fc62eae662c3121f3aa8d827dbe7c949f219624ef022&state=c788c6c27e4893e529fadeacc1d77f9d0c691bbb0d360e55" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24822
|
+
Processing by AuthenticationsController#callback as HTML
|
24823
|
+
Parameters: {"code"=>"675faf583b19b7a70ce7fc62eae662c3121f3aa8d827dbe7c949f219624ef022", "state"=>"c788c6c27e4893e529fadeacc1d77f9d0c691bbb0d360e55"}
|
24824
|
+
Authenticating with gds_sso strategy
|
24825
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24827
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24828
|
+
- signin
|
24829
|
+
' WHERE "users"."id" = 5[0m
|
24830
|
+
[1m[35m (9.3ms)[0m commit transaction
|
24831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24832
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
24833
|
+
- signin
|
24834
|
+
' WHERE "users"."id" = 5
|
24835
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
24836
|
+
Redirected to http://www.example-client.com/restricted
|
24837
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.3ms)
|
24838
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24839
|
+
Processing by ExampleController#restricted as HTML
|
24840
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24841
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
24842
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24843
|
+
Processing by ExampleController#restricted as HTML
|
24844
|
+
Authenticating with gds_sso strategy
|
24845
|
+
Completed in 0ms
|
24846
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24847
|
+
Started GET "/auth/gds/callback?code=b815327d3dbe547f3c088e5a326d90c75e99e46d2991fadf7200f33e4199b053&state=b90c426bde70537e81b5cbc7a693585949ca30e3cf9695c6" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24848
|
+
Processing by AuthenticationsController#callback as HTML
|
24849
|
+
Parameters: {"code"=>"b815327d3dbe547f3c088e5a326d90c75e99e46d2991fadf7200f33e4199b053", "state"=>"b90c426bde70537e81b5cbc7a693585949ca30e3cf9695c6"}
|
24850
|
+
Authenticating with gds_sso strategy
|
24851
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24853
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24854
|
+
- signin
|
24855
|
+
' WHERE "users"."id" = 5[0m
|
24856
|
+
[1m[35m (6.7ms)[0m commit transaction
|
24857
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24858
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24859
|
+
- signin
|
24860
|
+
' WHERE "users"."id" = 5
|
24861
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
24862
|
+
Redirected to http://www.example-client.com/restricted
|
24863
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.4ms)
|
24864
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:20 +0000
|
24865
|
+
Processing by ExampleController#restricted as HTML
|
24866
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24867
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
24868
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-21 11:13:20 +0000
|
24869
|
+
Processing by ExampleController#restricted as HTML
|
24870
|
+
Authenticating with gds_sso strategy
|
24871
|
+
Completed in 0ms
|
24872
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-21 11:13:20 +0000
|
24873
|
+
Started GET "/auth/gds/callback?code=69529418aa5c5e30a3abe9b4df39c55018a655b5c2237a4b9380a465b3b618ad&state=33190733896c63082de79825e0965ef4cc3221072de6a192" for 127.0.0.1 at 2013-03-21 11:13:20 +0000
|
24874
|
+
Processing by AuthenticationsController#callback as HTML
|
24875
|
+
Parameters: {"code"=>"69529418aa5c5e30a3abe9b4df39c55018a655b5c2237a4b9380a465b3b618ad", "state"=>"33190733896c63082de79825e0965ef4cc3221072de6a192"}
|
24876
|
+
Authenticating with gds_sso strategy
|
24877
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24878
|
+
[1m[35m (0.3ms)[0m begin transaction
|
24879
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24880
|
+
- signin
|
24881
|
+
' WHERE "users"."id" = 5[0m
|
24882
|
+
[1m[35m (8.9ms)[0m commit transaction
|
24883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24884
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24885
|
+
- signin
|
24886
|
+
' WHERE "users"."id" = 5
|
24887
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
24888
|
+
Redirected to http://www.example-client.com/restricted
|
24889
|
+
Completed 302 Found in 19ms (ActiveRecord: 12.8ms)
|
24890
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-21 11:13:21 +0000
|
24891
|
+
Processing by ExampleController#restricted as HTML
|
24892
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24893
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
24894
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24895
|
+
Processing by ExampleController#restricted as HTML
|
24896
|
+
Authenticating with gds_sso strategy
|
24897
|
+
Completed in 0ms
|
24898
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24899
|
+
Started GET "/auth/gds/callback?code=4264ff83edca094782aafeb28af4ef307b074362ded5d770c3cee5a12127fca0&state=8a2941d44b202f1a4573d0fe7ef5fd28f5590923d8c45833" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24900
|
+
Processing by AuthenticationsController#callback as HTML
|
24901
|
+
Parameters: {"code"=>"4264ff83edca094782aafeb28af4ef307b074362ded5d770c3cee5a12127fca0", "state"=>"8a2941d44b202f1a4573d0fe7ef5fd28f5590923d8c45833"}
|
24902
|
+
Authenticating with gds_sso strategy
|
24903
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24904
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24905
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24906
|
+
- signin
|
24907
|
+
' WHERE "users"."id" = 5[0m
|
24908
|
+
[1m[35m (8.2ms)[0m commit transaction
|
24909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24910
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24911
|
+
- signin
|
24912
|
+
' WHERE "users"."id" = 5
|
24913
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
24914
|
+
Redirected to http://www.example-client.com/restricted
|
24915
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.1ms)
|
24916
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24917
|
+
Processing by ExampleController#restricted as HTML
|
24918
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24919
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
24920
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-21 11:03:21 +0000
|
24921
|
+
Processing by ExampleController#restricted as HTML
|
24922
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24923
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
24924
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24925
|
+
Processing by ExampleController#restricted as JSON
|
24926
|
+
Authenticating with gds_sso_api_access strategy
|
24927
|
+
Completed in 14ms
|
24928
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24929
|
+
Processing by ExampleController#restricted as JSON
|
24930
|
+
Authenticating with gds_sso_api_access strategy
|
24931
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
24932
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24933
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
24934
|
+
Authenticating with gds_sso_api_access strategy
|
24935
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
24936
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24937
|
+
Processing by ExampleController#restricted as JSON
|
24938
|
+
Authenticating with gds_bearer_token strategy
|
24939
|
+
Completed in 9ms
|
24940
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24941
|
+
Processing by ExampleController#restricted as JSON
|
24942
|
+
Authenticating with gds_bearer_token strategy
|
24943
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
24944
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24945
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24946
|
+
- signin
|
24947
|
+
' WHERE "users"."id" = 5
|
24948
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
24949
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24950
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24951
|
+
- signin
|
24952
|
+
' WHERE "users"."id" = 5[0m
|
24953
|
+
[1m[35m (1.8ms)[0m commit transaction
|
24954
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 12.8ms)
|
24955
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:08:21 +0000
|
24956
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
24957
|
+
Authenticating with gds_bearer_token strategy
|
24958
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
24959
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24960
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
24961
|
+
- signin
|
24962
|
+
' WHERE "users"."id" = 5[0m
|
24963
|
+
[1m[35m (9.6ms)[0m commit transaction
|
24964
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24965
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
24966
|
+
- signin
|
24967
|
+
' WHERE "users"."id" = 5
|
24968
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
24969
|
+
Completed 200 OK in 58ms (Views: 0.6ms | ActiveRecord: 12.7ms)
|
24970
|
+
Connecting to database specified by database.yml
|
24971
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
24972
|
+
[1m[35m (23.4ms)[0m DROP TABLE "users"
|
24973
|
+
[1m[36m (2.2ms)[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
|
24974
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24975
|
+
[1m[36mSQL (18.6ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d32782"]]
|
24976
|
+
[1m[35m (17.4ms)[0m commit transaction
|
24977
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
24978
|
+
Processing by Api::UserController#update as HTML
|
24979
|
+
Parameters: {"uid"=>"a1s2d32782"}
|
24980
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (4.4ms)
|
24981
|
+
Completed 403 Forbidden in 120ms (Views: 119.4ms | ActiveRecord: 0.0ms)
|
24982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24983
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34624"]]
|
24984
|
+
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
24985
|
+
Processing by Api::UserController#update as HTML
|
24986
|
+
Parameters: {"uid"=>"a1s2d34624"}
|
24987
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34624' LIMIT 1
|
24988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24989
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
24990
|
+
- signin
|
24991
|
+
- new permission
|
24992
|
+
' WHERE "users"."id" = 2
|
24993
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
24994
|
+
Completed 200 OK in 21ms (ActiveRecord: 2.7ms)
|
24995
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24997
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35452"]]
|
24998
|
+
[1m[36m (12.0ms)[0m [1mcommit transaction[0m
|
24999
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
25000
|
+
Processing by Api::UserController#reauth as HTML
|
25001
|
+
Parameters: {"uid"=>"a1s2d35452"}
|
25002
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
25003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25004
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d31189"]]
|
25005
|
+
[1m[35m (12.3ms)[0m commit transaction
|
25006
|
+
Processing by Api::UserController#reauth as HTML
|
25007
|
+
Parameters: {"uid"=>"a1s2d31189"}
|
25008
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31189' LIMIT 1[0m
|
25009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25010
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
25011
|
+
- signin
|
25012
|
+
' WHERE "users"."id" = 4[0m
|
25013
|
+
[1m[35m (4.9ms)[0m commit transaction
|
25014
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.5ms)
|
25015
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
25016
|
+
Started GET "/" for 127.0.0.1 at 2013-03-20 15:10:36 +0000
|
25017
|
+
Processing by ExampleController#index as HTML
|
25018
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
25019
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:36 +0000
|
25020
|
+
Processing by ExampleController#restricted as HTML
|
25021
|
+
Authenticating with gds_sso strategy
|
25022
|
+
Completed in 65ms
|
25023
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:36 +0000
|
25024
|
+
Started GET "/auth/gds/callback?code=7ca4ef2acd4b31abc9899c677c63de770d4a68b578102c2e99eeaff438f2a6c2&state=731445e30be8d99b417072527156612e6e2b8fe874572978" for 127.0.0.1 at 2013-03-20 15:10:37 +0000
|
25025
|
+
Processing by AuthenticationsController#callback as HTML
|
25026
|
+
Parameters: {"code"=>"7ca4ef2acd4b31abc9899c677c63de770d4a68b578102c2e99eeaff438f2a6c2", "state"=>"731445e30be8d99b417072527156612e6e2b8fe874572978"}
|
25027
|
+
Authenticating with gds_sso strategy
|
25028
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25030
|
+
[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", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
25031
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
25032
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25033
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
25034
|
+
- signin
|
25035
|
+
' WHERE "users"."id" = 5[0m
|
25036
|
+
[1m[35m (1.9ms)[0m commit transaction
|
25037
|
+
Redirected to http://www.example-client.com/restricted
|
25038
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
25039
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:37 +0000
|
25040
|
+
Processing by ExampleController#restricted as HTML
|
25041
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25042
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
25043
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:37 +0000
|
25044
|
+
Processing by ExampleController#restricted as HTML
|
25045
|
+
Authenticating with gds_sso strategy
|
25046
|
+
Completed in 0ms
|
25047
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:37 +0000
|
25048
|
+
Started GET "/auth/gds/callback?code=60c12961d4833fe84231ac57f1b2ceba3cda557e57f55cb0157da0ccea069a49&state=bafdc90b84c9ed1da7aa612104fbb60c4e9e20b68277766b" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25049
|
+
Processing by AuthenticationsController#callback as HTML
|
25050
|
+
Parameters: {"code"=>"60c12961d4833fe84231ac57f1b2ceba3cda557e57f55cb0157da0ccea069a49", "state"=>"bafdc90b84c9ed1da7aa612104fbb60c4e9e20b68277766b"}
|
25051
|
+
Authenticating with gds_sso strategy
|
25052
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25053
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25054
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25055
|
+
- signin
|
25056
|
+
' WHERE "users"."id" = 5
|
25057
|
+
[1m[36m (6.7ms)[0m [1mcommit transaction[0m
|
25058
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25059
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25060
|
+
- signin
|
25061
|
+
' WHERE "users"."id" = 5[0m
|
25062
|
+
[1m[35m (2.6ms)[0m commit transaction
|
25063
|
+
Redirected to http://www.example-client.com/restricted
|
25064
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.3ms)
|
25065
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25066
|
+
Processing by ExampleController#restricted as HTML
|
25067
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25068
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
25069
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25070
|
+
Processing by ExampleController#restricted as HTML
|
25071
|
+
Authenticating with gds_sso strategy
|
25072
|
+
Completed in 0ms
|
25073
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25074
|
+
Started GET "/auth/gds/callback?code=047fef260691ee04e08949305ea90f79032fe9dccc3e369ac7bb71d1abb27f4b&state=165a5ba1bda8167c773c7b82f336e3808d6ebdb6beeb1da5" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25075
|
+
Processing by AuthenticationsController#callback as HTML
|
25076
|
+
Parameters: {"code"=>"047fef260691ee04e08949305ea90f79032fe9dccc3e369ac7bb71d1abb27f4b", "state"=>"165a5ba1bda8167c773c7b82f336e3808d6ebdb6beeb1da5"}
|
25077
|
+
Authenticating with gds_sso strategy
|
25078
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25079
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25080
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25081
|
+
- signin
|
25082
|
+
' WHERE "users"."id" = 5
|
25083
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
25084
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25085
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25086
|
+
- signin
|
25087
|
+
' WHERE "users"."id" = 5[0m
|
25088
|
+
[1m[35m (1.9ms)[0m commit transaction
|
25089
|
+
Redirected to http://www.example-client.com/restricted
|
25090
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.0ms)
|
25091
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25092
|
+
Processing by ExampleController#restricted as HTML
|
25093
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25094
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
25095
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25096
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25097
|
+
Authenticating with gds_sso strategy
|
25098
|
+
Completed in 1ms
|
25099
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25100
|
+
Started GET "/auth/gds/callback?code=d74f2cb75b28005246a86f48db803ae80851adcbd4eb003c31562585ed1cc1bf&state=4303a4fea7929a3e37bd23c9fc5ae09088a61ef7be29a62c" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25101
|
+
Processing by AuthenticationsController#callback as HTML
|
25102
|
+
Parameters: {"code"=>"d74f2cb75b28005246a86f48db803ae80851adcbd4eb003c31562585ed1cc1bf", "state"=>"4303a4fea7929a3e37bd23c9fc5ae09088a61ef7be29a62c"}
|
25103
|
+
Authenticating with gds_sso strategy
|
25104
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25106
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25107
|
+
- signin
|
25108
|
+
' WHERE "users"."id" = 5
|
25109
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
25110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25111
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25112
|
+
- signin
|
25113
|
+
' WHERE "users"."id" = 5[0m
|
25114
|
+
[1m[35m (2.3ms)[0m commit transaction
|
25115
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
25116
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.1ms)
|
25117
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25118
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25119
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25120
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
25121
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25122
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25123
|
+
Authenticating with gds_sso strategy
|
25124
|
+
Completed in 0ms
|
25125
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:38 +0000
|
25126
|
+
Started GET "/auth/gds/callback?code=087f14dfe277ccab328ac5de6044043ebbfb40781313b5ae8ccb2a6347f1fed9&state=a802a5354e34145791b45c146110313835cdaedcf5a101e6" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25127
|
+
Processing by AuthenticationsController#callback as HTML
|
25128
|
+
Parameters: {"code"=>"087f14dfe277ccab328ac5de6044043ebbfb40781313b5ae8ccb2a6347f1fed9", "state"=>"a802a5354e34145791b45c146110313835cdaedcf5a101e6"}
|
25129
|
+
Authenticating with gds_sso strategy
|
25130
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25132
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25133
|
+
- signin
|
25134
|
+
' WHERE "users"."id" = 5
|
25135
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
25136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25137
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25138
|
+
- signin
|
25139
|
+
' WHERE "users"."id" = 5[0m
|
25140
|
+
[1m[35m (2.0ms)[0m commit transaction
|
25141
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
25142
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.9ms)
|
25143
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25144
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25145
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25146
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
25147
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25148
|
+
Processing by ExampleController#restricted as HTML
|
25149
|
+
Authenticating with gds_sso strategy
|
25150
|
+
Completed in 0ms
|
25151
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25152
|
+
Started GET "/auth/gds/callback?code=8fbbf6b0a729ff050b2d952d633619f6017ffd25c682c7a6085faa7b36339499&state=4dc46e3258883cdfb754a469d998e0e1680ef9500aeefec6" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25153
|
+
Processing by AuthenticationsController#callback as HTML
|
25154
|
+
Parameters: {"code"=>"8fbbf6b0a729ff050b2d952d633619f6017ffd25c682c7a6085faa7b36339499", "state"=>"4dc46e3258883cdfb754a469d998e0e1680ef9500aeefec6"}
|
25155
|
+
Authenticating with gds_sso strategy
|
25156
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25158
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25159
|
+
- signin
|
25160
|
+
' WHERE "users"."id" = 5
|
25161
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
25162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25163
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25164
|
+
- signin
|
25165
|
+
' WHERE "users"."id" = 5[0m
|
25166
|
+
[1m[35m (2.1ms)[0m commit transaction
|
25167
|
+
Redirected to http://www.example-client.com/restricted
|
25168
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.0ms)
|
25169
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25170
|
+
Processing by ExampleController#restricted as HTML
|
25171
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25172
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
25173
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25175
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
25176
|
+
- signin
|
25177
|
+
' WHERE "users"."id" = 5
|
25178
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
25179
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25180
|
+
Processing by ExampleController#restricted as HTML
|
25181
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25182
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
25183
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
25184
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25185
|
+
Processing by AuthenticationsController#sign_out as HTML
|
25186
|
+
Redirected to http://localhost:4567/users/sign_out
|
25187
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
25188
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25189
|
+
Processing by ExampleController#restricted as HTML
|
25190
|
+
Authenticating with gds_sso strategy
|
25191
|
+
Completed in 0ms
|
25192
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25193
|
+
Started GET "/auth/gds/callback?code=442e4d096351dab580df3940d453cdde7e828134f1b984662e30652b9c46793c&state=a402b718b2a15060fa602c133cf0b7e718acf55e722ee3a0" for 127.0.0.1 at 2013-03-20 15:10:39 +0000
|
25194
|
+
Processing by AuthenticationsController#callback as HTML
|
25195
|
+
Parameters: {"code"=>"442e4d096351dab580df3940d453cdde7e828134f1b984662e30652b9c46793c", "state"=>"a402b718b2a15060fa602c133cf0b7e718acf55e722ee3a0"}
|
25196
|
+
Authenticating with gds_sso strategy
|
25197
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25198
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25199
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25200
|
+
- signin
|
25201
|
+
' WHERE "users"."id" = 5[0m
|
25202
|
+
[1m[35m (8.8ms)[0m commit transaction
|
25203
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25204
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
25205
|
+
- signin
|
25206
|
+
' WHERE "users"."id" = 5
|
25207
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
25208
|
+
Redirected to http://www.example-client.com/restricted
|
25209
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
|
25210
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25211
|
+
Processing by ExampleController#restricted as HTML
|
25212
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25213
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
25214
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25215
|
+
Processing by ExampleController#restricted as HTML
|
25216
|
+
Authenticating with gds_sso strategy
|
25217
|
+
Completed in 0ms
|
25218
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25219
|
+
Started GET "/auth/gds/callback?code=ab9e130dd26b64e905c5173997617de447570dd7f2361a6406330c9f1b95da7a&state=b49eeb6de021cd04af632c81027af1f510021d7653cdae60" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25220
|
+
Processing by AuthenticationsController#callback as HTML
|
25221
|
+
Parameters: {"code"=>"ab9e130dd26b64e905c5173997617de447570dd7f2361a6406330c9f1b95da7a", "state"=>"b49eeb6de021cd04af632c81027af1f510021d7653cdae60"}
|
25222
|
+
Authenticating with gds_sso strategy
|
25223
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25224
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25225
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25226
|
+
- signin
|
25227
|
+
' WHERE "users"."id" = 5[0m
|
25228
|
+
[1m[35m (7.3ms)[0m commit transaction
|
25229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25230
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25231
|
+
- signin
|
25232
|
+
' WHERE "users"."id" = 5
|
25233
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
25234
|
+
Redirected to http://www.example-client.com/restricted
|
25235
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.7ms)
|
25236
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25237
|
+
Processing by ExampleController#restricted as HTML
|
25238
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25239
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
25240
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-21 11:15:40 +0000
|
25241
|
+
Processing by ExampleController#restricted as HTML
|
25242
|
+
Authenticating with gds_sso strategy
|
25243
|
+
Completed in 0ms
|
25244
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-21 11:15:40 +0000
|
25245
|
+
Started GET "/auth/gds/callback?code=dfc19a37dc63fa3630bb2baa5af2fad7d4c68f8ca5a6434a04718b3c92db5cd1&state=b812b8e21d41c3b8d4b1b8ea33e296ab110e70dc319dabd1" for 127.0.0.1 at 2013-03-21 11:15:40 +0000
|
25246
|
+
Processing by AuthenticationsController#callback as HTML
|
25247
|
+
Parameters: {"code"=>"dfc19a37dc63fa3630bb2baa5af2fad7d4c68f8ca5a6434a04718b3c92db5cd1", "state"=>"b812b8e21d41c3b8d4b1b8ea33e296ab110e70dc319dabd1"}
|
25248
|
+
Authenticating with gds_sso strategy
|
25249
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25250
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25251
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25252
|
+
- signin
|
25253
|
+
' WHERE "users"."id" = 5[0m
|
25254
|
+
[1m[35m (9.3ms)[0m commit transaction
|
25255
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25256
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25257
|
+
- signin
|
25258
|
+
' WHERE "users"."id" = 5
|
25259
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
25260
|
+
Redirected to http://www.example-client.com/restricted
|
25261
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.4ms)
|
25262
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-21 11:15:40 +0000
|
25263
|
+
Processing by ExampleController#restricted as HTML
|
25264
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25265
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
25266
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25267
|
+
Processing by ExampleController#restricted as HTML
|
25268
|
+
Authenticating with gds_sso strategy
|
25269
|
+
Completed in 0ms
|
25270
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25271
|
+
Started GET "/auth/gds/callback?code=b4876550743315bc3f55121cbc3bc07435189c79a4f76d3f92db6825798aaeff&state=8b037ffa99565960988cad72683214275d6253b8b18262d1" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25272
|
+
Processing by AuthenticationsController#callback as HTML
|
25273
|
+
Parameters: {"code"=>"b4876550743315bc3f55121cbc3bc07435189c79a4f76d3f92db6825798aaeff", "state"=>"8b037ffa99565960988cad72683214275d6253b8b18262d1"}
|
25274
|
+
Authenticating with gds_sso strategy
|
25275
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25277
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25278
|
+
- signin
|
25279
|
+
' WHERE "users"."id" = 5[0m
|
25280
|
+
[1m[35m (8.8ms)[0m commit transaction
|
25281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25282
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25283
|
+
- signin
|
25284
|
+
' WHERE "users"."id" = 5
|
25285
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
25286
|
+
Redirected to http://www.example-client.com/restricted
|
25287
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.2ms)
|
25288
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:40 +0000
|
25289
|
+
Processing by ExampleController#restricted as HTML
|
25290
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25291
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
25292
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-21 11:05:40 +0000
|
25293
|
+
Processing by ExampleController#restricted as HTML
|
25294
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25295
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
25296
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:41 +0000
|
25297
|
+
Processing by ExampleController#restricted as JSON
|
25298
|
+
Authenticating with gds_sso_api_access strategy
|
25299
|
+
Completed in 13ms
|
25300
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:41 +0000
|
25301
|
+
Processing by ExampleController#restricted as JSON
|
25302
|
+
Authenticating with gds_sso_api_access strategy
|
25303
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
25304
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:10:41 +0000
|
25305
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
25306
|
+
Authenticating with gds_sso_api_access strategy
|
25307
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
25308
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:41 +0000
|
25309
|
+
Processing by ExampleController#restricted as JSON
|
25310
|
+
Authenticating with gds_bearer_token strategy
|
25311
|
+
Completed in 10ms
|
25312
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-03-20 15:10:41 +0000
|
25313
|
+
Processing by ExampleController#restricted as JSON
|
25314
|
+
Authenticating with gds_bearer_token strategy
|
25315
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25317
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25318
|
+
- signin
|
25319
|
+
' WHERE "users"."id" = 5
|
25320
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
25321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25322
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25323
|
+
- signin
|
25324
|
+
' WHERE "users"."id" = 5[0m
|
25325
|
+
[1m[35m (2.0ms)[0m commit transaction
|
25326
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 12.4ms)
|
25327
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-03-20 15:10:41 +0000
|
25328
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
25329
|
+
Authenticating with gds_bearer_token strategy
|
25330
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25331
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25332
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25333
|
+
- signin
|
25334
|
+
' WHERE "users"."id" = 5[0m
|
25335
|
+
[1m[35m (9.7ms)[0m commit transaction
|
25336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25337
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25338
|
+
- signin
|
25339
|
+
' WHERE "users"."id" = 5
|
25340
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
25341
|
+
Completed 200 OK in 67ms (Views: 0.6ms | ActiveRecord: 12.4ms)
|