gds-sso 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gds-sso/user.rb +1 -1
- data/lib/gds-sso/version.rb +1 -1
- data/lib/gds-sso/warden_config.rb +1 -1
- data/spec/fixtures/integration/signonotron2.sql +2 -2
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +3808 -0
- data/spec/requests/authentication_soot2.rb +1 -46
- data/spec/requests/end_to_end_spec.rb +0 -14
- metadata +4 -4
data/lib/gds-sso/user.rb
CHANGED
data/lib/gds-sso/version.rb
CHANGED
@@ -192,7 +192,7 @@ Warden::Strategies.add(:mock_gds_sso) do
|
|
192
192
|
# Brute force ensure test user has correct perms to signin
|
193
193
|
if ! test_user.has_permission?("signin")
|
194
194
|
permissions = test_user.permissions || []
|
195
|
-
test_user.update_attribute(:permissions, permissions <<
|
195
|
+
test_user.update_attribute(:permissions, permissions << "signin")
|
196
196
|
end
|
197
197
|
success!(test_user)
|
198
198
|
else
|
@@ -7,8 +7,8 @@ DELETE FROM `users`;
|
|
7
7
|
|
8
8
|
-- Setup fixture data
|
9
9
|
INSERT INTO `oauth_applications` VALUES (1,'GDS_SSO integration test','gds-sso-test','secret','http://www.example-client.com/auth/gds/callback','2012-04-19 13:26:54','2012-04-19 13:26:54', 'http://home.com', 'GDS_SSO integration test');
|
10
|
-
INSERT INTO `users` (id, email, encrypted_password, created_at, updated_at, confirmed_at, name, uid,
|
11
|
-
VALUES (1,'test@example-client.com','$2a$04$MdMkVFwTq5GLJJkHS8GLIe6dK1.C4ozzba5ZS5Ks2b/NenVsMGGRW','2012-04-19 13:26:54','2012-04-19 13:26:54','2012-04-19 13:26:54','Test User','integration-uid',
|
10
|
+
INSERT INTO `users` (id, email, encrypted_password, created_at, updated_at, confirmed_at, name, uid, role)
|
11
|
+
VALUES (1,'test@example-client.com','$2a$04$MdMkVFwTq5GLJJkHS8GLIe6dK1.C4ozzba5ZS5Ks2b/NenVsMGGRW','2012-04-19 13:26:54','2012-04-19 13:26:54','2012-04-19 13:26:54','Test User','integration-uid', "normal");
|
12
12
|
INSERT INTO `permissions` (id, user_id, application_id, permissions) VALUES (1,1,1,"---
|
13
13
|
- signin
|
14
14
|
");
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -11481,3 +11481,3811 @@ Authenticating with gds_bearer_token strategy
|
|
11481
11481
|
' WHERE "users"."id" = 6[0m
|
11482
11482
|
[1m[35m (2.5ms)[0m commit transaction
|
11483
11483
|
Completed 200 OK in 57ms (Views: 0.7ms | ActiveRecord: 11.8ms)
|
11484
|
+
Connecting to database specified by database.yml
|
11485
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
11486
|
+
[1m[35m (36.1ms)[0m CREATE 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)
|
11487
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11488
|
+
[1m[35m (3.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11489
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11490
|
+
[1m[35mSQL (84.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", "a1s2d3170"]]
|
11491
|
+
[1m[36m (19.2ms)[0m [1mcommit transaction[0m
|
11492
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
11493
|
+
Processing by Api::UserController#update as HTML
|
11494
|
+
Parameters: {"uid"=>"a1s2d3170"}
|
11495
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.1ms)
|
11496
|
+
Completed 403 Forbidden in 118ms (Views: 116.6ms | ActiveRecord: 0.0ms)
|
11497
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11498
|
+
[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", "a1s2d3442"]]
|
11499
|
+
[1m[35m (6.5ms)[0m commit transaction
|
11500
|
+
Processing by Api::UserController#update as HTML
|
11501
|
+
Parameters: {"uid"=>"a1s2d3442"}
|
11502
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3442' LIMIT 1[0m
|
11503
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11504
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
11505
|
+
- signin
|
11506
|
+
- new permission
|
11507
|
+
' WHERE "users"."id" = 2[0m
|
11508
|
+
[1m[35m (5.2ms)[0m commit transaction
|
11509
|
+
Completed 200 OK in 38ms (ActiveRecord: 5.9ms)
|
11510
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
11511
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11512
|
+
[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", "a1s2d34929"]]
|
11513
|
+
[1m[35m (13.5ms)[0m commit transaction
|
11514
|
+
Processing by Api::UserController#update as HTML
|
11515
|
+
Parameters: {"uid"=>"a1s2d34929"}
|
11516
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34929' LIMIT 1[0m
|
11517
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11518
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
11519
|
+
- signin
|
11520
|
+
- new permission
|
11521
|
+
' WHERE "users"."id" = 3[0m
|
11522
|
+
[1m[35m (13.3ms)[0m commit transaction
|
11523
|
+
Completed 200 OK in 17ms (ActiveRecord: 14.0ms)
|
11524
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
11525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11526
|
+
[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", "a1s2d38640"]]
|
11527
|
+
[1m[35m (6.3ms)[0m commit transaction
|
11528
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
11529
|
+
Processing by Api::UserController#reauth as HTML
|
11530
|
+
Parameters: {"uid"=>"a1s2d38640"}
|
11531
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
11532
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11533
|
+
[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", "a1s2d37523"]]
|
11534
|
+
[1m[36m (9.2ms)[0m [1mcommit transaction[0m
|
11535
|
+
Processing by Api::UserController#reauth as HTML
|
11536
|
+
Parameters: {"uid"=>"a1s2d37523"}
|
11537
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37523' LIMIT 1
|
11538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11539
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
11540
|
+
- signin
|
11541
|
+
' WHERE "users"."id" = 5
|
11542
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
11543
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
11544
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
11545
|
+
Started GET "/" for 127.0.0.1 at 2013-01-15 10:06:11 +0000
|
11546
|
+
Processing by ExampleController#index as HTML
|
11547
|
+
Completed 200 OK in 17ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
11548
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:11 +0000
|
11549
|
+
Processing by ExampleController#restricted as HTML
|
11550
|
+
Authenticating with gds_sso strategy
|
11551
|
+
Completed in 141ms
|
11552
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:11 +0000
|
11553
|
+
Started GET "/auth/gds/callback?code=c9127e96126b414fc29cdff874a1b3af011a94bfcfbe13e780c72e99f1ad402d&state=e35faf9179339c0012851808d8c221a70bfecd8e71649082" for 127.0.0.1 at 2013-01-15 10:06:14 +0000
|
11554
|
+
Processing by AuthenticationsController#callback as HTML
|
11555
|
+
Parameters: {"code"=>"c9127e96126b414fc29cdff874a1b3af011a94bfcfbe13e780c72e99f1ad402d", "state"=>"e35faf9179339c0012851808d8c221a70bfecd8e71649082"}
|
11556
|
+
Authenticating with gds_sso strategy
|
11557
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11558
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11559
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
11560
|
+
[1m[35m (24.2ms)[0m commit transaction
|
11561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11562
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
11563
|
+
- signin
|
11564
|
+
' WHERE "users"."id" = 6
|
11565
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
11566
|
+
Redirected to http://www.example-client.com/restricted
|
11567
|
+
Completed 302 Found in 33ms (ActiveRecord: 26.9ms)
|
11568
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:14 +0000
|
11569
|
+
Processing by ExampleController#restricted as HTML
|
11570
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11571
|
+
Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.2ms)
|
11572
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:14 +0000
|
11573
|
+
Processing by ExampleController#restricted as HTML
|
11574
|
+
Authenticating with gds_sso strategy
|
11575
|
+
Completed in 0ms
|
11576
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:14 +0000
|
11577
|
+
Started GET "/auth/gds/callback?code=e2df405c66dadf7c2a5d00aaf078c1cc4a66c92a0c7665f15a16c2562a1aaa77&state=f7a2ae9407e921a45d723428741ed658cfd30733b990adbe" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11578
|
+
Processing by AuthenticationsController#callback as HTML
|
11579
|
+
Parameters: {"code"=>"e2df405c66dadf7c2a5d00aaf078c1cc4a66c92a0c7665f15a16c2562a1aaa77", "state"=>"f7a2ae9407e921a45d723428741ed658cfd30733b990adbe"}
|
11580
|
+
Authenticating with gds_sso strategy
|
11581
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11582
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11583
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11584
|
+
- signin
|
11585
|
+
' WHERE "users"."id" = 6[0m
|
11586
|
+
[1m[35m (24.3ms)[0m commit transaction
|
11587
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11588
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11589
|
+
- signin
|
11590
|
+
' WHERE "users"."id" = 6
|
11591
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
11592
|
+
Redirected to http://www.example-client.com/restricted
|
11593
|
+
Completed 302 Found in 34ms (ActiveRecord: 27.8ms)
|
11594
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11595
|
+
Processing by ExampleController#restricted as HTML
|
11596
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11597
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11598
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11599
|
+
Processing by ExampleController#restricted as HTML
|
11600
|
+
Authenticating with gds_sso strategy
|
11601
|
+
Completed in 0ms
|
11602
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11603
|
+
Started GET "/auth/gds/callback?code=971f2e7184e59d70bc5f63ae43f3b3158cf52214a5bb17dd3ccd0a36148e9df8&state=d1ab5b50ff98c13d3e0a139a6bbee85387c87bbcf3592b52" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11604
|
+
Processing by AuthenticationsController#callback as HTML
|
11605
|
+
Parameters: {"code"=>"971f2e7184e59d70bc5f63ae43f3b3158cf52214a5bb17dd3ccd0a36148e9df8", "state"=>"d1ab5b50ff98c13d3e0a139a6bbee85387c87bbcf3592b52"}
|
11606
|
+
Authenticating with gds_sso strategy
|
11607
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11608
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11609
|
+
[1m[36m (10.1ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11610
|
+
- signin
|
11611
|
+
' WHERE "users"."id" = 6[0m
|
11612
|
+
[1m[35m (5.4ms)[0m commit transaction
|
11613
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11614
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11615
|
+
- signin
|
11616
|
+
' WHERE "users"."id" = 6
|
11617
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
11618
|
+
Redirected to http://www.example-client.com/restricted
|
11619
|
+
Completed 302 Found in 23ms (ActiveRecord: 18.0ms)
|
11620
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11621
|
+
Processing by ExampleController#restricted as HTML
|
11622
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11623
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
11624
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11625
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
11626
|
+
Authenticating with gds_sso strategy
|
11627
|
+
Completed in 1ms
|
11628
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:15 +0000
|
11629
|
+
Started GET "/auth/gds/callback?code=f35444aa8a495a34c7b916afce7c022fcf7e7e8a3f8ab5950687fc1efe9e42d4&state=88aa48f135941befa8733aaab7ec654d5e75a876341e34c9" for 127.0.0.1 at 2013-01-15 10:06:16 +0000
|
11630
|
+
Processing by AuthenticationsController#callback as HTML
|
11631
|
+
Parameters: {"code"=>"f35444aa8a495a34c7b916afce7c022fcf7e7e8a3f8ab5950687fc1efe9e42d4", "state"=>"88aa48f135941befa8733aaab7ec654d5e75a876341e34c9"}
|
11632
|
+
Authenticating with gds_sso strategy
|
11633
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11635
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11636
|
+
- signin
|
11637
|
+
' WHERE "users"."id" = 6[0m
|
11638
|
+
[1m[35m (14.9ms)[0m commit transaction
|
11639
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11640
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
11641
|
+
- signin
|
11642
|
+
' WHERE "users"."id" = 6
|
11643
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
11644
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
11645
|
+
Completed 302 Found in 23ms (ActiveRecord: 18.2ms)
|
11646
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 10:06:16 +0000
|
11647
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
11648
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11649
|
+
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.2ms)
|
11650
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 10:06:16 +0000
|
11651
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
11652
|
+
Authenticating with gds_sso strategy
|
11653
|
+
Completed in 0ms
|
11654
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:16 +0000
|
11655
|
+
Started GET "/auth/gds/callback?code=951d56fea7c14cd32a29247fe86fed23b0175ebe475720a8bd788cfb8e534a8a&state=71b01099d0834ea669da64c4a55dd552b08b16d4cad6bb86" for 127.0.0.1 at 2013-01-15 10:06:16 +0000
|
11656
|
+
Processing by AuthenticationsController#callback as HTML
|
11657
|
+
Parameters: {"code"=>"951d56fea7c14cd32a29247fe86fed23b0175ebe475720a8bd788cfb8e534a8a", "state"=>"71b01099d0834ea669da64c4a55dd552b08b16d4cad6bb86"}
|
11658
|
+
Authenticating with gds_sso strategy
|
11659
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11660
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11661
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11662
|
+
- signin
|
11663
|
+
' WHERE "users"."id" = 6[0m
|
11664
|
+
[1m[35m (16.4ms)[0m commit transaction
|
11665
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11666
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11667
|
+
- signin
|
11668
|
+
' WHERE "users"."id" = 6
|
11669
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
11670
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
11671
|
+
Completed 302 Found in 23ms (ActiveRecord: 19.1ms)
|
11672
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 10:06:16 +0000
|
11673
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
11674
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11675
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
11676
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:17 +0000
|
11677
|
+
Processing by ExampleController#restricted as HTML
|
11678
|
+
Authenticating with gds_sso strategy
|
11679
|
+
Completed in 0ms
|
11680
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:17 +0000
|
11681
|
+
Started GET "/auth/gds/callback?code=c1982ce2b64bdf8444788983867f1db75b3acac6de3a56fdfa4337312ed3be8e&state=5373993b9742da5587ced3893c95b8235e06f7cac644edec" for 127.0.0.1 at 2013-01-15 10:06:17 +0000
|
11682
|
+
Processing by AuthenticationsController#callback as HTML
|
11683
|
+
Parameters: {"code"=>"c1982ce2b64bdf8444788983867f1db75b3acac6de3a56fdfa4337312ed3be8e", "state"=>"5373993b9742da5587ced3893c95b8235e06f7cac644edec"}
|
11684
|
+
Authenticating with gds_sso strategy
|
11685
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11687
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11688
|
+
- signin
|
11689
|
+
' WHERE "users"."id" = 6[0m
|
11690
|
+
[1m[35m (23.9ms)[0m commit transaction
|
11691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11692
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11693
|
+
- signin
|
11694
|
+
' WHERE "users"."id" = 6
|
11695
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
11696
|
+
Redirected to http://www.example-client.com/restricted
|
11697
|
+
Completed 302 Found in 34ms (ActiveRecord: 27.9ms)
|
11698
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:17 +0000
|
11699
|
+
Processing by ExampleController#restricted as HTML
|
11700
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11701
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
11702
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11704
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
11705
|
+
- signin
|
11706
|
+
' WHERE "users"."id" = 6[0m
|
11707
|
+
[1m[35m (15.9ms)[0m commit transaction
|
11708
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:17 +0000
|
11709
|
+
Processing by ExampleController#restricted as HTML
|
11710
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11711
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
11712
|
+
Completed 403 Forbidden in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
11713
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-15 10:06:17 +0000
|
11714
|
+
Processing by AuthenticationsController#sign_out as HTML
|
11715
|
+
Redirected to http://localhost:4567/users/sign_out
|
11716
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
11717
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11718
|
+
Processing by ExampleController#restricted as HTML
|
11719
|
+
Authenticating with gds_sso strategy
|
11720
|
+
Completed in 0ms
|
11721
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11722
|
+
Started GET "/auth/gds/callback?code=378468224f6fd66341f1b527fe2e86c764d763d504152905b3ebb5653e57a1c9&state=4c46806c023648f3816cc706fcb3c5572d28efba45497d4e" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11723
|
+
Processing by AuthenticationsController#callback as HTML
|
11724
|
+
Parameters: {"code"=>"378468224f6fd66341f1b527fe2e86c764d763d504152905b3ebb5653e57a1c9", "state"=>"4c46806c023648f3816cc706fcb3c5572d28efba45497d4e"}
|
11725
|
+
Authenticating with gds_sso strategy
|
11726
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11728
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11729
|
+
- signin
|
11730
|
+
' WHERE "users"."id" = 6
|
11731
|
+
[1m[36m (14.5ms)[0m [1mcommit transaction[0m
|
11732
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11733
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
11734
|
+
- signin
|
11735
|
+
' WHERE "users"."id" = 6[0m
|
11736
|
+
[1m[35m (1.9ms)[0m commit transaction
|
11737
|
+
Redirected to http://www.example-client.com/restricted
|
11738
|
+
Completed 302 Found in 22ms (ActiveRecord: 17.2ms)
|
11739
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11740
|
+
Processing by ExampleController#restricted as HTML
|
11741
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11742
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
11743
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11744
|
+
Processing by ExampleController#restricted as HTML
|
11745
|
+
Authenticating with gds_sso strategy
|
11746
|
+
Completed in 0ms
|
11747
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11748
|
+
Started GET "/auth/gds/callback?code=55bb8fa59d133b8a67a0cb99117ba1ad899ca51a29bf0fb21a4fb8924e295847&state=49e2301286900397343348f6a6a923b75a5024f25b6d955d" for 127.0.0.1 at 2013-01-15 10:06:18 +0000
|
11749
|
+
Processing by AuthenticationsController#callback as HTML
|
11750
|
+
Parameters: {"code"=>"55bb8fa59d133b8a67a0cb99117ba1ad899ca51a29bf0fb21a4fb8924e295847", "state"=>"49e2301286900397343348f6a6a923b75a5024f25b6d955d"}
|
11751
|
+
Authenticating with gds_sso strategy
|
11752
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11753
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11754
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11755
|
+
- signin
|
11756
|
+
' WHERE "users"."id" = 6
|
11757
|
+
[1m[36m (17.5ms)[0m [1mcommit transaction[0m
|
11758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11759
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11760
|
+
- signin
|
11761
|
+
' WHERE "users"."id" = 6[0m
|
11762
|
+
[1m[35m (2.1ms)[0m commit transaction
|
11763
|
+
Redirected to http://www.example-client.com/restricted
|
11764
|
+
Completed 302 Found in 26ms (ActiveRecord: 20.6ms)
|
11765
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11766
|
+
Processing by ExampleController#restricted as HTML
|
11767
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11768
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
11769
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 06:11:19 +0000
|
11770
|
+
Processing by ExampleController#restricted as HTML
|
11771
|
+
Authenticating with gds_sso strategy
|
11772
|
+
Completed in 0ms
|
11773
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 06:11:19 +0000
|
11774
|
+
Started GET "/auth/gds/callback?code=99df2339ed7f8a19b34e403127d794e92d41851d78db6d38bb42ffca3e8cfc7d&state=d240b64b0dc50abd7fe96f12f0a8e53945de24854ab37b40" for 127.0.0.1 at 2013-01-16 06:11:19 +0000
|
11775
|
+
Processing by AuthenticationsController#callback as HTML
|
11776
|
+
Parameters: {"code"=>"99df2339ed7f8a19b34e403127d794e92d41851d78db6d38bb42ffca3e8cfc7d", "state"=>"d240b64b0dc50abd7fe96f12f0a8e53945de24854ab37b40"}
|
11777
|
+
Authenticating with gds_sso strategy
|
11778
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11780
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11781
|
+
- signin
|
11782
|
+
' WHERE "users"."id" = 6
|
11783
|
+
[1m[36m (14.0ms)[0m [1mcommit transaction[0m
|
11784
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11785
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11786
|
+
- signin
|
11787
|
+
' WHERE "users"."id" = 6[0m
|
11788
|
+
[1m[35m (1.9ms)[0m commit transaction
|
11789
|
+
Redirected to http://www.example-client.com/restricted
|
11790
|
+
Completed 302 Found in 21ms (ActiveRecord: 16.7ms)
|
11791
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 06:11:19 +0000
|
11792
|
+
Processing by ExampleController#restricted as HTML
|
11793
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11794
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
11795
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11796
|
+
Processing by ExampleController#restricted as HTML
|
11797
|
+
Authenticating with gds_sso strategy
|
11798
|
+
Completed in 0ms
|
11799
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11800
|
+
Started GET "/auth/gds/callback?code=75acbd742ab0323147c510ec04ee5a77ed14f50c54598b9df9e7fa2e66074182&state=01e43f552e15675fa7e06a07f37ab2a5666b2afb22d6fc45" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11801
|
+
Processing by AuthenticationsController#callback as HTML
|
11802
|
+
Parameters: {"code"=>"75acbd742ab0323147c510ec04ee5a77ed14f50c54598b9df9e7fa2e66074182", "state"=>"01e43f552e15675fa7e06a07f37ab2a5666b2afb22d6fc45"}
|
11803
|
+
Authenticating with gds_sso strategy
|
11804
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11805
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11806
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11807
|
+
- signin
|
11808
|
+
' WHERE "users"."id" = 6
|
11809
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
11810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11811
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11812
|
+
- signin
|
11813
|
+
' WHERE "users"."id" = 6[0m
|
11814
|
+
[1m[35m (2.1ms)[0m commit transaction
|
11815
|
+
Redirected to http://www.example-client.com/restricted
|
11816
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.2ms)
|
11817
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11818
|
+
Processing by ExampleController#restricted as HTML
|
11819
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11820
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
11821
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 06:01:19 +0000
|
11822
|
+
Processing by ExampleController#restricted as HTML
|
11823
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11824
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
11825
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11826
|
+
Processing by ExampleController#restricted as JSON
|
11827
|
+
Authenticating with gds_sso_api_access strategy
|
11828
|
+
Completed in 66ms
|
11829
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11830
|
+
Processing by ExampleController#restricted as JSON
|
11831
|
+
Authenticating with gds_sso_api_access strategy
|
11832
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
11833
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 10:06:19 +0000
|
11834
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
11835
|
+
Authenticating with gds_sso_api_access strategy
|
11836
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
11837
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:20 +0000
|
11838
|
+
Processing by ExampleController#restricted as JSON
|
11839
|
+
Authenticating with gds_bearer_token strategy
|
11840
|
+
Completed in 9ms
|
11841
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:06:20 +0000
|
11842
|
+
Processing by ExampleController#restricted as JSON
|
11843
|
+
Authenticating with gds_bearer_token strategy
|
11844
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11845
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11846
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11847
|
+
- signin
|
11848
|
+
' WHERE "users"."id" = 6[0m
|
11849
|
+
[1m[35m (8.8ms)[0m commit transaction
|
11850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11851
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11852
|
+
- signin
|
11853
|
+
' WHERE "users"."id" = 6
|
11854
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
11855
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 11.6ms)
|
11856
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 10:06:20 +0000
|
11857
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
11858
|
+
Authenticating with gds_bearer_token strategy
|
11859
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11860
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11861
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11862
|
+
- signin
|
11863
|
+
' WHERE "users"."id" = 6
|
11864
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
11865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11866
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11867
|
+
- signin
|
11868
|
+
' WHERE "users"."id" = 6[0m
|
11869
|
+
[1m[35m (1.9ms)[0m commit transaction
|
11870
|
+
Completed 200 OK in 57ms (Views: 0.7ms | ActiveRecord: 11.5ms)
|
11871
|
+
Connecting to database specified by database.yml
|
11872
|
+
[1m[36m (3.5ms)[0m [1mselect sqlite_version(*)[0m
|
11873
|
+
[1m[35m (16.8ms)[0m CREATE 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)
|
11874
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11875
|
+
[1m[35m (2.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11877
|
+
[1m[35mSQL (82.4ms)[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", "a1s2d38272"]]
|
11878
|
+
[1m[36m (16.7ms)[0m [1mcommit transaction[0m
|
11879
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
11880
|
+
Processing by Api::UserController#update as HTML
|
11881
|
+
Parameters: {"uid"=>"a1s2d38272"}
|
11882
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.1ms)
|
11883
|
+
Completed 403 Forbidden in 117ms (Views: 116.3ms | ActiveRecord: 0.0ms)
|
11884
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11885
|
+
[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", "a1s2d39730"]]
|
11886
|
+
[1m[35m (4.8ms)[0m commit transaction
|
11887
|
+
Processing by Api::UserController#update as HTML
|
11888
|
+
Parameters: {"uid"=>"a1s2d39730"}
|
11889
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39730' LIMIT 1[0m
|
11890
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11891
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
11892
|
+
- signin
|
11893
|
+
- new permission
|
11894
|
+
' WHERE "users"."id" = 2[0m
|
11895
|
+
[1m[35m (2.2ms)[0m commit transaction
|
11896
|
+
Completed 200 OK in 40ms (ActiveRecord: 2.9ms)
|
11897
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
11898
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11899
|
+
[1m[36mSQL (0.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", "a1s2d32044"]]
|
11900
|
+
[1m[35m (11.4ms)[0m commit transaction
|
11901
|
+
Processing by Api::UserController#update as HTML
|
11902
|
+
Parameters: {"uid"=>"a1s2d32044"}
|
11903
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32044' LIMIT 1[0m
|
11904
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11905
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
11906
|
+
- signin
|
11907
|
+
- new permission
|
11908
|
+
' WHERE "users"."id" = 3[0m
|
11909
|
+
[1m[35m (5.6ms)[0m commit transaction
|
11910
|
+
Completed 200 OK in 9ms (ActiveRecord: 6.0ms)
|
11911
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
11912
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11913
|
+
[1m[36mSQL (0.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", "a1s2d34268"]]
|
11914
|
+
[1m[35m (6.2ms)[0m commit transaction
|
11915
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
11916
|
+
Processing by Api::UserController#reauth as HTML
|
11917
|
+
Parameters: {"uid"=>"a1s2d34268"}
|
11918
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
11919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11920
|
+
[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", "a1s2d32801"]]
|
11921
|
+
[1m[36m (13.2ms)[0m [1mcommit transaction[0m
|
11922
|
+
Processing by Api::UserController#reauth as HTML
|
11923
|
+
Parameters: {"uid"=>"a1s2d32801"}
|
11924
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32801' LIMIT 1
|
11925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11926
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
11927
|
+
- signin
|
11928
|
+
' WHERE "users"."id" = 5
|
11929
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
11930
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
11931
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
11932
|
+
Started GET "/" for 127.0.0.1 at 2013-01-15 15:45:17 +0000
|
11933
|
+
Processing by ExampleController#index as HTML
|
11934
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
11935
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:17 +0000
|
11936
|
+
Processing by ExampleController#restricted as HTML
|
11937
|
+
Authenticating with gds_sso strategy
|
11938
|
+
Completed in 62ms
|
11939
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:17 +0000
|
11940
|
+
Started GET "/auth/gds/callback?code=964674a7a671d3b57d1093454792b72eae0ab3c5a73c1a47ca9302ecd3023367&state=a078e263ba2ba39683038b7b41d384127708ceb96445dfbf" for 127.0.0.1 at 2013-01-15 15:45:18 +0000
|
11941
|
+
Processing by AuthenticationsController#callback as HTML
|
11942
|
+
Parameters: {"code"=>"964674a7a671d3b57d1093454792b72eae0ab3c5a73c1a47ca9302ecd3023367", "state"=>"a078e263ba2ba39683038b7b41d384127708ceb96445dfbf"}
|
11943
|
+
Authenticating with gds_sso strategy
|
11944
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11946
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
11947
|
+
[1m[35m (5.5ms)[0m commit transaction
|
11948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11949
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
11950
|
+
- signin
|
11951
|
+
' WHERE "users"."id" = 6
|
11952
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
11953
|
+
Redirected to http://www.example-client.com/restricted
|
11954
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.3ms)
|
11955
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:18 +0000
|
11956
|
+
Processing by ExampleController#restricted as HTML
|
11957
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11958
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
11959
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11960
|
+
Processing by ExampleController#restricted as HTML
|
11961
|
+
Authenticating with gds_sso strategy
|
11962
|
+
Completed in 0ms
|
11963
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11964
|
+
Started GET "/auth/gds/callback?code=f6dc04ae272ee8b8556da97afe70b9111c89ef6a0d0c589493b24b708125bd52&state=132fa31e9127d44fda9e6673a84c9c2e9998e3d6f554d0d6" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11965
|
+
Processing by AuthenticationsController#callback as HTML
|
11966
|
+
Parameters: {"code"=>"f6dc04ae272ee8b8556da97afe70b9111c89ef6a0d0c589493b24b708125bd52", "state"=>"132fa31e9127d44fda9e6673a84c9c2e9998e3d6f554d0d6"}
|
11967
|
+
Authenticating with gds_sso strategy
|
11968
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11970
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11971
|
+
- signin
|
11972
|
+
' WHERE "users"."id" = 6[0m
|
11973
|
+
[1m[35m (6.4ms)[0m commit transaction
|
11974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
11975
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
11976
|
+
- signin
|
11977
|
+
' WHERE "users"."id" = 6
|
11978
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
11979
|
+
Redirected to http://www.example-client.com/restricted
|
11980
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.3ms)
|
11981
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11982
|
+
Processing by ExampleController#restricted as HTML
|
11983
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
11984
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
11985
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11986
|
+
Processing by ExampleController#restricted as HTML
|
11987
|
+
Authenticating with gds_sso strategy
|
11988
|
+
Completed in 0ms
|
11989
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11990
|
+
Started GET "/auth/gds/callback?code=44fdb045b8925a2441be383f58b7f7212fc80a67944aeee7bbef7170fd807bc9&state=769723fea18b450ba6ffcd27505dbcb12b2e8b0448aa06c0" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
11991
|
+
Processing by AuthenticationsController#callback as HTML
|
11992
|
+
Parameters: {"code"=>"44fdb045b8925a2441be383f58b7f7212fc80a67944aeee7bbef7170fd807bc9", "state"=>"769723fea18b450ba6ffcd27505dbcb12b2e8b0448aa06c0"}
|
11993
|
+
Authenticating with gds_sso strategy
|
11994
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
11995
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11996
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
11997
|
+
- signin
|
11998
|
+
' WHERE "users"."id" = 6[0m
|
11999
|
+
[1m[35m (4.1ms)[0m commit transaction
|
12000
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12001
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12002
|
+
- signin
|
12003
|
+
' WHERE "users"."id" = 6
|
12004
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
12005
|
+
Redirected to http://www.example-client.com/restricted
|
12006
|
+
Completed 302 Found in 11ms (ActiveRecord: 6.7ms)
|
12007
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
12008
|
+
Processing by ExampleController#restricted as HTML
|
12009
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12010
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
12011
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
12012
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12013
|
+
Authenticating with gds_sso strategy
|
12014
|
+
Completed in 1ms
|
12015
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:19 +0000
|
12016
|
+
Started GET "/auth/gds/callback?code=b4a29fb05af806510573e21af029a697b5c9ca8f339f98d85a7a912d5d0b0efb&state=e9ac046f9fea96d74655282c2203170cde580ef975935d3d" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12017
|
+
Processing by AuthenticationsController#callback as HTML
|
12018
|
+
Parameters: {"code"=>"b4a29fb05af806510573e21af029a697b5c9ca8f339f98d85a7a912d5d0b0efb", "state"=>"e9ac046f9fea96d74655282c2203170cde580ef975935d3d"}
|
12019
|
+
Authenticating with gds_sso strategy
|
12020
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12022
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12023
|
+
- signin
|
12024
|
+
' WHERE "users"."id" = 6[0m
|
12025
|
+
[1m[35m (7.5ms)[0m commit transaction
|
12026
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12027
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
12028
|
+
- signin
|
12029
|
+
' WHERE "users"."id" = 6
|
12030
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
12031
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
12032
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
12033
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12034
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12035
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12036
|
+
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
|
12037
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12038
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12039
|
+
Authenticating with gds_sso strategy
|
12040
|
+
Completed in 0ms
|
12041
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12042
|
+
Started GET "/auth/gds/callback?code=70331f4138546044d021a48dbb778ef607d6abdc22935d6096f11a7a5751425e&state=648dc2b39fcd0fc59f4e17a6edce987cabc778095648adfc" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12043
|
+
Processing by AuthenticationsController#callback as HTML
|
12044
|
+
Parameters: {"code"=>"70331f4138546044d021a48dbb778ef607d6abdc22935d6096f11a7a5751425e", "state"=>"648dc2b39fcd0fc59f4e17a6edce987cabc778095648adfc"}
|
12045
|
+
Authenticating with gds_sso strategy
|
12046
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12047
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12048
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12049
|
+
- signin
|
12050
|
+
' WHERE "users"."id" = 6[0m
|
12051
|
+
[1m[35m (9.2ms)[0m commit transaction
|
12052
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12053
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12054
|
+
- signin
|
12055
|
+
' WHERE "users"."id" = 6
|
12056
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
12057
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
12058
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.8ms)
|
12059
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12060
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12061
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12062
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
12063
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12064
|
+
Processing by ExampleController#restricted as HTML
|
12065
|
+
Authenticating with gds_sso strategy
|
12066
|
+
Completed in 0ms
|
12067
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12068
|
+
Started GET "/auth/gds/callback?code=21a4f4f9397868fc752459f5af9ec173e9214f49eacad87de64a0992ae645e57&state=53ce958ea950edc9e5c842961b44e350ba8fdf132557a3c1" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12069
|
+
Processing by AuthenticationsController#callback as HTML
|
12070
|
+
Parameters: {"code"=>"21a4f4f9397868fc752459f5af9ec173e9214f49eacad87de64a0992ae645e57", "state"=>"53ce958ea950edc9e5c842961b44e350ba8fdf132557a3c1"}
|
12071
|
+
Authenticating with gds_sso strategy
|
12072
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12074
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12075
|
+
- signin
|
12076
|
+
' WHERE "users"."id" = 6[0m
|
12077
|
+
[1m[35m (6.8ms)[0m commit transaction
|
12078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12079
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
12080
|
+
- signin
|
12081
|
+
' WHERE "users"."id" = 6
|
12082
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
12083
|
+
Redirected to http://www.example-client.com/restricted
|
12084
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.6ms)
|
12085
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12086
|
+
Processing by ExampleController#restricted as HTML
|
12087
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12088
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
12089
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12091
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
12092
|
+
- signin
|
12093
|
+
' WHERE "users"."id" = 6[0m
|
12094
|
+
[1m[35m (2.0ms)[0m commit transaction
|
12095
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12096
|
+
Processing by ExampleController#restricted as HTML
|
12097
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12098
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
12099
|
+
Completed 403 Forbidden in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
12100
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-15 15:45:20 +0000
|
12101
|
+
Processing by AuthenticationsController#sign_out as HTML
|
12102
|
+
Redirected to http://localhost:4567/users/sign_out
|
12103
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
12104
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12105
|
+
Processing by ExampleController#restricted as HTML
|
12106
|
+
Authenticating with gds_sso strategy
|
12107
|
+
Completed in 0ms
|
12108
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12109
|
+
Started GET "/auth/gds/callback?code=e458d4234cf1545952a49a6c3e712ca00a429177711cc4784fb23a478c51c1a0&state=6c14cd8e3ada1e6e6a403ffe3a2ff0ac6b928a7299327462" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12110
|
+
Processing by AuthenticationsController#callback as HTML
|
12111
|
+
Parameters: {"code"=>"e458d4234cf1545952a49a6c3e712ca00a429177711cc4784fb23a478c51c1a0", "state"=>"6c14cd8e3ada1e6e6a403ffe3a2ff0ac6b928a7299327462"}
|
12112
|
+
Authenticating with gds_sso strategy
|
12113
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12115
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12116
|
+
- signin
|
12117
|
+
' WHERE "users"."id" = 6
|
12118
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
12119
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12120
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
12121
|
+
- signin
|
12122
|
+
' WHERE "users"."id" = 6[0m
|
12123
|
+
[1m[35m (1.9ms)[0m commit transaction
|
12124
|
+
Redirected to http://www.example-client.com/restricted
|
12125
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.8ms)
|
12126
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12127
|
+
Processing by ExampleController#restricted as HTML
|
12128
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12129
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
12130
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12131
|
+
Processing by ExampleController#restricted as HTML
|
12132
|
+
Authenticating with gds_sso strategy
|
12133
|
+
Completed in 0ms
|
12134
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12135
|
+
Started GET "/auth/gds/callback?code=866791456d72fb5dc677433c1e09228f2253e54eb7560614de5748cced8990fd&state=26fcdfeb03bef574ef7b04f7adaa08717b24c1a7f56faa41" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12136
|
+
Processing by AuthenticationsController#callback as HTML
|
12137
|
+
Parameters: {"code"=>"866791456d72fb5dc677433c1e09228f2253e54eb7560614de5748cced8990fd", "state"=>"26fcdfeb03bef574ef7b04f7adaa08717b24c1a7f56faa41"}
|
12138
|
+
Authenticating with gds_sso strategy
|
12139
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12140
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12141
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12142
|
+
- signin
|
12143
|
+
' WHERE "users"."id" = 6
|
12144
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
12145
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12146
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12147
|
+
- signin
|
12148
|
+
' WHERE "users"."id" = 6[0m
|
12149
|
+
[1m[35m (2.0ms)[0m commit transaction
|
12150
|
+
Redirected to http://www.example-client.com/restricted
|
12151
|
+
Completed 302 Found in 14ms (ActiveRecord: 8.9ms)
|
12152
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:21 +0000
|
12153
|
+
Processing by ExampleController#restricted as HTML
|
12154
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12155
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
12156
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 11:50:21 +0000
|
12157
|
+
Processing by ExampleController#restricted as HTML
|
12158
|
+
Authenticating with gds_sso strategy
|
12159
|
+
Completed in 0ms
|
12160
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 11:50:21 +0000
|
12161
|
+
Started GET "/auth/gds/callback?code=f83f42f835e6474ca1b0c3b045753d7fb375202f645d88170861487702128371&state=c43ab66d70163e34aad4492d353da978ce24a73822e0f9b5" for 127.0.0.1 at 2013-01-16 11:50:21 +0000
|
12162
|
+
Processing by AuthenticationsController#callback as HTML
|
12163
|
+
Parameters: {"code"=>"f83f42f835e6474ca1b0c3b045753d7fb375202f645d88170861487702128371", "state"=>"c43ab66d70163e34aad4492d353da978ce24a73822e0f9b5"}
|
12164
|
+
Authenticating with gds_sso strategy
|
12165
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12167
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12168
|
+
- signin
|
12169
|
+
' WHERE "users"."id" = 6
|
12170
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
12171
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12172
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12173
|
+
- signin
|
12174
|
+
' WHERE "users"."id" = 6[0m
|
12175
|
+
[1m[35m (2.8ms)[0m commit transaction
|
12176
|
+
Redirected to http://www.example-client.com/restricted
|
12177
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
|
12178
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 11:50:22 +0000
|
12179
|
+
Processing by ExampleController#restricted as HTML
|
12180
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12181
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
12182
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12183
|
+
Processing by ExampleController#restricted as HTML
|
12184
|
+
Authenticating with gds_sso strategy
|
12185
|
+
Completed in 0ms
|
12186
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12187
|
+
Started GET "/auth/gds/callback?code=15222b600a8b92f20ed4ea85293b17081a8c5a21aba52271ea4174f50c6b231d&state=78262c2673d2c95a232fcf99dc098be717c6d25cf5189174" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12188
|
+
Processing by AuthenticationsController#callback as HTML
|
12189
|
+
Parameters: {"code"=>"15222b600a8b92f20ed4ea85293b17081a8c5a21aba52271ea4174f50c6b231d", "state"=>"78262c2673d2c95a232fcf99dc098be717c6d25cf5189174"}
|
12190
|
+
Authenticating with gds_sso strategy
|
12191
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12193
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12194
|
+
- signin
|
12195
|
+
' WHERE "users"."id" = 6
|
12196
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
12197
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12198
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12199
|
+
- signin
|
12200
|
+
' WHERE "users"."id" = 6[0m
|
12201
|
+
[1m[35m (1.8ms)[0m commit transaction
|
12202
|
+
Redirected to http://www.example-client.com/restricted
|
12203
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
12204
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12205
|
+
Processing by ExampleController#restricted as HTML
|
12206
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12207
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
12208
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 11:40:22 +0000
|
12209
|
+
Processing by ExampleController#restricted as HTML
|
12210
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12211
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
12212
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12213
|
+
Processing by ExampleController#restricted as JSON
|
12214
|
+
Authenticating with gds_sso_api_access strategy
|
12215
|
+
Completed in 65ms
|
12216
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12217
|
+
Processing by ExampleController#restricted as JSON
|
12218
|
+
Authenticating with gds_sso_api_access strategy
|
12219
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
12220
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12221
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
12222
|
+
Authenticating with gds_sso_api_access strategy
|
12223
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
12224
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12225
|
+
Processing by ExampleController#restricted as JSON
|
12226
|
+
Authenticating with gds_bearer_token strategy
|
12227
|
+
Completed in 9ms
|
12228
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12229
|
+
Processing by ExampleController#restricted as JSON
|
12230
|
+
Authenticating with gds_bearer_token strategy
|
12231
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12232
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12233
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12234
|
+
- signin
|
12235
|
+
' WHERE "users"."id" = 6[0m
|
12236
|
+
[1m[35m (8.5ms)[0m commit transaction
|
12237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12238
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12239
|
+
- signin
|
12240
|
+
' WHERE "users"."id" = 6
|
12241
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
12242
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 11.3ms)
|
12243
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:45:22 +0000
|
12244
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
12245
|
+
Authenticating with gds_bearer_token strategy
|
12246
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12248
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12249
|
+
- signin
|
12250
|
+
' WHERE "users"."id" = 6
|
12251
|
+
[1m[36m (8.9ms)[0m [1mcommit transaction[0m
|
12252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12253
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12254
|
+
- signin
|
12255
|
+
' WHERE "users"."id" = 6[0m
|
12256
|
+
[1m[35m (1.9ms)[0m commit transaction
|
12257
|
+
Completed 200 OK in 57ms (Views: 0.6ms | ActiveRecord: 11.7ms)
|
12258
|
+
Connecting to database specified by database.yml
|
12259
|
+
[1m[36m (3.0ms)[0m [1mselect sqlite_version(*)[0m
|
12260
|
+
[1m[35m (25.0ms)[0m CREATE 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)
|
12261
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12262
|
+
[1m[35m (3.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12264
|
+
[1m[35mSQL (97.9ms)[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", "a1s2d33941"]]
|
12265
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
12266
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
12267
|
+
Processing by Api::UserController#update as HTML
|
12268
|
+
Parameters: {"uid"=>"a1s2d33941"}
|
12269
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.4ms)
|
12270
|
+
Completed 403 Forbidden in 122ms (Views: 120.6ms | ActiveRecord: 0.0ms)
|
12271
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12272
|
+
[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", "a1s2d32831"]]
|
12273
|
+
[1m[35m (2.2ms)[0m commit transaction
|
12274
|
+
Processing by Api::UserController#update as HTML
|
12275
|
+
Parameters: {"uid"=>"a1s2d32831"}
|
12276
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32831' LIMIT 1[0m
|
12277
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12278
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
12279
|
+
- signin
|
12280
|
+
- new permission
|
12281
|
+
' WHERE "users"."id" = 2[0m
|
12282
|
+
[1m[35m (12.8ms)[0m commit transaction
|
12283
|
+
Completed 200 OK in 40ms (ActiveRecord: 13.5ms)
|
12284
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
12285
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12286
|
+
[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", "a1s2d36216"]]
|
12287
|
+
[1m[35m (4.6ms)[0m commit transaction
|
12288
|
+
Processing by Api::UserController#update as HTML
|
12289
|
+
Parameters: {"uid"=>"a1s2d36216"}
|
12290
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36216' LIMIT 1[0m
|
12291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12292
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
12293
|
+
- signin
|
12294
|
+
- new permission
|
12295
|
+
' WHERE "users"."id" = 3[0m
|
12296
|
+
[1m[35m (13.9ms)[0m commit transaction
|
12297
|
+
Completed 200 OK in 18ms (ActiveRecord: 14.6ms)
|
12298
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
12299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12300
|
+
[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", "a1s2d36866"]]
|
12301
|
+
[1m[35m (15.2ms)[0m commit transaction
|
12302
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
12303
|
+
Processing by Api::UserController#reauth as HTML
|
12304
|
+
Parameters: {"uid"=>"a1s2d36866"}
|
12305
|
+
Completed 403 Forbidden in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
12306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12307
|
+
[1m[35mSQL (0.4ms)[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", "a1s2d38542"]]
|
12308
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
12309
|
+
Processing by Api::UserController#reauth as HTML
|
12310
|
+
Parameters: {"uid"=>"a1s2d38542"}
|
12311
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38542' LIMIT 1
|
12312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12313
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
12314
|
+
- signin
|
12315
|
+
' WHERE "users"."id" = 5
|
12316
|
+
[1m[36m (13.3ms)[0m [1mcommit transaction[0m
|
12317
|
+
Completed 200 OK in 16ms (ActiveRecord: 13.8ms)
|
12318
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
12319
|
+
Started GET "/" for 127.0.0.1 at 2013-01-15 15:50:38 +0000
|
12320
|
+
Processing by ExampleController#index as HTML
|
12321
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)
|
12322
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:38 +0000
|
12323
|
+
Processing by ExampleController#restricted as HTML
|
12324
|
+
Authenticating with gds_sso strategy
|
12325
|
+
Completed in 66ms
|
12326
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:50:38 +0000
|
12327
|
+
Started GET "/auth/gds/callback?code=10b12d7edf544bb7c62c87c73463b26f74b6501f66073c8a106e6a829cdb5bd5&state=d80880c5b76ce130df32047e5d254aec5a9c8165f4310feb" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12328
|
+
Processing by AuthenticationsController#callback as HTML
|
12329
|
+
Parameters: {"code"=>"10b12d7edf544bb7c62c87c73463b26f74b6501f66073c8a106e6a829cdb5bd5", "state"=>"d80880c5b76ce130df32047e5d254aec5a9c8165f4310feb"}
|
12330
|
+
Authenticating with gds_sso strategy
|
12331
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12333
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
12334
|
+
[1m[35m (6.6ms)[0m commit transaction
|
12335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12336
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
12337
|
+
- signin
|
12338
|
+
' WHERE "users"."id" = 6
|
12339
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
12340
|
+
Redirected to http://www.example-client.com/restricted
|
12341
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.4ms)
|
12342
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12343
|
+
Processing by ExampleController#restricted as HTML
|
12344
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12345
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12346
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12347
|
+
Processing by ExampleController#restricted as HTML
|
12348
|
+
Authenticating with gds_sso strategy
|
12349
|
+
Completed in 1ms
|
12350
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12351
|
+
Started GET "/auth/gds/callback?code=62fefc9bc8b16dddfe66fee6e91f633b163119fc712cccf760cf6871a753b129&state=71b49bd5a665de45dbe0954e963fa9c72a63c90a63aae823" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12352
|
+
Processing by AuthenticationsController#callback as HTML
|
12353
|
+
Parameters: {"code"=>"62fefc9bc8b16dddfe66fee6e91f633b163119fc712cccf760cf6871a753b129", "state"=>"71b49bd5a665de45dbe0954e963fa9c72a63c90a63aae823"}
|
12354
|
+
Authenticating with gds_sso strategy
|
12355
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12357
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12358
|
+
- signin
|
12359
|
+
' WHERE "users"."id" = 6[0m
|
12360
|
+
[1m[35m (5.3ms)[0m commit transaction
|
12361
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12362
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
12363
|
+
- signin
|
12364
|
+
' WHERE "users"."id" = 6
|
12365
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
12366
|
+
Redirected to http://www.example-client.com/restricted
|
12367
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.7ms)
|
12368
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12369
|
+
Processing by ExampleController#restricted as HTML
|
12370
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12371
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12372
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12373
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12374
|
+
Authenticating with gds_sso strategy
|
12375
|
+
Completed in 1ms
|
12376
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:50:40 +0000
|
12377
|
+
Started GET "/auth/gds/callback?code=e1425991d1900ce801ad710c189f7d872cf09512d6633c3f1ccbad072df3f70e&state=4f2714ffa29817888cfc6d17bcac7c67846c32ddf2263ac1" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12378
|
+
Processing by AuthenticationsController#callback as HTML
|
12379
|
+
Parameters: {"code"=>"e1425991d1900ce801ad710c189f7d872cf09512d6633c3f1ccbad072df3f70e", "state"=>"4f2714ffa29817888cfc6d17bcac7c67846c32ddf2263ac1"}
|
12380
|
+
Authenticating with gds_sso strategy
|
12381
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12382
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12383
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12384
|
+
- signin
|
12385
|
+
' WHERE "users"."id" = 6[0m
|
12386
|
+
[1m[35m (4.1ms)[0m commit transaction
|
12387
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12388
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12389
|
+
- signin
|
12390
|
+
' WHERE "users"."id" = 6
|
12391
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
12392
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
12393
|
+
Completed 302 Found in 14ms (ActiveRecord: 7.2ms)
|
12394
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12395
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12396
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12397
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12398
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12399
|
+
Processing by ExampleController#restricted as HTML
|
12400
|
+
Authenticating with gds_sso strategy
|
12401
|
+
Completed in 0ms
|
12402
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12403
|
+
Started GET "/auth/gds/callback?code=58eb3d432e48dc1ccb149cf8c5028c51f78b9130dda25451492562d250c8d6a7&state=4821b3c78774c7570f0c73b2e93ad4e93e0c170906c1731c" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12404
|
+
Processing by AuthenticationsController#callback as HTML
|
12405
|
+
Parameters: {"code"=>"58eb3d432e48dc1ccb149cf8c5028c51f78b9130dda25451492562d250c8d6a7", "state"=>"4821b3c78774c7570f0c73b2e93ad4e93e0c170906c1731c"}
|
12406
|
+
Authenticating with gds_sso strategy
|
12407
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12408
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12409
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12410
|
+
- signin
|
12411
|
+
' WHERE "users"."id" = 6[0m
|
12412
|
+
[1m[35m (6.7ms)[0m commit transaction
|
12413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12414
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12415
|
+
- signin
|
12416
|
+
' WHERE "users"."id" = 6
|
12417
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
12418
|
+
Redirected to http://www.example-client.com/restricted
|
12419
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
12420
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12421
|
+
Processing by ExampleController#restricted as HTML
|
12422
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12423
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
12424
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12425
|
+
Processing by ExampleController#restricted as HTML
|
12426
|
+
Authenticating with gds_sso strategy
|
12427
|
+
Completed in 0ms
|
12428
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:50:41 +0000
|
12429
|
+
Started GET "/auth/gds/callback?code=5dc77692b20d7b9eb61c56fafbfcc03dc5c6eca7badb6b2b55c554c567df9f74&state=0d8419d83c707a23f87eb913f270452c6010c7879d584e25" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12430
|
+
Processing by AuthenticationsController#callback as HTML
|
12431
|
+
Parameters: {"code"=>"5dc77692b20d7b9eb61c56fafbfcc03dc5c6eca7badb6b2b55c554c567df9f74", "state"=>"0d8419d83c707a23f87eb913f270452c6010c7879d584e25"}
|
12432
|
+
Authenticating with gds_sso strategy
|
12433
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12435
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12436
|
+
- signin
|
12437
|
+
' WHERE "users"."id" = 6[0m
|
12438
|
+
[1m[35m (3.5ms)[0m commit transaction
|
12439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12440
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12441
|
+
- signin
|
12442
|
+
' WHERE "users"."id" = 6
|
12443
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
12444
|
+
Redirected to http://www.example-client.com/restricted
|
12445
|
+
Completed 302 Found in 15ms (ActiveRecord: 6.3ms)
|
12446
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12447
|
+
Processing by ExampleController#restricted as HTML
|
12448
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12449
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
12450
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12451
|
+
Processing by ExampleController#restricted as HTML
|
12452
|
+
Authenticating with gds_sso strategy
|
12453
|
+
Completed in 0ms
|
12454
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12455
|
+
Started GET "/auth/gds/callback?code=c9c051e5428d6ca978f5b31d2b11ad86fc5b2fe143b59bb7050b904ec0bb5c57&state=c2dd9f5993ae3b72565307f9bc1fb50b51f7cdfc872bbe58" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12456
|
+
Processing by AuthenticationsController#callback as HTML
|
12457
|
+
Parameters: {"code"=>"c9c051e5428d6ca978f5b31d2b11ad86fc5b2fe143b59bb7050b904ec0bb5c57", "state"=>"c2dd9f5993ae3b72565307f9bc1fb50b51f7cdfc872bbe58"}
|
12458
|
+
Authenticating with gds_sso strategy
|
12459
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12460
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12461
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12462
|
+
- signin
|
12463
|
+
' WHERE "users"."id" = 6[0m
|
12464
|
+
[1m[35m (6.2ms)[0m commit transaction
|
12465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12466
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12467
|
+
- signin
|
12468
|
+
' WHERE "users"."id" = 6
|
12469
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
12470
|
+
Redirected to http://www.example-client.com/restricted
|
12471
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.6ms)
|
12472
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12473
|
+
Processing by ExampleController#restricted as HTML
|
12474
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12475
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12476
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12477
|
+
Processing by ExampleController#restricted as JSON
|
12478
|
+
Authenticating with gds_sso_api_access strategy
|
12479
|
+
Completed in 15ms
|
12480
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12481
|
+
Processing by ExampleController#restricted as JSON
|
12482
|
+
Authenticating with gds_sso_api_access strategy
|
12483
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
12484
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12485
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
12486
|
+
Authenticating with gds_sso_api_access strategy
|
12487
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
12488
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:42 +0000
|
12489
|
+
Processing by ExampleController#restricted as JSON
|
12490
|
+
Authenticating with gds_bearer_token strategy
|
12491
|
+
Completed in 9ms
|
12492
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 15:50:43 +0000
|
12493
|
+
Processing by ExampleController#restricted as JSON
|
12494
|
+
Authenticating with gds_bearer_token strategy
|
12495
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12496
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12497
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12498
|
+
- signin
|
12499
|
+
' WHERE "users"."id" = 6[0m
|
12500
|
+
[1m[35m (8.7ms)[0m commit transaction
|
12501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12502
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12503
|
+
- signin
|
12504
|
+
' WHERE "users"."id" = 6
|
12505
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
12506
|
+
Completed 200 OK in 54ms (Views: 0.6ms | ActiveRecord: 11.5ms)
|
12507
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 15:50:43 +0000
|
12508
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
12509
|
+
Authenticating with gds_bearer_token strategy
|
12510
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12511
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12512
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12513
|
+
- signin
|
12514
|
+
' WHERE "users"."id" = 6
|
12515
|
+
[1m[36m (8.8ms)[0m [1mcommit transaction[0m
|
12516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12517
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12518
|
+
- signin
|
12519
|
+
' WHERE "users"."id" = 6[0m
|
12520
|
+
[1m[35m (1.8ms)[0m commit transaction
|
12521
|
+
Completed 200 OK in 76ms (Views: 0.6ms | ActiveRecord: 11.6ms)
|
12522
|
+
Connecting to database specified by database.yml
|
12523
|
+
[1m[36m (13.1ms)[0m [1mselect sqlite_version(*)[0m
|
12524
|
+
[1m[35m (17.8ms)[0m CREATE 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)
|
12525
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12526
|
+
[1m[35m (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12528
|
+
[1m[35mSQL (83.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", "a1s2d3849"]]
|
12529
|
+
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
12530
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
12531
|
+
Processing by Api::UserController#update as HTML
|
12532
|
+
Parameters: {"uid"=>"a1s2d3849"}
|
12533
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.4ms)
|
12534
|
+
Completed 403 Forbidden in 119ms (Views: 117.7ms | ActiveRecord: 0.0ms)
|
12535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12536
|
+
[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", "a1s2d3482"]]
|
12537
|
+
[1m[35m (13.6ms)[0m commit transaction
|
12538
|
+
Processing by Api::UserController#update as HTML
|
12539
|
+
Parameters: {"uid"=>"a1s2d3482"}
|
12540
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3482' LIMIT 1[0m
|
12541
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12542
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
12543
|
+
- signin
|
12544
|
+
- new permission
|
12545
|
+
' WHERE "users"."id" = 2[0m
|
12546
|
+
[1m[35m (2.3ms)[0m commit transaction
|
12547
|
+
Completed 200 OK in 40ms (ActiveRecord: 2.9ms)
|
12548
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
12549
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12550
|
+
[1m[36mSQL (0.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", "a1s2d37723"]]
|
12551
|
+
[1m[35m (3.6ms)[0m commit transaction
|
12552
|
+
Processing by Api::UserController#update as HTML
|
12553
|
+
Parameters: {"uid"=>"a1s2d37723"}
|
12554
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37723' LIMIT 1[0m
|
12555
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12556
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
12557
|
+
- signin
|
12558
|
+
- new permission
|
12559
|
+
' WHERE "users"."id" = 3[0m
|
12560
|
+
[1m[35m (13.8ms)[0m commit transaction
|
12561
|
+
Completed 200 OK in 17ms (ActiveRecord: 14.2ms)
|
12562
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
12563
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12564
|
+
[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", "a1s2d35309"]]
|
12565
|
+
[1m[35m (5.7ms)[0m commit transaction
|
12566
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
12567
|
+
Processing by Api::UserController#reauth as HTML
|
12568
|
+
Parameters: {"uid"=>"a1s2d35309"}
|
12569
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
12570
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12571
|
+
[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", "a1s2d36973"]]
|
12572
|
+
[1m[36m (12.9ms)[0m [1mcommit transaction[0m
|
12573
|
+
Processing by Api::UserController#reauth as HTML
|
12574
|
+
Parameters: {"uid"=>"a1s2d36973"}
|
12575
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36973' LIMIT 1
|
12576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12577
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
12578
|
+
- signin
|
12579
|
+
' WHERE "users"."id" = 5
|
12580
|
+
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
12581
|
+
Completed 200 OK in 17ms (ActiveRecord: 14.1ms)
|
12582
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
12583
|
+
Started GET "/" for 127.0.0.1 at 2013-01-15 17:28:13 +0000
|
12584
|
+
Processing by ExampleController#index as HTML
|
12585
|
+
Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
12586
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:13 +0000
|
12587
|
+
Processing by ExampleController#restricted as HTML
|
12588
|
+
Authenticating with gds_sso strategy
|
12589
|
+
Completed in 63ms
|
12590
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:14 +0000
|
12591
|
+
Started GET "/auth/gds/callback?code=0635975f5f2fdd3bd72378167dd45a85729d83ed09721f0273a38d6f80b83bd7&state=10e396f1aac37660eb0e15e208e3329fb90f5640bc6e0ef2" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12592
|
+
Processing by AuthenticationsController#callback as HTML
|
12593
|
+
Parameters: {"code"=>"0635975f5f2fdd3bd72378167dd45a85729d83ed09721f0273a38d6f80b83bd7", "state"=>"10e396f1aac37660eb0e15e208e3329fb90f5640bc6e0ef2"}
|
12594
|
+
Authenticating with gds_sso strategy
|
12595
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12596
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12597
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
12598
|
+
[1m[35m (12.5ms)[0m commit transaction
|
12599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12600
|
+
[1m[35m (5.0ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
12601
|
+
- signin
|
12602
|
+
' WHERE "users"."id" = 6
|
12603
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
12604
|
+
Redirected to http://www.example-client.com/restricted
|
12605
|
+
Completed 302 Found in 26ms (ActiveRecord: 20.7ms)
|
12606
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12607
|
+
Processing by ExampleController#restricted as HTML
|
12608
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12609
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
12610
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12611
|
+
Processing by ExampleController#restricted as HTML
|
12612
|
+
Authenticating with gds_sso strategy
|
12613
|
+
Completed in 0ms
|
12614
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12615
|
+
Started GET "/auth/gds/callback?code=60ee425d7341da8003fc6dda8ceed28278791af6a852d8dc660fd0fdffe8fc28&state=1204e4854abafef026bc96bbc8ec076500b9bc56402338c3" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12616
|
+
Processing by AuthenticationsController#callback as HTML
|
12617
|
+
Parameters: {"code"=>"60ee425d7341da8003fc6dda8ceed28278791af6a852d8dc660fd0fdffe8fc28", "state"=>"1204e4854abafef026bc96bbc8ec076500b9bc56402338c3"}
|
12618
|
+
Authenticating with gds_sso strategy
|
12619
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12621
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12622
|
+
- signin
|
12623
|
+
' WHERE "users"."id" = 6[0m
|
12624
|
+
[1m[35m (5.9ms)[0m commit transaction
|
12625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12626
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12627
|
+
- signin
|
12628
|
+
' WHERE "users"."id" = 6
|
12629
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
12630
|
+
Redirected to http://www.example-client.com/restricted
|
12631
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.8ms)
|
12632
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12633
|
+
Processing by ExampleController#restricted as HTML
|
12634
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12635
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
12636
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12637
|
+
Processing by ExampleController#restricted as HTML
|
12638
|
+
Authenticating with gds_sso strategy
|
12639
|
+
Completed in 0ms
|
12640
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:15 +0000
|
12641
|
+
Started GET "/auth/gds/callback?code=49099ea4389c04029c6f5e43e55e47ceab67aa708a959ef2b77dcba8cbdbde12&state=57c75c470a93f9aa6220b72e9eb864ef9e64759db282fc53" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12642
|
+
Processing by AuthenticationsController#callback as HTML
|
12643
|
+
Parameters: {"code"=>"49099ea4389c04029c6f5e43e55e47ceab67aa708a959ef2b77dcba8cbdbde12", "state"=>"57c75c470a93f9aa6220b72e9eb864ef9e64759db282fc53"}
|
12644
|
+
Authenticating with gds_sso strategy
|
12645
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12647
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12648
|
+
- signin
|
12649
|
+
' WHERE "users"."id" = 6[0m
|
12650
|
+
[1m[35m (8.6ms)[0m commit transaction
|
12651
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12652
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12653
|
+
- signin
|
12654
|
+
' WHERE "users"."id" = 6
|
12655
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
12656
|
+
Redirected to http://www.example-client.com/restricted
|
12657
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
|
12658
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12659
|
+
Processing by ExampleController#restricted as HTML
|
12660
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12661
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
12662
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12663
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12664
|
+
Authenticating with gds_sso strategy
|
12665
|
+
Completed in 1ms
|
12666
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12667
|
+
Started GET "/auth/gds/callback?code=6434c8a4ed0d390a1b0c9a3439206175f59b60dd2ead39d4c5a3f77f9064cc01&state=9dcb42595a5d25650e6f948ab6842a696394ddc9e28689e0" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12668
|
+
Processing by AuthenticationsController#callback as HTML
|
12669
|
+
Parameters: {"code"=>"6434c8a4ed0d390a1b0c9a3439206175f59b60dd2ead39d4c5a3f77f9064cc01", "state"=>"9dcb42595a5d25650e6f948ab6842a696394ddc9e28689e0"}
|
12670
|
+
Authenticating with gds_sso strategy
|
12671
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12672
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12673
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12674
|
+
- signin
|
12675
|
+
' WHERE "users"."id" = 6[0m
|
12676
|
+
[1m[35m (6.9ms)[0m commit transaction
|
12677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12678
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12679
|
+
- signin
|
12680
|
+
' WHERE "users"."id" = 6
|
12681
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
12682
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
12683
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.9ms)
|
12684
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12685
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12686
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12687
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
12688
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12689
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12690
|
+
Authenticating with gds_sso strategy
|
12691
|
+
Completed in 0ms
|
12692
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12693
|
+
Started GET "/auth/gds/callback?code=ff1438fbfba320fdd9505734194d2196a99478ccdca902153294d7dc589615ce&state=d267d1b02b83537efbfe0d2552dbdfdf6b250dd57dc58e3c" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12694
|
+
Processing by AuthenticationsController#callback as HTML
|
12695
|
+
Parameters: {"code"=>"ff1438fbfba320fdd9505734194d2196a99478ccdca902153294d7dc589615ce", "state"=>"d267d1b02b83537efbfe0d2552dbdfdf6b250dd57dc58e3c"}
|
12696
|
+
Authenticating with gds_sso strategy
|
12697
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12699
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12700
|
+
- signin
|
12701
|
+
' WHERE "users"."id" = 6[0m
|
12702
|
+
[1m[35m (8.7ms)[0m commit transaction
|
12703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12704
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
12705
|
+
- signin
|
12706
|
+
' WHERE "users"."id" = 6
|
12707
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
12708
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
12709
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.2ms)
|
12710
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12711
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
12712
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12713
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
12714
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12715
|
+
Processing by ExampleController#restricted as HTML
|
12716
|
+
Authenticating with gds_sso strategy
|
12717
|
+
Completed in 0ms
|
12718
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:16 +0000
|
12719
|
+
Started GET "/auth/gds/callback?code=d3a8ed7de976c705456f571449f552d9f631a390a29695b454591f5bf058199d&state=795f563cfee75a26e4d4390550b663e339429c6470fc5b8c" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12720
|
+
Processing by AuthenticationsController#callback as HTML
|
12721
|
+
Parameters: {"code"=>"d3a8ed7de976c705456f571449f552d9f631a390a29695b454591f5bf058199d", "state"=>"795f563cfee75a26e4d4390550b663e339429c6470fc5b8c"}
|
12722
|
+
Authenticating with gds_sso strategy
|
12723
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12724
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12725
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12726
|
+
- signin
|
12727
|
+
' WHERE "users"."id" = 6[0m
|
12728
|
+
[1m[35m (5.9ms)[0m commit transaction
|
12729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12730
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12731
|
+
- signin
|
12732
|
+
' WHERE "users"."id" = 6
|
12733
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
12734
|
+
Redirected to http://www.example-client.com/restricted
|
12735
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.8ms)
|
12736
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12737
|
+
Processing by ExampleController#restricted as HTML
|
12738
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12739
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
12740
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12741
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12742
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
12743
|
+
- signin
|
12744
|
+
' WHERE "users"."id" = 6[0m
|
12745
|
+
[1m[35m (2.0ms)[0m commit transaction
|
12746
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12747
|
+
Processing by ExampleController#restricted as HTML
|
12748
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12749
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
12750
|
+
Completed 403 Forbidden in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
12751
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12752
|
+
Processing by AuthenticationsController#sign_out as HTML
|
12753
|
+
Redirected to http://localhost:4567/users/sign_out
|
12754
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
12755
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12756
|
+
Processing by ExampleController#restricted as HTML
|
12757
|
+
Authenticating with gds_sso strategy
|
12758
|
+
Completed in 0ms
|
12759
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12760
|
+
Started GET "/auth/gds/callback?code=1daab2a80b39fb7780b8c18af515e2ff9bfa17b5e9dc839d78469b3307200e61&state=dbc0087ea59105e29d12dd30e035cd2db26883a22ceae44f" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12761
|
+
Processing by AuthenticationsController#callback as HTML
|
12762
|
+
Parameters: {"code"=>"1daab2a80b39fb7780b8c18af515e2ff9bfa17b5e9dc839d78469b3307200e61", "state"=>"dbc0087ea59105e29d12dd30e035cd2db26883a22ceae44f"}
|
12763
|
+
Authenticating with gds_sso strategy
|
12764
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12766
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12767
|
+
- signin
|
12768
|
+
' WHERE "users"."id" = 6
|
12769
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
12770
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12771
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
12772
|
+
- signin
|
12773
|
+
' WHERE "users"."id" = 6[0m
|
12774
|
+
[1m[35m (1.9ms)[0m commit transaction
|
12775
|
+
Redirected to http://www.example-client.com/restricted
|
12776
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.6ms)
|
12777
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12778
|
+
Processing by ExampleController#restricted as HTML
|
12779
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12780
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
12781
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12782
|
+
Processing by ExampleController#restricted as HTML
|
12783
|
+
Authenticating with gds_sso strategy
|
12784
|
+
Completed in 0ms
|
12785
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:17 +0000
|
12786
|
+
Started GET "/auth/gds/callback?code=e52d82d1b904a8c76006004694a278ba2ca1bf3f8b6427ea3969d266bae62993&state=bb95c484ab13a5868bab712485390f3f5466e56dd20859ca" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12787
|
+
Processing by AuthenticationsController#callback as HTML
|
12788
|
+
Parameters: {"code"=>"e52d82d1b904a8c76006004694a278ba2ca1bf3f8b6427ea3969d266bae62993", "state"=>"bb95c484ab13a5868bab712485390f3f5466e56dd20859ca"}
|
12789
|
+
Authenticating with gds_sso strategy
|
12790
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12791
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12792
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12793
|
+
- signin
|
12794
|
+
' WHERE "users"."id" = 6
|
12795
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
12796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12797
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12798
|
+
- signin
|
12799
|
+
' WHERE "users"."id" = 6[0m
|
12800
|
+
[1m[35m (1.9ms)[0m commit transaction
|
12801
|
+
Redirected to http://www.example-client.com/restricted
|
12802
|
+
Completed 302 Found in 13ms (ActiveRecord: 7.0ms)
|
12803
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12804
|
+
Processing by ExampleController#restricted as HTML
|
12805
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12806
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
12807
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 13:33:18 +0000
|
12808
|
+
Processing by ExampleController#restricted as HTML
|
12809
|
+
Authenticating with gds_sso strategy
|
12810
|
+
Completed in 0ms
|
12811
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 13:33:18 +0000
|
12812
|
+
Started GET "/auth/gds/callback?code=004d13b9b900e6c4aa03db4f64efa81402173a54a746f1c2e11ae7d8657a71b4&state=99f534475bcb8df0690819337aef71ca2057a6a315fd248b" for 127.0.0.1 at 2013-01-16 13:33:18 +0000
|
12813
|
+
Processing by AuthenticationsController#callback as HTML
|
12814
|
+
Parameters: {"code"=>"004d13b9b900e6c4aa03db4f64efa81402173a54a746f1c2e11ae7d8657a71b4", "state"=>"99f534475bcb8df0690819337aef71ca2057a6a315fd248b"}
|
12815
|
+
Authenticating with gds_sso strategy
|
12816
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12817
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12818
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12819
|
+
- signin
|
12820
|
+
' WHERE "users"."id" = 6
|
12821
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
12822
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12823
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12824
|
+
- signin
|
12825
|
+
' WHERE "users"."id" = 6[0m
|
12826
|
+
[1m[35m (1.9ms)[0m commit transaction
|
12827
|
+
Redirected to http://www.example-client.com/restricted
|
12828
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.8ms)
|
12829
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 13:33:18 +0000
|
12830
|
+
Processing by ExampleController#restricted as HTML
|
12831
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12832
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
12833
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12834
|
+
Processing by ExampleController#restricted as HTML
|
12835
|
+
Authenticating with gds_sso strategy
|
12836
|
+
Completed in 0ms
|
12837
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12838
|
+
Started GET "/auth/gds/callback?code=933d5d3f8d65d00d6c9091636b287af18b8045d93db4a3e107e1fbb65d1230fa&state=45c5f5488ee0352edd51c2a10741a8a0ec503b24be79458e" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12839
|
+
Processing by AuthenticationsController#callback as HTML
|
12840
|
+
Parameters: {"code"=>"933d5d3f8d65d00d6c9091636b287af18b8045d93db4a3e107e1fbb65d1230fa", "state"=>"45c5f5488ee0352edd51c2a10741a8a0ec503b24be79458e"}
|
12841
|
+
Authenticating with gds_sso strategy
|
12842
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12844
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12845
|
+
- signin
|
12846
|
+
' WHERE "users"."id" = 6
|
12847
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
12848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12849
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12850
|
+
- signin
|
12851
|
+
' WHERE "users"."id" = 6[0m
|
12852
|
+
[1m[35m (2.2ms)[0m commit transaction
|
12853
|
+
Redirected to http://www.example-client.com/restricted
|
12854
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.7ms)
|
12855
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12856
|
+
Processing by ExampleController#restricted as HTML
|
12857
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12858
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
12859
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 13:23:18 +0000
|
12860
|
+
Processing by ExampleController#restricted as HTML
|
12861
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12862
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
12863
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12864
|
+
Processing by ExampleController#restricted as JSON
|
12865
|
+
Authenticating with gds_sso_api_access strategy
|
12866
|
+
Completed in 15ms
|
12867
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12868
|
+
Processing by ExampleController#restricted as JSON
|
12869
|
+
Authenticating with gds_sso_api_access strategy
|
12870
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
12871
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 17:28:18 +0000
|
12872
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
12873
|
+
Authenticating with gds_sso_api_access strategy
|
12874
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
12875
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:19 +0000
|
12876
|
+
Processing by ExampleController#restricted as JSON
|
12877
|
+
Authenticating with gds_bearer_token strategy
|
12878
|
+
Completed in 10ms
|
12879
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-15 17:28:19 +0000
|
12880
|
+
Processing by ExampleController#restricted as JSON
|
12881
|
+
Authenticating with gds_bearer_token strategy
|
12882
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12883
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12884
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12885
|
+
- signin
|
12886
|
+
' WHERE "users"."id" = 6[0m
|
12887
|
+
[1m[35m (7.8ms)[0m commit transaction
|
12888
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12889
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12890
|
+
- signin
|
12891
|
+
' WHERE "users"."id" = 6
|
12892
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
12893
|
+
Completed 200 OK in 57ms (Views: 0.7ms | ActiveRecord: 11.5ms)
|
12894
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-15 17:28:19 +0000
|
12895
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
12896
|
+
Authenticating with gds_bearer_token strategy
|
12897
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12899
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
12900
|
+
- signin
|
12901
|
+
' WHERE "users"."id" = 6
|
12902
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
12903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12904
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
12905
|
+
- signin
|
12906
|
+
' WHERE "users"."id" = 6[0m
|
12907
|
+
[1m[35m (2.3ms)[0m commit transaction
|
12908
|
+
Completed 200 OK in 58ms (Views: 0.7ms | ActiveRecord: 11.3ms)
|
12909
|
+
Connecting to database specified by database.yml
|
12910
|
+
[1m[36m (3.0ms)[0m [1mselect sqlite_version(*)[0m
|
12911
|
+
[1m[35m (21.9ms)[0m CREATE 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)
|
12912
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12913
|
+
[1m[35m (2.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12915
|
+
[1m[35mSQL (92.4ms)[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", "a1s2d39824"]]
|
12916
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
12917
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
12918
|
+
Processing by Api::UserController#update as HTML
|
12919
|
+
Parameters: {"uid"=>"a1s2d39824"}
|
12920
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.4ms)
|
12921
|
+
Completed 403 Forbidden in 118ms (Views: 117.4ms | ActiveRecord: 0.0ms)
|
12922
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12923
|
+
[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", "a1s2d35967"]]
|
12924
|
+
[1m[35m (3.7ms)[0m commit transaction
|
12925
|
+
Processing by Api::UserController#update as HTML
|
12926
|
+
Parameters: {"uid"=>"a1s2d35967"}
|
12927
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35967' LIMIT 1[0m
|
12928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12929
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
12930
|
+
- signin
|
12931
|
+
- new permission
|
12932
|
+
' WHERE "users"."id" = 2[0m
|
12933
|
+
[1m[35m (2.2ms)[0m commit transaction
|
12934
|
+
Completed 200 OK in 40ms (ActiveRecord: 2.9ms)
|
12935
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
12936
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12937
|
+
[1m[36mSQL (0.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", "a1s2d33939"]]
|
12938
|
+
[1m[35m (12.0ms)[0m commit transaction
|
12939
|
+
Processing by Api::UserController#update as HTML
|
12940
|
+
Parameters: {"uid"=>"a1s2d33939"}
|
12941
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33939' LIMIT 1[0m
|
12942
|
+
[1m[35m (0.0ms)[0m begin transaction
|
12943
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
12944
|
+
- signin
|
12945
|
+
- new permission
|
12946
|
+
' WHERE "users"."id" = 3[0m
|
12947
|
+
[1m[35m (5.6ms)[0m commit transaction
|
12948
|
+
Completed 200 OK in 9ms (ActiveRecord: 6.1ms)
|
12949
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
12950
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12951
|
+
[1m[36mSQL (0.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", "a1s2d32004"]]
|
12952
|
+
[1m[35m (5.8ms)[0m commit transaction
|
12953
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
12954
|
+
Processing by Api::UserController#reauth as HTML
|
12955
|
+
Parameters: {"uid"=>"a1s2d32004"}
|
12956
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
12957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12958
|
+
[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", "a1s2d32044"]]
|
12959
|
+
[1m[36m (13.4ms)[0m [1mcommit transaction[0m
|
12960
|
+
Processing by Api::UserController#reauth as HTML
|
12961
|
+
Parameters: {"uid"=>"a1s2d32044"}
|
12962
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32044' LIMIT 1
|
12963
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12964
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
12965
|
+
- signin
|
12966
|
+
' WHERE "users"."id" = 5
|
12967
|
+
[1m[36m (13.2ms)[0m [1mcommit transaction[0m
|
12968
|
+
Completed 200 OK in 16ms (ActiveRecord: 13.7ms)
|
12969
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
12970
|
+
Started GET "/" for 127.0.0.1 at 2013-01-16 15:06:15 +0000
|
12971
|
+
Processing by ExampleController#index as HTML
|
12972
|
+
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
12973
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:16 +0000
|
12974
|
+
Processing by ExampleController#restricted as HTML
|
12975
|
+
Authenticating with gds_sso strategy
|
12976
|
+
Completed in 63ms
|
12977
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:16 +0000
|
12978
|
+
Started GET "/auth/gds/callback?code=446fca973451b10e9c66feee0ccb05b493366847061c1146a45ea7aa14b75cc9&state=38512acd3c963f73fdb0fbe51597c8273d2f22dd6a500209" for 127.0.0.1 at 2013-01-16 15:06:17 +0000
|
12979
|
+
Processing by AuthenticationsController#callback as HTML
|
12980
|
+
Parameters: {"code"=>"446fca973451b10e9c66feee0ccb05b493366847061c1146a45ea7aa14b75cc9", "state"=>"38512acd3c963f73fdb0fbe51597c8273d2f22dd6a500209"}
|
12981
|
+
Authenticating with gds_sso strategy
|
12982
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
12983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12984
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
12985
|
+
[1m[35m (13.1ms)[0m commit transaction
|
12986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12987
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
12988
|
+
- signin
|
12989
|
+
' WHERE "users"."id" = 6
|
12990
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
12991
|
+
Redirected to http://www.example-client.com/restricted
|
12992
|
+
Completed 302 Found in 22ms (ActiveRecord: 15.9ms)
|
12993
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:17 +0000
|
12994
|
+
Processing by ExampleController#restricted as HTML
|
12995
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
12996
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
12997
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:17 +0000
|
12998
|
+
Processing by ExampleController#restricted as HTML
|
12999
|
+
Authenticating with gds_sso strategy
|
13000
|
+
Completed in 0ms
|
13001
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:17 +0000
|
13002
|
+
Started GET "/auth/gds/callback?code=d2dccd0f3aa41608ee57f3207556cf1c9e8e02af7fe60bb91e83e7ede937308b&state=50fd70e37df480265fcd32ab73faa389ceaa1bbfd3b5c616" for 127.0.0.1 at 2013-01-16 15:06:17 +0000
|
13003
|
+
Processing by AuthenticationsController#callback as HTML
|
13004
|
+
Parameters: {"code"=>"d2dccd0f3aa41608ee57f3207556cf1c9e8e02af7fe60bb91e83e7ede937308b", "state"=>"50fd70e37df480265fcd32ab73faa389ceaa1bbfd3b5c616"}
|
13005
|
+
Authenticating with gds_sso strategy
|
13006
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13007
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13008
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13009
|
+
- signin
|
13010
|
+
' WHERE "users"."id" = 6[0m
|
13011
|
+
[1m[35m (12.4ms)[0m commit transaction
|
13012
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13013
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13014
|
+
- signin
|
13015
|
+
' WHERE "users"."id" = 6
|
13016
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
13017
|
+
Redirected to http://www.example-client.com/restricted
|
13018
|
+
Completed 302 Found in 22ms (ActiveRecord: 15.9ms)
|
13019
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13020
|
+
Processing by ExampleController#restricted as HTML
|
13021
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13022
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
13023
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13024
|
+
Processing by ExampleController#restricted as HTML
|
13025
|
+
Authenticating with gds_sso strategy
|
13026
|
+
Completed in 0ms
|
13027
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13028
|
+
Started GET "/auth/gds/callback?code=0fee1027af556c97e8778406b749d0dadfadc5ba9d3f59858d011bb1bf0a73d3&state=c6e71d0143f37d02ba997900c7df5d05854028654488a433" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13029
|
+
Processing by AuthenticationsController#callback as HTML
|
13030
|
+
Parameters: {"code"=>"0fee1027af556c97e8778406b749d0dadfadc5ba9d3f59858d011bb1bf0a73d3", "state"=>"c6e71d0143f37d02ba997900c7df5d05854028654488a433"}
|
13031
|
+
Authenticating with gds_sso strategy
|
13032
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13034
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13035
|
+
- signin
|
13036
|
+
' WHERE "users"."id" = 6[0m
|
13037
|
+
[1m[35m (8.8ms)[0m commit transaction
|
13038
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13039
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13040
|
+
- signin
|
13041
|
+
' WHERE "users"."id" = 6
|
13042
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13043
|
+
Redirected to http://www.example-client.com/restricted
|
13044
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
|
13045
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13046
|
+
Processing by ExampleController#restricted as HTML
|
13047
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13048
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
13049
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13050
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13051
|
+
Authenticating with gds_sso strategy
|
13052
|
+
Completed in 1ms
|
13053
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13054
|
+
Started GET "/auth/gds/callback?code=7fbc54fa627b5498de4f0231d758bb2c92a34582653b9d5888940bf204200fe1&state=6ee6528aad97ba0e3a2c962580eccc270be9a05345e79034" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13055
|
+
Processing by AuthenticationsController#callback as HTML
|
13056
|
+
Parameters: {"code"=>"7fbc54fa627b5498de4f0231d758bb2c92a34582653b9d5888940bf204200fe1", "state"=>"6ee6528aad97ba0e3a2c962580eccc270be9a05345e79034"}
|
13057
|
+
Authenticating with gds_sso strategy
|
13058
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13060
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13061
|
+
- signin
|
13062
|
+
' WHERE "users"."id" = 6[0m
|
13063
|
+
[1m[35m (7.5ms)[0m commit transaction
|
13064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13065
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13066
|
+
- signin
|
13067
|
+
' WHERE "users"."id" = 6
|
13068
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
13069
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
13070
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.3ms)
|
13071
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13072
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13073
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13074
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
13075
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13076
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13077
|
+
Authenticating with gds_sso strategy
|
13078
|
+
Completed in 0ms
|
13079
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13080
|
+
Started GET "/auth/gds/callback?code=cd1e884d02b3a0b51b536f810bae1c2fd899be97ffdc33e3311edc87ad55f695&state=17ae4fbb1c9deb739391983b8032c1e2f90a8c96f996ec2f" for 127.0.0.1 at 2013-01-16 15:06:18 +0000
|
13081
|
+
Processing by AuthenticationsController#callback as HTML
|
13082
|
+
Parameters: {"code"=>"cd1e884d02b3a0b51b536f810bae1c2fd899be97ffdc33e3311edc87ad55f695", "state"=>"17ae4fbb1c9deb739391983b8032c1e2f90a8c96f996ec2f"}
|
13083
|
+
Authenticating with gds_sso strategy
|
13084
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13085
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13086
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13087
|
+
- signin
|
13088
|
+
' WHERE "users"."id" = 6[0m
|
13089
|
+
[1m[35m (9.0ms)[0m commit transaction
|
13090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13091
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13092
|
+
- signin
|
13093
|
+
' WHERE "users"."id" = 6
|
13094
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13095
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
13096
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.7ms)
|
13097
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13098
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13099
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13100
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
13101
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13102
|
+
Processing by ExampleController#restricted as HTML
|
13103
|
+
Authenticating with gds_sso strategy
|
13104
|
+
Completed in 0ms
|
13105
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13106
|
+
Started GET "/auth/gds/callback?code=c0fbcd7c762b7a0f1e439ff7e39e74c2a1a78526d0642473833d65b25549b684&state=b6ffff171183348e6d8568776207c15cf270277d7b510ff5" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13107
|
+
Processing by AuthenticationsController#callback as HTML
|
13108
|
+
Parameters: {"code"=>"c0fbcd7c762b7a0f1e439ff7e39e74c2a1a78526d0642473833d65b25549b684", "state"=>"b6ffff171183348e6d8568776207c15cf270277d7b510ff5"}
|
13109
|
+
Authenticating with gds_sso strategy
|
13110
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13112
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13113
|
+
- signin
|
13114
|
+
' WHERE "users"."id" = 6[0m
|
13115
|
+
[1m[35m (6.8ms)[0m commit transaction
|
13116
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13117
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13118
|
+
- signin
|
13119
|
+
' WHERE "users"."id" = 6
|
13120
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
13121
|
+
Redirected to http://www.example-client.com/restricted
|
13122
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
13123
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13124
|
+
Processing by ExampleController#restricted as HTML
|
13125
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13126
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
13127
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13129
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
13130
|
+
- signin
|
13131
|
+
' WHERE "users"."id" = 6[0m
|
13132
|
+
[1m[35m (2.4ms)[0m commit transaction
|
13133
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13134
|
+
Processing by ExampleController#restricted as HTML
|
13135
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13136
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
13137
|
+
Completed 403 Forbidden in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
13138
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13139
|
+
Processing by AuthenticationsController#sign_out as HTML
|
13140
|
+
Redirected to http://localhost:4567/users/sign_out
|
13141
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
13142
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13143
|
+
Processing by ExampleController#restricted as HTML
|
13144
|
+
Authenticating with gds_sso strategy
|
13145
|
+
Completed in 0ms
|
13146
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13147
|
+
Started GET "/auth/gds/callback?code=cd42e54ed1b7b91bc13003e53cec47822e4a9227959dce2bcfc71446dcb1e40d&state=cf46fb43f1c3d8f0dafa6e1bd5d1ba4f9a340195058be373" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13148
|
+
Processing by AuthenticationsController#callback as HTML
|
13149
|
+
Parameters: {"code"=>"cd42e54ed1b7b91bc13003e53cec47822e4a9227959dce2bcfc71446dcb1e40d", "state"=>"cf46fb43f1c3d8f0dafa6e1bd5d1ba4f9a340195058be373"}
|
13150
|
+
Authenticating with gds_sso strategy
|
13151
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13152
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13153
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13154
|
+
- signin
|
13155
|
+
' WHERE "users"."id" = 6
|
13156
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
13157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13158
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
13159
|
+
- signin
|
13160
|
+
' WHERE "users"."id" = 6[0m
|
13161
|
+
[1m[35m (1.7ms)[0m commit transaction
|
13162
|
+
Redirected to http://www.example-client.com/restricted
|
13163
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.8ms)
|
13164
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13165
|
+
Processing by ExampleController#restricted as HTML
|
13166
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13167
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
13168
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13169
|
+
Processing by ExampleController#restricted as HTML
|
13170
|
+
Authenticating with gds_sso strategy
|
13171
|
+
Completed in 0ms
|
13172
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:19 +0000
|
13173
|
+
Started GET "/auth/gds/callback?code=5b4ee6d77c3ce6d000b49f6353e48ce9a3f8ac6581dec37a1e62305aad23f8fb&state=7c8c4f2a285b6684aec7f2b3132505442f524095f1484ee1" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13174
|
+
Processing by AuthenticationsController#callback as HTML
|
13175
|
+
Parameters: {"code"=>"5b4ee6d77c3ce6d000b49f6353e48ce9a3f8ac6581dec37a1e62305aad23f8fb", "state"=>"7c8c4f2a285b6684aec7f2b3132505442f524095f1484ee1"}
|
13176
|
+
Authenticating with gds_sso strategy
|
13177
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13179
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13180
|
+
- signin
|
13181
|
+
' WHERE "users"."id" = 6
|
13182
|
+
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
13183
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13184
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13185
|
+
- signin
|
13186
|
+
' WHERE "users"."id" = 6[0m
|
13187
|
+
[1m[35m (2.5ms)[0m commit transaction
|
13188
|
+
Redirected to http://www.example-client.com/restricted
|
13189
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.7ms)
|
13190
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13191
|
+
Processing by ExampleController#restricted as HTML
|
13192
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13193
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
13194
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-17 11:11:20 +0000
|
13195
|
+
Processing by ExampleController#restricted as HTML
|
13196
|
+
Authenticating with gds_sso strategy
|
13197
|
+
Completed in 1ms
|
13198
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-17 11:11:20 +0000
|
13199
|
+
Started GET "/auth/gds/callback?code=f6cd97c62ad6666ab939dfbc3e5bddb46488b41410bab6a0354f79ad6fd4e61d&state=51ad4118ea5293ec6e57635fda914ed64f9af5dd9e2a8fb2" for 127.0.0.1 at 2013-01-17 11:11:20 +0000
|
13200
|
+
Processing by AuthenticationsController#callback as HTML
|
13201
|
+
Parameters: {"code"=>"f6cd97c62ad6666ab939dfbc3e5bddb46488b41410bab6a0354f79ad6fd4e61d", "state"=>"51ad4118ea5293ec6e57635fda914ed64f9af5dd9e2a8fb2"}
|
13202
|
+
Authenticating with gds_sso strategy
|
13203
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13205
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13206
|
+
- signin
|
13207
|
+
' WHERE "users"."id" = 6
|
13208
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
13209
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13210
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13211
|
+
- signin
|
13212
|
+
' WHERE "users"."id" = 6[0m
|
13213
|
+
[1m[35m (1.8ms)[0m commit transaction
|
13214
|
+
Redirected to http://www.example-client.com/restricted
|
13215
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.3ms)
|
13216
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-17 11:11:20 +0000
|
13217
|
+
Processing by ExampleController#restricted as HTML
|
13218
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13219
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
13220
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13221
|
+
Processing by ExampleController#restricted as HTML
|
13222
|
+
Authenticating with gds_sso strategy
|
13223
|
+
Completed in 0ms
|
13224
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13225
|
+
Started GET "/auth/gds/callback?code=9b8000887993a7912fcd63290527539c9319bbad88d215e5184e655b0359c8ed&state=d48f3a49d5de4ad1daf9641733c661debb2f07a04d74e71b" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13226
|
+
Processing by AuthenticationsController#callback as HTML
|
13227
|
+
Parameters: {"code"=>"9b8000887993a7912fcd63290527539c9319bbad88d215e5184e655b0359c8ed", "state"=>"d48f3a49d5de4ad1daf9641733c661debb2f07a04d74e71b"}
|
13228
|
+
Authenticating with gds_sso strategy
|
13229
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13231
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13232
|
+
- signin
|
13233
|
+
' WHERE "users"."id" = 6
|
13234
|
+
[1m[36m (5.9ms)[0m [1mcommit transaction[0m
|
13235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13236
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13237
|
+
- signin
|
13238
|
+
' WHERE "users"."id" = 6[0m
|
13239
|
+
[1m[35m (1.7ms)[0m commit transaction
|
13240
|
+
Redirected to http://www.example-client.com/restricted
|
13241
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.7ms)
|
13242
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13243
|
+
Processing by ExampleController#restricted as HTML
|
13244
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13245
|
+
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
13246
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-17 11:01:20 +0000
|
13247
|
+
Processing by ExampleController#restricted as HTML
|
13248
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13249
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
13250
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13251
|
+
Processing by ExampleController#restricted as JSON
|
13252
|
+
Authenticating with gds_sso_api_access strategy
|
13253
|
+
Completed in 14ms
|
13254
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13255
|
+
Processing by ExampleController#restricted as JSON
|
13256
|
+
Authenticating with gds_sso_api_access strategy
|
13257
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
13258
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:06:20 +0000
|
13259
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
13260
|
+
Authenticating with gds_sso_api_access strategy
|
13261
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
13262
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:21 +0000
|
13263
|
+
Processing by ExampleController#restricted as JSON
|
13264
|
+
Authenticating with gds_bearer_token strategy
|
13265
|
+
Completed in 9ms
|
13266
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:06:21 +0000
|
13267
|
+
Processing by ExampleController#restricted as JSON
|
13268
|
+
Authenticating with gds_bearer_token strategy
|
13269
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13271
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13272
|
+
- signin
|
13273
|
+
' WHERE "users"."id" = 6[0m
|
13274
|
+
[1m[35m (8.9ms)[0m commit transaction
|
13275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13276
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13277
|
+
- signin
|
13278
|
+
' WHERE "users"."id" = 6
|
13279
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
13280
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 12.2ms)
|
13281
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:06:21 +0000
|
13282
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
13283
|
+
Authenticating with gds_bearer_token strategy
|
13284
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13286
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13287
|
+
- signin
|
13288
|
+
' WHERE "users"."id" = 6
|
13289
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
13290
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13291
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13292
|
+
- signin
|
13293
|
+
' WHERE "users"."id" = 6[0m
|
13294
|
+
[1m[35m (2.1ms)[0m commit transaction
|
13295
|
+
Completed 200 OK in 47ms (Views: 0.7ms | ActiveRecord: 11.7ms)
|
13296
|
+
Connecting to database specified by database.yml
|
13297
|
+
[1m[36m (73.9ms)[0m [1mselect sqlite_version(*)[0m
|
13298
|
+
[1m[35m (18.1ms)[0m CREATE 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)
|
13299
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13300
|
+
[1m[35m (2.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
13301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13302
|
+
[1m[35mSQL (94.0ms)[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", "a1s2d39985"]]
|
13303
|
+
[1m[36m (10.8ms)[0m [1mcommit transaction[0m
|
13304
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
13305
|
+
Processing by Api::UserController#update as HTML
|
13306
|
+
Parameters: {"uid"=>"a1s2d39985"}
|
13307
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (77.6ms)
|
13308
|
+
Completed 403 Forbidden in 181ms (Views: 180.2ms | ActiveRecord: 0.0ms)
|
13309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13310
|
+
[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", "a1s2d31421"]]
|
13311
|
+
[1m[35m (5.2ms)[0m commit transaction
|
13312
|
+
Processing by Api::UserController#update as HTML
|
13313
|
+
Parameters: {"uid"=>"a1s2d31421"}
|
13314
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31421' LIMIT 1[0m
|
13315
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13316
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
13317
|
+
- signin
|
13318
|
+
- new permission
|
13319
|
+
' WHERE "users"."id" = 2[0m
|
13320
|
+
[1m[35m (2.3ms)[0m commit transaction
|
13321
|
+
Completed 200 OK in 41ms (ActiveRecord: 3.1ms)
|
13322
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
13323
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13324
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d35356"]]
|
13325
|
+
[1m[35m (11.6ms)[0m commit transaction
|
13326
|
+
Processing by Api::UserController#update as HTML
|
13327
|
+
Parameters: {"uid"=>"a1s2d35356"}
|
13328
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35356' LIMIT 1[0m
|
13329
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13330
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
13331
|
+
- signin
|
13332
|
+
- new permission
|
13333
|
+
' WHERE "users"."id" = 3[0m
|
13334
|
+
[1m[35m (39.3ms)[0m commit transaction
|
13335
|
+
Completed 200 OK in 43ms (ActiveRecord: 39.9ms)
|
13336
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
13337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13338
|
+
[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", "a1s2d38864"]]
|
13339
|
+
[1m[35m (9.4ms)[0m commit transaction
|
13340
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
13341
|
+
Processing by Api::UserController#reauth as HTML
|
13342
|
+
Parameters: {"uid"=>"a1s2d38864"}
|
13343
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
13344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13345
|
+
[1m[35mSQL (0.4ms)[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", "a1s2d38415"]]
|
13346
|
+
[1m[36m (12.2ms)[0m [1mcommit transaction[0m
|
13347
|
+
Processing by Api::UserController#reauth as HTML
|
13348
|
+
Parameters: {"uid"=>"a1s2d38415"}
|
13349
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38415' LIMIT 1
|
13350
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13351
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
13352
|
+
- signin
|
13353
|
+
' WHERE "users"."id" = 5
|
13354
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
13355
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.2ms)
|
13356
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
13357
|
+
Started GET "/" for 127.0.0.1 at 2013-01-16 15:20:42 +0000
|
13358
|
+
Processing by ExampleController#index as HTML
|
13359
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
13360
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:42 +0000
|
13361
|
+
Processing by ExampleController#restricted as HTML
|
13362
|
+
Authenticating with gds_sso strategy
|
13363
|
+
Completed in 62ms
|
13364
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:42 +0000
|
13365
|
+
Started GET "/auth/gds/callback?code=565cc70dece3e2b6e0307ebadb10eac5c81e07a98fc7d863d6bd5ad371aa62f9&state=e1f49a92b6f3ab828142f10559beeede0367f6bce879f327" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13366
|
+
Processing by AuthenticationsController#callback as HTML
|
13367
|
+
Parameters: {"code"=>"565cc70dece3e2b6e0307ebadb10eac5c81e07a98fc7d863d6bd5ad371aa62f9", "state"=>"e1f49a92b6f3ab828142f10559beeede0367f6bce879f327"}
|
13368
|
+
Authenticating with gds_sso strategy
|
13369
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
13372
|
+
[1m[35m (5.9ms)[0m commit transaction
|
13373
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13374
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
13375
|
+
- signin
|
13376
|
+
' WHERE "users"."id" = 6
|
13377
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
13378
|
+
Redirected to http://www.example-client.com/restricted
|
13379
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.5ms)
|
13380
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13381
|
+
Processing by ExampleController#restricted as HTML
|
13382
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13383
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
13384
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13385
|
+
Processing by ExampleController#restricted as HTML
|
13386
|
+
Authenticating with gds_sso strategy
|
13387
|
+
Completed in 0ms
|
13388
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13389
|
+
Started GET "/auth/gds/callback?code=ed4d832e30b497e012479c0404fddd78c01acb70f310b4ce17fb828848f8101b&state=b9dc255a101da52b8073f9533edad6891af4b81ea10cceb3" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13390
|
+
Processing by AuthenticationsController#callback as HTML
|
13391
|
+
Parameters: {"code"=>"ed4d832e30b497e012479c0404fddd78c01acb70f310b4ce17fb828848f8101b", "state"=>"b9dc255a101da52b8073f9533edad6891af4b81ea10cceb3"}
|
13392
|
+
Authenticating with gds_sso strategy
|
13393
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13394
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13395
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13396
|
+
- signin
|
13397
|
+
' WHERE "users"."id" = 6[0m
|
13398
|
+
[1m[35m (6.5ms)[0m commit transaction
|
13399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13400
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13401
|
+
- signin
|
13402
|
+
' WHERE "users"."id" = 6
|
13403
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
13404
|
+
Redirected to http://www.example-client.com/restricted
|
13405
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.2ms)
|
13406
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13407
|
+
Processing by ExampleController#restricted as HTML
|
13408
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13409
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
13410
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13411
|
+
Processing by ExampleController#restricted as HTML
|
13412
|
+
Authenticating with gds_sso strategy
|
13413
|
+
Completed in 0ms
|
13414
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13415
|
+
Started GET "/auth/gds/callback?code=7a68f96c80f8a6f7c49020109c7e5e4754ce752fa7862e4a5dc3b35307cb7df3&state=db019f3892155784886325fa1c9c497a4dad13abcd758b1a" for 127.0.0.1 at 2013-01-16 15:20:44 +0000
|
13416
|
+
Processing by AuthenticationsController#callback as HTML
|
13417
|
+
Parameters: {"code"=>"7a68f96c80f8a6f7c49020109c7e5e4754ce752fa7862e4a5dc3b35307cb7df3", "state"=>"db019f3892155784886325fa1c9c497a4dad13abcd758b1a"}
|
13418
|
+
Authenticating with gds_sso strategy
|
13419
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13421
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13422
|
+
- signin
|
13423
|
+
' WHERE "users"."id" = 6[0m
|
13424
|
+
[1m[35m (9.1ms)[0m commit transaction
|
13425
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13426
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13427
|
+
- signin
|
13428
|
+
' WHERE "users"."id" = 6
|
13429
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13430
|
+
Redirected to http://www.example-client.com/restricted
|
13431
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.8ms)
|
13432
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13433
|
+
Processing by ExampleController#restricted as HTML
|
13434
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13435
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
13436
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13437
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13438
|
+
Authenticating with gds_sso strategy
|
13439
|
+
Completed in 1ms
|
13440
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13441
|
+
Started GET "/auth/gds/callback?code=982d046bd35b1ff5f6065d72d3040d70cb7d943ef7ea18ca49e7c751c6feff1c&state=541b19ce8cbdb0fb7b8ac7c7c9acde04e7cdf1d00c70de74" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13442
|
+
Processing by AuthenticationsController#callback as HTML
|
13443
|
+
Parameters: {"code"=>"982d046bd35b1ff5f6065d72d3040d70cb7d943ef7ea18ca49e7c751c6feff1c", "state"=>"541b19ce8cbdb0fb7b8ac7c7c9acde04e7cdf1d00c70de74"}
|
13444
|
+
Authenticating with gds_sso strategy
|
13445
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13447
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13448
|
+
- signin
|
13449
|
+
' WHERE "users"."id" = 6[0m
|
13450
|
+
[1m[35m (7.2ms)[0m commit transaction
|
13451
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13452
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13453
|
+
- signin
|
13454
|
+
' WHERE "users"."id" = 6
|
13455
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
13456
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
13457
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.6ms)
|
13458
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13459
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13460
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13461
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
13462
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13463
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13464
|
+
Authenticating with gds_sso strategy
|
13465
|
+
Completed in 0ms
|
13466
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13467
|
+
Started GET "/auth/gds/callback?code=1bc6c08adb1eab2083a56907a2aeeeb394b1b367fb6075eb0812dee1e36581d7&state=6edf89cdbd94b2e8b7a6e7f5bc735887295d977789efafb8" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13468
|
+
Processing by AuthenticationsController#callback as HTML
|
13469
|
+
Parameters: {"code"=>"1bc6c08adb1eab2083a56907a2aeeeb394b1b367fb6075eb0812dee1e36581d7", "state"=>"6edf89cdbd94b2e8b7a6e7f5bc735887295d977789efafb8"}
|
13470
|
+
Authenticating with gds_sso strategy
|
13471
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13473
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13474
|
+
- signin
|
13475
|
+
' WHERE "users"."id" = 6[0m
|
13476
|
+
[1m[35m (8.7ms)[0m commit transaction
|
13477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13478
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13479
|
+
- signin
|
13480
|
+
' WHERE "users"."id" = 6
|
13481
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
13482
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
13483
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.3ms)
|
13484
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13485
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13486
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13487
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
13488
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13489
|
+
Processing by ExampleController#restricted as HTML
|
13490
|
+
Authenticating with gds_sso strategy
|
13491
|
+
Completed in 0ms
|
13492
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:45 +0000
|
13493
|
+
Started GET "/auth/gds/callback?code=fcf120b959b8bb2e670d9bbc292a64820c372dd357fd4448017d2f5957b6b3ce&state=46489f2b4a8f34af0fb7dd1de3e17a37ca0e541d9082cbcb" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13494
|
+
Processing by AuthenticationsController#callback as HTML
|
13495
|
+
Parameters: {"code"=>"fcf120b959b8bb2e670d9bbc292a64820c372dd357fd4448017d2f5957b6b3ce", "state"=>"46489f2b4a8f34af0fb7dd1de3e17a37ca0e541d9082cbcb"}
|
13496
|
+
Authenticating with gds_sso strategy
|
13497
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13499
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13500
|
+
- signin
|
13501
|
+
' WHERE "users"."id" = 6[0m
|
13502
|
+
[1m[35m (6.4ms)[0m commit transaction
|
13503
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13504
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13505
|
+
- signin
|
13506
|
+
' WHERE "users"."id" = 6
|
13507
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
13508
|
+
Redirected to http://www.example-client.com/restricted
|
13509
|
+
Completed 302 Found in 14ms (ActiveRecord: 9.0ms)
|
13510
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13511
|
+
Processing by ExampleController#restricted as HTML
|
13512
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13513
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
13514
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13515
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13516
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
13517
|
+
- signin
|
13518
|
+
' WHERE "users"."id" = 6[0m
|
13519
|
+
[1m[35m (1.8ms)[0m commit transaction
|
13520
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13521
|
+
Processing by ExampleController#restricted as HTML
|
13522
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13523
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
13524
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
13525
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13526
|
+
Processing by AuthenticationsController#sign_out as HTML
|
13527
|
+
Redirected to http://localhost:4567/users/sign_out
|
13528
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
13529
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13530
|
+
Processing by ExampleController#restricted as HTML
|
13531
|
+
Authenticating with gds_sso strategy
|
13532
|
+
Completed in 0ms
|
13533
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13534
|
+
Started GET "/auth/gds/callback?code=2810a5163604bfafb053187781bc621f5321a6ba3e6ce7a29831a75b56205ccb&state=bf1655ff7ec72be2e0f19988a19d97ec6fcf37b2ba56829a" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13535
|
+
Processing by AuthenticationsController#callback as HTML
|
13536
|
+
Parameters: {"code"=>"2810a5163604bfafb053187781bc621f5321a6ba3e6ce7a29831a75b56205ccb", "state"=>"bf1655ff7ec72be2e0f19988a19d97ec6fcf37b2ba56829a"}
|
13537
|
+
Authenticating with gds_sso strategy
|
13538
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13539
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13540
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13541
|
+
- signin
|
13542
|
+
' WHERE "users"."id" = 6
|
13543
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
13544
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13545
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
13546
|
+
- signin
|
13547
|
+
' WHERE "users"."id" = 6[0m
|
13548
|
+
[1m[35m (2.6ms)[0m commit transaction
|
13549
|
+
Redirected to http://www.example-client.com/restricted
|
13550
|
+
Completed 302 Found in 15ms (ActiveRecord: 11.2ms)
|
13551
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13552
|
+
Processing by ExampleController#restricted as HTML
|
13553
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13554
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
13555
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13556
|
+
Processing by ExampleController#restricted as HTML
|
13557
|
+
Authenticating with gds_sso strategy
|
13558
|
+
Completed in 0ms
|
13559
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13560
|
+
Started GET "/auth/gds/callback?code=3a554bc238856861f74ed873c9f30e2a9162ef8510d52e87f21a92b16a35c019&state=71780f7a407e2724fc7a01694016e24481e50681c8cc6da7" for 127.0.0.1 at 2013-01-16 15:20:46 +0000
|
13561
|
+
Processing by AuthenticationsController#callback as HTML
|
13562
|
+
Parameters: {"code"=>"3a554bc238856861f74ed873c9f30e2a9162ef8510d52e87f21a92b16a35c019", "state"=>"71780f7a407e2724fc7a01694016e24481e50681c8cc6da7"}
|
13563
|
+
Authenticating with gds_sso strategy
|
13564
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13565
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13566
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13567
|
+
- signin
|
13568
|
+
' WHERE "users"."id" = 6
|
13569
|
+
[1m[36m (6.4ms)[0m [1mcommit transaction[0m
|
13570
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13571
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13572
|
+
- signin
|
13573
|
+
' WHERE "users"."id" = 6[0m
|
13574
|
+
[1m[35m (1.8ms)[0m commit transaction
|
13575
|
+
Redirected to http://www.example-client.com/restricted
|
13576
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.2ms)
|
13577
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13578
|
+
Processing by ExampleController#restricted as HTML
|
13579
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13580
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
13581
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-17 11:25:47 +0000
|
13582
|
+
Processing by ExampleController#restricted as HTML
|
13583
|
+
Authenticating with gds_sso strategy
|
13584
|
+
Completed in 0ms
|
13585
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-17 11:25:47 +0000
|
13586
|
+
Started GET "/auth/gds/callback?code=8bcf8fdd0c3f1072f7af3c649b988248d7e580a38fb6ed4b9c24fbb7e83095f0&state=ecc133bba04bed8c224b0a353896fe347358a633c59ad5b7" for 127.0.0.1 at 2013-01-17 11:25:47 +0000
|
13587
|
+
Processing by AuthenticationsController#callback as HTML
|
13588
|
+
Parameters: {"code"=>"8bcf8fdd0c3f1072f7af3c649b988248d7e580a38fb6ed4b9c24fbb7e83095f0", "state"=>"ecc133bba04bed8c224b0a353896fe347358a633c59ad5b7"}
|
13589
|
+
Authenticating with gds_sso strategy
|
13590
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13592
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13593
|
+
- signin
|
13594
|
+
' WHERE "users"."id" = 6
|
13595
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
13596
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13597
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13598
|
+
- signin
|
13599
|
+
' WHERE "users"."id" = 6[0m
|
13600
|
+
[1m[35m (1.7ms)[0m commit transaction
|
13601
|
+
Redirected to http://www.example-client.com/restricted
|
13602
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.5ms)
|
13603
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-17 11:25:47 +0000
|
13604
|
+
Processing by ExampleController#restricted as HTML
|
13605
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13606
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
13607
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13608
|
+
Processing by ExampleController#restricted as HTML
|
13609
|
+
Authenticating with gds_sso strategy
|
13610
|
+
Completed in 0ms
|
13611
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13612
|
+
Started GET "/auth/gds/callback?code=a7d943e399888be0175d7a5617c90a10395c2b4d63cf066688f0e1b845c0c358&state=65638440682f327ca117b6a7dbeb7ad744b052956db337ab" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13613
|
+
Processing by AuthenticationsController#callback as HTML
|
13614
|
+
Parameters: {"code"=>"a7d943e399888be0175d7a5617c90a10395c2b4d63cf066688f0e1b845c0c358", "state"=>"65638440682f327ca117b6a7dbeb7ad744b052956db337ab"}
|
13615
|
+
Authenticating with gds_sso strategy
|
13616
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13617
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13618
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13619
|
+
- signin
|
13620
|
+
' WHERE "users"."id" = 6
|
13621
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
13622
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13623
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13624
|
+
- signin
|
13625
|
+
' WHERE "users"."id" = 6[0m
|
13626
|
+
[1m[35m (1.7ms)[0m commit transaction
|
13627
|
+
Redirected to http://www.example-client.com/restricted
|
13628
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.9ms)
|
13629
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13630
|
+
Processing by ExampleController#restricted as HTML
|
13631
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13632
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
13633
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-17 11:15:47 +0000
|
13634
|
+
Processing by ExampleController#restricted as HTML
|
13635
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13636
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
13637
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13638
|
+
Processing by ExampleController#restricted as JSON
|
13639
|
+
Authenticating with gds_sso_api_access strategy
|
13640
|
+
Completed in 15ms
|
13641
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13642
|
+
Processing by ExampleController#restricted as JSON
|
13643
|
+
Authenticating with gds_sso_api_access strategy
|
13644
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
13645
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13646
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
13647
|
+
Authenticating with gds_sso_api_access strategy
|
13648
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
13649
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13650
|
+
Processing by ExampleController#restricted as JSON
|
13651
|
+
Authenticating with gds_bearer_token strategy
|
13652
|
+
Completed in 9ms
|
13653
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13654
|
+
Processing by ExampleController#restricted as JSON
|
13655
|
+
Authenticating with gds_bearer_token strategy
|
13656
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13658
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13659
|
+
- signin
|
13660
|
+
' WHERE "users"."id" = 6[0m
|
13661
|
+
[1m[35m (8.5ms)[0m commit transaction
|
13662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13663
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13664
|
+
- signin
|
13665
|
+
' WHERE "users"."id" = 6
|
13666
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
13667
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 11.8ms)
|
13668
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-16 15:20:47 +0000
|
13669
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
13670
|
+
Authenticating with gds_bearer_token strategy
|
13671
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13673
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13674
|
+
- signin
|
13675
|
+
' WHERE "users"."id" = 6
|
13676
|
+
[1m[36m (8.3ms)[0m [1mcommit transaction[0m
|
13677
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13678
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13679
|
+
- signin
|
13680
|
+
' WHERE "users"."id" = 6[0m
|
13681
|
+
[1m[35m (1.8ms)[0m commit transaction
|
13682
|
+
Completed 200 OK in 57ms (Views: 0.6ms | ActiveRecord: 11.0ms)
|
13683
|
+
Connecting to database specified by database.yml
|
13684
|
+
[1m[36m (83.0ms)[0m [1mselect sqlite_version(*)[0m
|
13685
|
+
[1m[35m (19.9ms)[0m CREATE 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)
|
13686
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13687
|
+
[1m[35m (2.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
13688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13689
|
+
[1m[35mSQL (82.8ms)[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", "a1s2d36126"]]
|
13690
|
+
[1m[36m (7.8ms)[0m [1mcommit transaction[0m
|
13691
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
13692
|
+
Processing by Api::UserController#update as HTML
|
13693
|
+
Parameters: {"uid"=>"a1s2d36126"}
|
13694
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (35.3ms)
|
13695
|
+
Completed 403 Forbidden in 88ms (Views: 87.3ms | ActiveRecord: 0.0ms)
|
13696
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13697
|
+
[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", "a1s2d36762"]]
|
13698
|
+
[1m[35m (2.2ms)[0m commit transaction
|
13699
|
+
Processing by Api::UserController#update as HTML
|
13700
|
+
Parameters: {"uid"=>"a1s2d36762"}
|
13701
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36762' LIMIT 1[0m
|
13702
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13703
|
+
[1m[36m (10.4ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
13704
|
+
- signin
|
13705
|
+
- new permission
|
13706
|
+
' WHERE "users"."id" = 2[0m
|
13707
|
+
[1m[35m (2.4ms)[0m commit transaction
|
13708
|
+
Completed 200 OK in 39ms (ActiveRecord: 13.1ms)
|
13709
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
13710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13711
|
+
[1m[36mSQL (0.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", "a1s2d361"]]
|
13712
|
+
[1m[35m (14.4ms)[0m commit transaction
|
13713
|
+
Processing by Api::UserController#update as HTML
|
13714
|
+
Parameters: {"uid"=>"a1s2d361"}
|
13715
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d361' LIMIT 1[0m
|
13716
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13717
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
13718
|
+
- signin
|
13719
|
+
- new permission
|
13720
|
+
' WHERE "users"."id" = 3[0m
|
13721
|
+
[1m[35m (4.3ms)[0m commit transaction
|
13722
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
|
13723
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
13724
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13725
|
+
[1m[36mSQL (0.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", "a1s2d36277"]]
|
13726
|
+
[1m[35m (5.6ms)[0m commit transaction
|
13727
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
13728
|
+
Processing by Api::UserController#reauth as HTML
|
13729
|
+
Parameters: {"uid"=>"a1s2d36277"}
|
13730
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
13731
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13732
|
+
[1m[35mSQL (10.4ms)[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", "a1s2d37143"]]
|
13733
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13734
|
+
Processing by Api::UserController#reauth as HTML
|
13735
|
+
Parameters: {"uid"=>"a1s2d37143"}
|
13736
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37143' LIMIT 1
|
13737
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13738
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
13739
|
+
- signin
|
13740
|
+
' WHERE "users"."id" = 5
|
13741
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13742
|
+
Completed 200 OK in 5ms (ActiveRecord: 2.4ms)
|
13743
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
13744
|
+
Started GET "/" for 127.0.0.1 at 2013-01-21 11:16:08 +0000
|
13745
|
+
Processing by ExampleController#index as HTML
|
13746
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
13747
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:09 +0000
|
13748
|
+
Processing by ExampleController#restricted as HTML
|
13749
|
+
Authenticating with gds_sso strategy
|
13750
|
+
Completed in 110ms
|
13751
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:09 +0000
|
13752
|
+
Started GET "/auth/gds/callback?code=5f614621d6f792b52ea178a81fbe81d629f5c22cde63e776a68ff8c68ce7d013&state=a3d9b4505421d3b8c7a1cc9c7e8335eb239d979669712cb2" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13753
|
+
Processing by AuthenticationsController#callback as HTML
|
13754
|
+
Parameters: {"code"=>"5f614621d6f792b52ea178a81fbe81d629f5c22cde63e776a68ff8c68ce7d013", "state"=>"a3d9b4505421d3b8c7a1cc9c7e8335eb239d979669712cb2"}
|
13755
|
+
Authenticating with gds_sso strategy
|
13756
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13758
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
13759
|
+
[1m[35m (6.0ms)[0m commit transaction
|
13760
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13761
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
13762
|
+
- signin
|
13763
|
+
' WHERE "users"."id" = 6
|
13764
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
13765
|
+
Redirected to http://www.example-client.com/restricted
|
13766
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.5ms)
|
13767
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13768
|
+
Processing by ExampleController#restricted as HTML
|
13769
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13770
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
13771
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13772
|
+
Processing by ExampleController#restricted as HTML
|
13773
|
+
Authenticating with gds_sso strategy
|
13774
|
+
Completed in 0ms
|
13775
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13776
|
+
Started GET "/auth/gds/callback?code=3a882a7b680e16b0e4b661dce6767a0511078518b5f50d78a817a408cfaed8b6&state=a426786ac466a82a4a24a905d643f35dbdb86a269481330f" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13777
|
+
Processing by AuthenticationsController#callback as HTML
|
13778
|
+
Parameters: {"code"=>"3a882a7b680e16b0e4b661dce6767a0511078518b5f50d78a817a408cfaed8b6", "state"=>"a426786ac466a82a4a24a905d643f35dbdb86a269481330f"}
|
13779
|
+
Authenticating with gds_sso strategy
|
13780
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13781
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13782
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13783
|
+
- signin
|
13784
|
+
' WHERE "users"."id" = 6[0m
|
13785
|
+
[1m[35m (6.7ms)[0m commit transaction
|
13786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13787
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13788
|
+
- signin
|
13789
|
+
' WHERE "users"."id" = 6
|
13790
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
13791
|
+
Redirected to http://www.example-client.com/restricted
|
13792
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.5ms)
|
13793
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13794
|
+
Processing by ExampleController#restricted as HTML
|
13795
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13796
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
13797
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13798
|
+
Processing by ExampleController#restricted as HTML
|
13799
|
+
Authenticating with gds_sso strategy
|
13800
|
+
Completed in 0ms
|
13801
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:11 +0000
|
13802
|
+
Started GET "/auth/gds/callback?code=c8591c45a85522fddca345fbc77b4dcd6c5bca801c1c3dd87c313fb0e5a86e2b&state=ba2e54754f6ac9f09f40ee87770faedb91ac40c33e73182a" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13803
|
+
Processing by AuthenticationsController#callback as HTML
|
13804
|
+
Parameters: {"code"=>"c8591c45a85522fddca345fbc77b4dcd6c5bca801c1c3dd87c313fb0e5a86e2b", "state"=>"ba2e54754f6ac9f09f40ee87770faedb91ac40c33e73182a"}
|
13805
|
+
Authenticating with gds_sso strategy
|
13806
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13807
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13808
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13809
|
+
- signin
|
13810
|
+
' WHERE "users"."id" = 6[0m
|
13811
|
+
[1m[35m (7.7ms)[0m commit transaction
|
13812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13813
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
13814
|
+
- signin
|
13815
|
+
' WHERE "users"."id" = 6
|
13816
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
13817
|
+
Redirected to http://www.example-client.com/restricted
|
13818
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.3ms)
|
13819
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13820
|
+
Processing by ExampleController#restricted as HTML
|
13821
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13822
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
13823
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13824
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13825
|
+
Authenticating with gds_sso strategy
|
13826
|
+
Completed in 1ms
|
13827
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13828
|
+
Started GET "/auth/gds/callback?code=91086f1c9470a521e3f21de1e6774b16f14c83f98a1050c97f20d10cec726d33&state=8182ac1171ac0f992f782958daca0668c5417ebac9e00752" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13829
|
+
Processing by AuthenticationsController#callback as HTML
|
13830
|
+
Parameters: {"code"=>"91086f1c9470a521e3f21de1e6774b16f14c83f98a1050c97f20d10cec726d33", "state"=>"8182ac1171ac0f992f782958daca0668c5417ebac9e00752"}
|
13831
|
+
Authenticating with gds_sso strategy
|
13832
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13833
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13834
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13835
|
+
- signin
|
13836
|
+
' WHERE "users"."id" = 6[0m
|
13837
|
+
[1m[35m (6.8ms)[0m commit transaction
|
13838
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13839
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13840
|
+
- signin
|
13841
|
+
' WHERE "users"."id" = 6
|
13842
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13843
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
13844
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.7ms)
|
13845
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13846
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13847
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13848
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
13849
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13850
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13851
|
+
Authenticating with gds_sso strategy
|
13852
|
+
Completed in 0ms
|
13853
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13854
|
+
Started GET "/auth/gds/callback?code=b180a2b7ba2e22ce4d9076ad52b5e5860bcf618102c19489a8ec494e20e92609&state=8a4697a13d5b7b9641819aaddc744f3dad7f1d24e2e1d1b3" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13855
|
+
Processing by AuthenticationsController#callback as HTML
|
13856
|
+
Parameters: {"code"=>"b180a2b7ba2e22ce4d9076ad52b5e5860bcf618102c19489a8ec494e20e92609", "state"=>"8a4697a13d5b7b9641819aaddc744f3dad7f1d24e2e1d1b3"}
|
13857
|
+
Authenticating with gds_sso strategy
|
13858
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13860
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13861
|
+
- signin
|
13862
|
+
' WHERE "users"."id" = 6[0m
|
13863
|
+
[1m[35m (8.9ms)[0m commit transaction
|
13864
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13865
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
13866
|
+
- signin
|
13867
|
+
' WHERE "users"."id" = 6
|
13868
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
13869
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
13870
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.7ms)
|
13871
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13872
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
13873
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13874
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
13875
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13876
|
+
Processing by ExampleController#restricted as HTML
|
13877
|
+
Authenticating with gds_sso strategy
|
13878
|
+
Completed in 0ms
|
13879
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:12 +0000
|
13880
|
+
Started GET "/auth/gds/callback?code=1d539617b6029d57ec0a6bb4cba79d9c1dfe12218e7bfce39cdb1784539d00ab&state=4458b87e6cb77bbc1c7068632192970182f420765bb227a8" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13881
|
+
Processing by AuthenticationsController#callback as HTML
|
13882
|
+
Parameters: {"code"=>"1d539617b6029d57ec0a6bb4cba79d9c1dfe12218e7bfce39cdb1784539d00ab", "state"=>"4458b87e6cb77bbc1c7068632192970182f420765bb227a8"}
|
13883
|
+
Authenticating with gds_sso strategy
|
13884
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13885
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13886
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13887
|
+
- signin
|
13888
|
+
' WHERE "users"."id" = 6[0m
|
13889
|
+
[1m[35m (7.2ms)[0m commit transaction
|
13890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13891
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
13892
|
+
- signin
|
13893
|
+
' WHERE "users"."id" = 6
|
13894
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
13895
|
+
Redirected to http://www.example-client.com/restricted
|
13896
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.0ms)
|
13897
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13898
|
+
Processing by ExampleController#restricted as HTML
|
13899
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13900
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
13901
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13902
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13903
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
13904
|
+
- signin
|
13905
|
+
' WHERE "users"."id" = 6[0m
|
13906
|
+
[1m[35m (2.5ms)[0m commit transaction
|
13907
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13908
|
+
Processing by ExampleController#restricted as HTML
|
13909
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13910
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
13911
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
13912
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13913
|
+
Processing by AuthenticationsController#sign_out as HTML
|
13914
|
+
Redirected to http://localhost:4567/users/sign_out
|
13915
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
13916
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13917
|
+
Processing by ExampleController#restricted as HTML
|
13918
|
+
Authenticating with gds_sso strategy
|
13919
|
+
Completed in 0ms
|
13920
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13921
|
+
Started GET "/auth/gds/callback?code=b9f6b6048d29ce9037fcb354447bbd0766c17effe3693465aacf4775f9df8024&state=c47264b1f33cfa9029a92d81eaa4638870011d2d01f9a82b" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13922
|
+
Processing by AuthenticationsController#callback as HTML
|
13923
|
+
Parameters: {"code"=>"b9f6b6048d29ce9037fcb354447bbd0766c17effe3693465aacf4775f9df8024", "state"=>"c47264b1f33cfa9029a92d81eaa4638870011d2d01f9a82b"}
|
13924
|
+
Authenticating with gds_sso strategy
|
13925
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13927
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13928
|
+
- signin
|
13929
|
+
' WHERE "users"."id" = 6
|
13930
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
13931
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13932
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
13933
|
+
- signin
|
13934
|
+
' WHERE "users"."id" = 6[0m
|
13935
|
+
[1m[35m (1.9ms)[0m commit transaction
|
13936
|
+
Redirected to http://www.example-client.com/restricted
|
13937
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.6ms)
|
13938
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13939
|
+
Processing by ExampleController#restricted as HTML
|
13940
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13941
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
13942
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13943
|
+
Processing by ExampleController#restricted as HTML
|
13944
|
+
Authenticating with gds_sso strategy
|
13945
|
+
Completed in 0ms
|
13946
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:13 +0000
|
13947
|
+
Started GET "/auth/gds/callback?code=ba690f3c571911a39a3960d401f3d8ec092b4e0122f642b883f9a2ab8ad8d8cf&state=11c2541e3e960276e5a93a4b1d96a1370e08343b87185855" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
13948
|
+
Processing by AuthenticationsController#callback as HTML
|
13949
|
+
Parameters: {"code"=>"ba690f3c571911a39a3960d401f3d8ec092b4e0122f642b883f9a2ab8ad8d8cf", "state"=>"11c2541e3e960276e5a93a4b1d96a1370e08343b87185855"}
|
13950
|
+
Authenticating with gds_sso strategy
|
13951
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13952
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13953
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13954
|
+
- signin
|
13955
|
+
' WHERE "users"."id" = 6
|
13956
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
13957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13958
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13959
|
+
- signin
|
13960
|
+
' WHERE "users"."id" = 6[0m
|
13961
|
+
[1m[35m (1.8ms)[0m commit transaction
|
13962
|
+
Redirected to http://www.example-client.com/restricted
|
13963
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.6ms)
|
13964
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
13965
|
+
Processing by ExampleController#restricted as HTML
|
13966
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13967
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
13968
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 07:21:14 +0000
|
13969
|
+
Processing by ExampleController#restricted as HTML
|
13970
|
+
Authenticating with gds_sso strategy
|
13971
|
+
Completed in 0ms
|
13972
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-22 07:21:14 +0000
|
13973
|
+
Started GET "/auth/gds/callback?code=e3d51fc521a522fce44a11795c15b6d97f27c2f604401bcc7b267d65c6fbbf81&state=6e5d4e991ee95b86438f4cdce5f2509027d008defbedccad" for 127.0.0.1 at 2013-01-22 07:21:14 +0000
|
13974
|
+
Processing by AuthenticationsController#callback as HTML
|
13975
|
+
Parameters: {"code"=>"e3d51fc521a522fce44a11795c15b6d97f27c2f604401bcc7b267d65c6fbbf81", "state"=>"6e5d4e991ee95b86438f4cdce5f2509027d008defbedccad"}
|
13976
|
+
Authenticating with gds_sso strategy
|
13977
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
13978
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13979
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
13980
|
+
- signin
|
13981
|
+
' WHERE "users"."id" = 6
|
13982
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
13983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13984
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
13985
|
+
- signin
|
13986
|
+
' WHERE "users"."id" = 6[0m
|
13987
|
+
[1m[35m (1.8ms)[0m commit transaction
|
13988
|
+
Redirected to http://www.example-client.com/restricted
|
13989
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.7ms)
|
13990
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 07:21:14 +0000
|
13991
|
+
Processing by ExampleController#restricted as HTML
|
13992
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
13993
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
13994
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
13995
|
+
Processing by ExampleController#restricted as HTML
|
13996
|
+
Authenticating with gds_sso strategy
|
13997
|
+
Completed in 0ms
|
13998
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
13999
|
+
Started GET "/auth/gds/callback?code=f16fec56884b5dc783fb8488b2e85db911a1ee953e5e69ef4c1fae25557918c3&state=c03271c8e2a7f0a6260d5241b3207637047aee099256e0ce" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
14000
|
+
Processing by AuthenticationsController#callback as HTML
|
14001
|
+
Parameters: {"code"=>"f16fec56884b5dc783fb8488b2e85db911a1ee953e5e69ef4c1fae25557918c3", "state"=>"c03271c8e2a7f0a6260d5241b3207637047aee099256e0ce"}
|
14002
|
+
Authenticating with gds_sso strategy
|
14003
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14005
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14006
|
+
- signin
|
14007
|
+
' WHERE "users"."id" = 6
|
14008
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
14009
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14010
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14011
|
+
- signin
|
14012
|
+
' WHERE "users"."id" = 6[0m
|
14013
|
+
[1m[35m (2.1ms)[0m commit transaction
|
14014
|
+
Redirected to http://www.example-client.com/restricted
|
14015
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.2ms)
|
14016
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
14017
|
+
Processing by ExampleController#restricted as HTML
|
14018
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14019
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14020
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 07:11:14 +0000
|
14021
|
+
Processing by ExampleController#restricted as HTML
|
14022
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14023
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
14024
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
14025
|
+
Processing by ExampleController#restricted as JSON
|
14026
|
+
Authenticating with gds_sso_api_access strategy
|
14027
|
+
Completed in 15ms
|
14028
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
14029
|
+
Processing by ExampleController#restricted as JSON
|
14030
|
+
Authenticating with gds_sso_api_access strategy
|
14031
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
14032
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 11:16:14 +0000
|
14033
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
14034
|
+
Authenticating with gds_sso_api_access strategy
|
14035
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
14036
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:15 +0000
|
14037
|
+
Processing by ExampleController#restricted as JSON
|
14038
|
+
Authenticating with gds_bearer_token strategy
|
14039
|
+
Completed in 9ms
|
14040
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 11:16:15 +0000
|
14041
|
+
Processing by ExampleController#restricted as JSON
|
14042
|
+
Authenticating with gds_bearer_token strategy
|
14043
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14044
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14045
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14046
|
+
- signin
|
14047
|
+
' WHERE "users"."id" = 6[0m
|
14048
|
+
[1m[35m (8.6ms)[0m commit transaction
|
14049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14050
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14051
|
+
- signin
|
14052
|
+
' WHERE "users"."id" = 6
|
14053
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
14054
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 11.5ms)
|
14055
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 11:16:15 +0000
|
14056
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
14057
|
+
Authenticating with gds_bearer_token strategy
|
14058
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14059
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14060
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14061
|
+
- signin
|
14062
|
+
' WHERE "users"."id" = 6
|
14063
|
+
[1m[36m (8.7ms)[0m [1mcommit transaction[0m
|
14064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14065
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14066
|
+
- signin
|
14067
|
+
' WHERE "users"."id" = 6[0m
|
14068
|
+
[1m[35m (2.4ms)[0m commit transaction
|
14069
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.0ms)
|
14070
|
+
Connecting to database specified by database.yml
|
14071
|
+
[1m[36m (33.4ms)[0m [1mselect sqlite_version(*)[0m
|
14072
|
+
[1m[35m (4.3ms)[0m CREATE 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)
|
14073
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
14074
|
+
[1m[35m (3.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
14075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14076
|
+
[1m[35mSQL (41.7ms)[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", "a1s2d35361"]]
|
14077
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
14078
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14079
|
+
Processing by Api::UserController#update as HTML
|
14080
|
+
Parameters: {"uid"=>"a1s2d35361"}
|
14081
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (66.7ms)
|
14082
|
+
Completed 403 Forbidden in 168ms (Views: 167.6ms | ActiveRecord: 0.0ms)
|
14083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14084
|
+
[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", "a1s2d35340"]]
|
14085
|
+
[1m[35m (5.5ms)[0m commit transaction
|
14086
|
+
Processing by Api::UserController#update as HTML
|
14087
|
+
Parameters: {"uid"=>"a1s2d35340"}
|
14088
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d35340' LIMIT 1[0m
|
14089
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14090
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14091
|
+
- signin
|
14092
|
+
- new permission
|
14093
|
+
' WHERE "users"."id" = 2[0m
|
14094
|
+
[1m[35m (2.1ms)[0m commit transaction
|
14095
|
+
Completed 200 OK in 39ms (ActiveRecord: 2.7ms)
|
14096
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
14097
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14098
|
+
[1m[36mSQL (0.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", "a1s2d33904"]]
|
14099
|
+
[1m[35m (3.9ms)[0m commit transaction
|
14100
|
+
Processing by Api::UserController#update as HTML
|
14101
|
+
Parameters: {"uid"=>"a1s2d33904"}
|
14102
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d33904' LIMIT 1[0m
|
14103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14104
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14105
|
+
- signin
|
14106
|
+
- new permission
|
14107
|
+
' WHERE "users"."id" = 3[0m
|
14108
|
+
[1m[35m (4.9ms)[0m commit transaction
|
14109
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.4ms)
|
14110
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
14111
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14112
|
+
[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", "a1s2d36351"]]
|
14113
|
+
[1m[35m (2.0ms)[0m commit transaction
|
14114
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14115
|
+
Processing by Api::UserController#reauth as HTML
|
14116
|
+
Parameters: {"uid"=>"a1s2d36351"}
|
14117
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
14118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14119
|
+
[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", "a1s2d32572"]]
|
14120
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
14121
|
+
Processing by Api::UserController#reauth as HTML
|
14122
|
+
Parameters: {"uid"=>"a1s2d32572"}
|
14123
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32572' LIMIT 1
|
14124
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14125
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
14126
|
+
- signin
|
14127
|
+
' WHERE "users"."id" = 5
|
14128
|
+
[1m[36m (5.5ms)[0m [1mcommit transaction[0m
|
14129
|
+
Completed 200 OK in 8ms (ActiveRecord: 6.0ms)
|
14130
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
14131
|
+
Connecting to database specified by database.yml
|
14132
|
+
[1m[36m (23.7ms)[0m [1mselect sqlite_version(*)[0m
|
14133
|
+
[1m[35m (18.8ms)[0m CREATE 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)
|
14134
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
14135
|
+
[1m[35m (3.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
14136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14137
|
+
[1m[35mSQL (83.5ms)[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", "a1s2d37110"]]
|
14138
|
+
[1m[36m (11.0ms)[0m [1mcommit transaction[0m
|
14139
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14140
|
+
Processing by Api::UserController#update as HTML
|
14141
|
+
Parameters: {"uid"=>"a1s2d37110"}
|
14142
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (4.3ms)
|
14143
|
+
Completed 403 Forbidden in 184ms (Views: 183.1ms | ActiveRecord: 0.0ms)
|
14144
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14145
|
+
[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", "a1s2d39116"]]
|
14146
|
+
[1m[35m (9.7ms)[0m commit transaction
|
14147
|
+
Processing by Api::UserController#update as HTML
|
14148
|
+
Parameters: {"uid"=>"a1s2d39116"}
|
14149
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39116' LIMIT 1[0m
|
14150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14151
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14152
|
+
- signin
|
14153
|
+
- new permission
|
14154
|
+
' WHERE "users"."id" = 2[0m
|
14155
|
+
[1m[35m (7.5ms)[0m commit transaction
|
14156
|
+
Completed 200 OK in 46ms (ActiveRecord: 8.2ms)
|
14157
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
14158
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14159
|
+
[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", "a1s2d37656"]]
|
14160
|
+
[1m[35m (5.0ms)[0m commit transaction
|
14161
|
+
Processing by Api::UserController#update as HTML
|
14162
|
+
Parameters: {"uid"=>"a1s2d37656"}
|
14163
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37656' LIMIT 1[0m
|
14164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14165
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14166
|
+
- signin
|
14167
|
+
- new permission
|
14168
|
+
' WHERE "users"."id" = 3[0m
|
14169
|
+
[1m[35m (4.8ms)[0m commit transaction
|
14170
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.3ms)
|
14171
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
14172
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14173
|
+
[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", "a1s2d39170"]]
|
14174
|
+
[1m[35m (2.0ms)[0m commit transaction
|
14175
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14176
|
+
Processing by Api::UserController#reauth as HTML
|
14177
|
+
Parameters: {"uid"=>"a1s2d39170"}
|
14178
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
14179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14180
|
+
[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", "a1s2d31320"]]
|
14181
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
14182
|
+
Processing by Api::UserController#reauth as HTML
|
14183
|
+
Parameters: {"uid"=>"a1s2d31320"}
|
14184
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31320' LIMIT 1
|
14185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14186
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
14187
|
+
- signin
|
14188
|
+
' WHERE "users"."id" = 5
|
14189
|
+
[1m[36m (11.2ms)[0m [1mcommit transaction[0m
|
14190
|
+
Completed 200 OK in 14ms (ActiveRecord: 11.7ms)
|
14191
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
14192
|
+
Started GET "/" for 127.0.0.1 at 2013-01-21 17:09:46 +0000
|
14193
|
+
Processing by ExampleController#index as HTML
|
14194
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
14195
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:47 +0000
|
14196
|
+
Processing by ExampleController#restricted as HTML
|
14197
|
+
Authenticating with gds_sso strategy
|
14198
|
+
Completed in 63ms
|
14199
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:47 +0000
|
14200
|
+
Started GET "/auth/gds/callback?code=21cac5fea24439d47de1f783eaaff3ea443a73b561c38935a5a207b9495d2f41&state=e89a8c6200311b2af2a61880c3a78c7d37b57d402b434251" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14201
|
+
Processing by AuthenticationsController#callback as HTML
|
14202
|
+
Parameters: {"code"=>"21cac5fea24439d47de1f783eaaff3ea443a73b561c38935a5a207b9495d2f41", "state"=>"e89a8c6200311b2af2a61880c3a78c7d37b57d402b434251"}
|
14203
|
+
Authenticating with gds_sso strategy
|
14204
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14206
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
14207
|
+
[1m[35m (6.9ms)[0m commit transaction
|
14208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14209
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
14210
|
+
- signin
|
14211
|
+
' WHERE "users"."id" = 6
|
14212
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
14213
|
+
Redirected to http://www.example-client.com/restricted
|
14214
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.7ms)
|
14215
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14216
|
+
Processing by ExampleController#restricted as HTML
|
14217
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14218
|
+
Completed 200 OK in 36ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14219
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14220
|
+
Processing by ExampleController#restricted as HTML
|
14221
|
+
Authenticating with gds_sso strategy
|
14222
|
+
Completed in 0ms
|
14223
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14224
|
+
Started GET "/auth/gds/callback?code=9c63a72738b831ee7dfdb03d1074f5bc2e1bfdae88c8bdd73f3d80408f5cdb3c&state=cd4e6b5e1a65b6b5b391c09ed36941dd51a2cce2a197b2f8" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14225
|
+
Processing by AuthenticationsController#callback as HTML
|
14226
|
+
Parameters: {"code"=>"9c63a72738b831ee7dfdb03d1074f5bc2e1bfdae88c8bdd73f3d80408f5cdb3c", "state"=>"cd4e6b5e1a65b6b5b391c09ed36941dd51a2cce2a197b2f8"}
|
14227
|
+
Authenticating with gds_sso strategy
|
14228
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14229
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14230
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14231
|
+
- signin
|
14232
|
+
' WHERE "users"."id" = 6[0m
|
14233
|
+
[1m[35m (12.7ms)[0m commit transaction
|
14234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14235
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14236
|
+
- signin
|
14237
|
+
' WHERE "users"."id" = 6
|
14238
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
14239
|
+
Redirected to http://www.example-client.com/restricted
|
14240
|
+
Completed 302 Found in 21ms (ActiveRecord: 15.6ms)
|
14241
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14242
|
+
Processing by ExampleController#restricted as HTML
|
14243
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14244
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
14245
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14246
|
+
Processing by ExampleController#restricted as HTML
|
14247
|
+
Authenticating with gds_sso strategy
|
14248
|
+
Completed in 0ms
|
14249
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:48 +0000
|
14250
|
+
Started GET "/auth/gds/callback?code=011301ee70e73742d5007b217dada2e042eac97d4f3b982c842dd769d6d0157a&state=fe036bd6e613b2aedac495d17201d5032fe23bca7c89bf2a" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14251
|
+
Processing by AuthenticationsController#callback as HTML
|
14252
|
+
Parameters: {"code"=>"011301ee70e73742d5007b217dada2e042eac97d4f3b982c842dd769d6d0157a", "state"=>"fe036bd6e613b2aedac495d17201d5032fe23bca7c89bf2a"}
|
14253
|
+
Authenticating with gds_sso strategy
|
14254
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14255
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14256
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14257
|
+
- signin
|
14258
|
+
' WHERE "users"."id" = 6[0m
|
14259
|
+
[1m[35m (8.4ms)[0m commit transaction
|
14260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14261
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
14262
|
+
- signin
|
14263
|
+
' WHERE "users"."id" = 6
|
14264
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
14265
|
+
Redirected to http://www.example-client.com/restricted
|
14266
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.2ms)
|
14267
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14268
|
+
Processing by ExampleController#restricted as HTML
|
14269
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14270
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
14271
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14272
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14273
|
+
Authenticating with gds_sso strategy
|
14274
|
+
Completed in 1ms
|
14275
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14276
|
+
Started GET "/auth/gds/callback?code=bd0477ca57067ce087173bbafe4d02d97bb89187899979a0d7bdf8f94859bb65&state=86535a80b648a8682afd4563b1d6ab7e3eaf1b09bbb86958" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14277
|
+
Processing by AuthenticationsController#callback as HTML
|
14278
|
+
Parameters: {"code"=>"bd0477ca57067ce087173bbafe4d02d97bb89187899979a0d7bdf8f94859bb65", "state"=>"86535a80b648a8682afd4563b1d6ab7e3eaf1b09bbb86958"}
|
14279
|
+
Authenticating with gds_sso strategy
|
14280
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14282
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14283
|
+
- signin
|
14284
|
+
' WHERE "users"."id" = 6[0m
|
14285
|
+
[1m[35m (8.2ms)[0m commit transaction
|
14286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14287
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14288
|
+
- signin
|
14289
|
+
' WHERE "users"."id" = 6
|
14290
|
+
[1m[36m (2.9ms)[0m [1mcommit transaction[0m
|
14291
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
14292
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.1ms)
|
14293
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14294
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14295
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14296
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
14297
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14298
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14299
|
+
Authenticating with gds_sso strategy
|
14300
|
+
Completed in 0ms
|
14301
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14302
|
+
Started GET "/auth/gds/callback?code=f12f0c2ffb8f3314a21f4ec9939a511a090f19680006217c02ce6a5a637c2592&state=4c722cf9966409bff813f382402075d9efd6d45b095cd9bb" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14303
|
+
Processing by AuthenticationsController#callback as HTML
|
14304
|
+
Parameters: {"code"=>"f12f0c2ffb8f3314a21f4ec9939a511a090f19680006217c02ce6a5a637c2592", "state"=>"4c722cf9966409bff813f382402075d9efd6d45b095cd9bb"}
|
14305
|
+
Authenticating with gds_sso strategy
|
14306
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14307
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14308
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14309
|
+
- signin
|
14310
|
+
' WHERE "users"."id" = 6[0m
|
14311
|
+
[1m[35m (8.8ms)[0m commit transaction
|
14312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14313
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14314
|
+
- signin
|
14315
|
+
' WHERE "users"."id" = 6
|
14316
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
14317
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
14318
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.8ms)
|
14319
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:09:49 +0000
|
14320
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14321
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14322
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
14323
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14324
|
+
Processing by ExampleController#restricted as HTML
|
14325
|
+
Authenticating with gds_sso strategy
|
14326
|
+
Completed in 1ms
|
14327
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14328
|
+
Started GET "/auth/gds/callback?code=f7c709d134e80970261efccfaf4d7693c9afe4c92f98f3235c0398c3c9a09374&state=554879e09ff3fdd034f8d3544940e4c7ce56e3ae498eeb54" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14329
|
+
Processing by AuthenticationsController#callback as HTML
|
14330
|
+
Parameters: {"code"=>"f7c709d134e80970261efccfaf4d7693c9afe4c92f98f3235c0398c3c9a09374", "state"=>"554879e09ff3fdd034f8d3544940e4c7ce56e3ae498eeb54"}
|
14331
|
+
Authenticating with gds_sso strategy
|
14332
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14333
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14334
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14335
|
+
- signin
|
14336
|
+
' WHERE "users"."id" = 6[0m
|
14337
|
+
[1m[35m (6.5ms)[0m commit transaction
|
14338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14339
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14340
|
+
- signin
|
14341
|
+
' WHERE "users"."id" = 6
|
14342
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14343
|
+
Redirected to http://www.example-client.com/restricted
|
14344
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.5ms)
|
14345
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14346
|
+
Processing by ExampleController#restricted as HTML
|
14347
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14348
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
14349
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14350
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14351
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
14352
|
+
- signin
|
14353
|
+
' WHERE "users"."id" = 6[0m
|
14354
|
+
[1m[35m (2.5ms)[0m commit transaction
|
14355
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14356
|
+
Processing by ExampleController#restricted as HTML
|
14357
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14358
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
14359
|
+
Completed 403 Forbidden in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
14360
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14361
|
+
Processing by AuthenticationsController#sign_out as HTML
|
14362
|
+
Redirected to http://localhost:4567/users/sign_out
|
14363
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14364
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14365
|
+
Processing by ExampleController#restricted as HTML
|
14366
|
+
Authenticating with gds_sso strategy
|
14367
|
+
Completed in 0ms
|
14368
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14369
|
+
Started GET "/auth/gds/callback?code=9011fcf67a0913afdf429e284c4152b965aab6afceb85b411f8fb2d3062eeedf&state=30f80fca05ce641493bcd0c297d653d4e359bd2f4375ea76" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14370
|
+
Processing by AuthenticationsController#callback as HTML
|
14371
|
+
Parameters: {"code"=>"9011fcf67a0913afdf429e284c4152b965aab6afceb85b411f8fb2d3062eeedf", "state"=>"30f80fca05ce641493bcd0c297d653d4e359bd2f4375ea76"}
|
14372
|
+
Authenticating with gds_sso strategy
|
14373
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14375
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
14376
|
+
- signin
|
14377
|
+
' WHERE "users"."id" = 6
|
14378
|
+
[1m[36m (6.6ms)[0m [1mcommit transaction[0m
|
14379
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14380
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
14381
|
+
- signin
|
14382
|
+
' WHERE "users"."id" = 6[0m
|
14383
|
+
[1m[35m (1.9ms)[0m commit transaction
|
14384
|
+
Redirected to http://www.example-client.com/restricted
|
14385
|
+
Completed 302 Found in 14ms (ActiveRecord: 9.5ms)
|
14386
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14387
|
+
Processing by ExampleController#restricted as HTML
|
14388
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14389
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
14390
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14391
|
+
Processing by ExampleController#restricted as HTML
|
14392
|
+
Authenticating with gds_sso strategy
|
14393
|
+
Completed in 0ms
|
14394
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:50 +0000
|
14395
|
+
Started GET "/auth/gds/callback?code=4e5a51cd3fce8ba9b1291d528325d27b16734c84740f38d368bff8740ac6dc93&state=b92390de8030e903ab4f4925de666df9f19fd9244539006a" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14396
|
+
Processing by AuthenticationsController#callback as HTML
|
14397
|
+
Parameters: {"code"=>"4e5a51cd3fce8ba9b1291d528325d27b16734c84740f38d368bff8740ac6dc93", "state"=>"b92390de8030e903ab4f4925de666df9f19fd9244539006a"}
|
14398
|
+
Authenticating with gds_sso strategy
|
14399
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14401
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14402
|
+
- signin
|
14403
|
+
' WHERE "users"."id" = 6
|
14404
|
+
[1m[36m (7.1ms)[0m [1mcommit transaction[0m
|
14405
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14406
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14407
|
+
- signin
|
14408
|
+
' WHERE "users"."id" = 6[0m
|
14409
|
+
[1m[35m (1.8ms)[0m commit transaction
|
14410
|
+
Redirected to http://www.example-client.com/restricted
|
14411
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
14412
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14413
|
+
Processing by ExampleController#restricted as HTML
|
14414
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14415
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
14416
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:14:51 +0000
|
14417
|
+
Processing by ExampleController#restricted as HTML
|
14418
|
+
Authenticating with gds_sso strategy
|
14419
|
+
Completed in 0ms
|
14420
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-22 13:14:51 +0000
|
14421
|
+
Started GET "/auth/gds/callback?code=4a26ac24ab1cd43c60f124a457cf9cdce20835066ccc85ccdb0a123d5aad2b35&state=e03d3b41352967348d683d8269ea51f8dca5466f246e4127" for 127.0.0.1 at 2013-01-22 13:14:51 +0000
|
14422
|
+
Processing by AuthenticationsController#callback as HTML
|
14423
|
+
Parameters: {"code"=>"4a26ac24ab1cd43c60f124a457cf9cdce20835066ccc85ccdb0a123d5aad2b35", "state"=>"e03d3b41352967348d683d8269ea51f8dca5466f246e4127"}
|
14424
|
+
Authenticating with gds_sso strategy
|
14425
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14427
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14428
|
+
- signin
|
14429
|
+
' WHERE "users"."id" = 6
|
14430
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
14431
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14432
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14433
|
+
- signin
|
14434
|
+
' WHERE "users"."id" = 6[0m
|
14435
|
+
[1m[35m (1.8ms)[0m commit transaction
|
14436
|
+
Redirected to http://www.example-client.com/restricted
|
14437
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.7ms)
|
14438
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:14:51 +0000
|
14439
|
+
Processing by ExampleController#restricted as HTML
|
14440
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14441
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
14442
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14443
|
+
Processing by ExampleController#restricted as HTML
|
14444
|
+
Authenticating with gds_sso strategy
|
14445
|
+
Completed in 0ms
|
14446
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14447
|
+
Started GET "/auth/gds/callback?code=7244b90ac8ed638dcbf15e2ebb73c02e7ef4b7b59ff63de88fc4cc2abc3a5e12&state=336126b864f7d552461b7cd04edb3ffc2ed4e48d3a3d5507" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14448
|
+
Processing by AuthenticationsController#callback as HTML
|
14449
|
+
Parameters: {"code"=>"7244b90ac8ed638dcbf15e2ebb73c02e7ef4b7b59ff63de88fc4cc2abc3a5e12", "state"=>"336126b864f7d552461b7cd04edb3ffc2ed4e48d3a3d5507"}
|
14450
|
+
Authenticating with gds_sso strategy
|
14451
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14453
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
14454
|
+
- signin
|
14455
|
+
' WHERE "users"."id" = 6
|
14456
|
+
[1m[36m (5.2ms)[0m [1mcommit transaction[0m
|
14457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14458
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14459
|
+
- signin
|
14460
|
+
' WHERE "users"."id" = 6[0m
|
14461
|
+
[1m[35m (1.9ms)[0m commit transaction
|
14462
|
+
Redirected to http://www.example-client.com/restricted
|
14463
|
+
Completed 302 Found in 15ms (ActiveRecord: 8.3ms)
|
14464
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14465
|
+
Processing by ExampleController#restricted as HTML
|
14466
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14467
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
14468
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:04:51 +0000
|
14469
|
+
Processing by ExampleController#restricted as HTML
|
14470
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14471
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
14472
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14473
|
+
Processing by ExampleController#restricted as JSON
|
14474
|
+
Authenticating with gds_sso_api_access strategy
|
14475
|
+
Completed in 14ms
|
14476
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14477
|
+
Processing by ExampleController#restricted as JSON
|
14478
|
+
Authenticating with gds_sso_api_access strategy
|
14479
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
14480
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14481
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
14482
|
+
Authenticating with gds_sso_api_access strategy
|
14483
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
14484
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:51 +0000
|
14485
|
+
Processing by ExampleController#restricted as JSON
|
14486
|
+
Authenticating with gds_bearer_token strategy
|
14487
|
+
Completed in 13ms
|
14488
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:09:52 +0000
|
14489
|
+
Processing by ExampleController#restricted as JSON
|
14490
|
+
Authenticating with gds_bearer_token strategy
|
14491
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14492
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14493
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14494
|
+
- signin
|
14495
|
+
' WHERE "users"."id" = 6[0m
|
14496
|
+
[1m[35m (8.7ms)[0m commit transaction
|
14497
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14498
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14499
|
+
- signin
|
14500
|
+
' WHERE "users"."id" = 6
|
14501
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
14502
|
+
Completed 200 OK in 46ms (Views: 0.6ms | ActiveRecord: 11.8ms)
|
14503
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:09:52 +0000
|
14504
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
14505
|
+
Authenticating with gds_bearer_token strategy
|
14506
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14507
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14508
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14509
|
+
- signin
|
14510
|
+
' WHERE "users"."id" = 6
|
14511
|
+
[1m[36m (8.9ms)[0m [1mcommit transaction[0m
|
14512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14513
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14514
|
+
- signin
|
14515
|
+
' WHERE "users"."id" = 6[0m
|
14516
|
+
[1m[35m (2.1ms)[0m commit transaction
|
14517
|
+
Completed 200 OK in 48ms (Views: 0.7ms | ActiveRecord: 11.9ms)
|
14518
|
+
Connecting to database specified by database.yml
|
14519
|
+
[1m[36m (32.0ms)[0m [1mselect sqlite_version(*)[0m
|
14520
|
+
[1m[35m (11.0ms)[0m CREATE 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)
|
14521
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
14522
|
+
[1m[35m (2.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
14523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14524
|
+
[1m[35mSQL (40.8ms)[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", "a1s2d34495"]]
|
14525
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
14526
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14527
|
+
Processing by Api::UserController#update as HTML
|
14528
|
+
Parameters: {"uid"=>"a1s2d34495"}
|
14529
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (35.0ms)
|
14530
|
+
Completed 403 Forbidden in 86ms (Views: 85.2ms | ActiveRecord: 0.0ms)
|
14531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14532
|
+
[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", "a1s2d36544"]]
|
14533
|
+
[1m[35m (2.1ms)[0m commit transaction
|
14534
|
+
Processing by Api::UserController#update as HTML
|
14535
|
+
Parameters: {"uid"=>"a1s2d36544"}
|
14536
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36544' LIMIT 1[0m
|
14537
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14538
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14539
|
+
- signin
|
14540
|
+
- new permission
|
14541
|
+
' WHERE "users"."id" = 2[0m
|
14542
|
+
[1m[35m (2.6ms)[0m commit transaction
|
14543
|
+
Completed 200 OK in 18ms (ActiveRecord: 3.2ms)
|
14544
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
14545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14546
|
+
[1m[36mSQL (0.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", "a1s2d37474"]]
|
14547
|
+
[1m[35m (1.9ms)[0m commit transaction
|
14548
|
+
Processing by Api::UserController#update as HTML
|
14549
|
+
Parameters: {"uid"=>"a1s2d37474"}
|
14550
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37474' LIMIT 1[0m
|
14551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14552
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14553
|
+
- signin
|
14554
|
+
- new permission
|
14555
|
+
' WHERE "users"."id" = 3[0m
|
14556
|
+
[1m[35m (2.5ms)[0m commit transaction
|
14557
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.0ms)
|
14558
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
14559
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14560
|
+
[1m[36mSQL (0.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", "a1s2d31419"]]
|
14561
|
+
[1m[35m (1.9ms)[0m commit transaction
|
14562
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14563
|
+
Processing by Api::UserController#reauth as HTML
|
14564
|
+
Parameters: {"uid"=>"a1s2d31419"}
|
14565
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
14566
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14567
|
+
[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", "a1s2d31323"]]
|
14568
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14569
|
+
Processing by Api::UserController#reauth as HTML
|
14570
|
+
Parameters: {"uid"=>"a1s2d31323"}
|
14571
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31323' LIMIT 1
|
14572
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14573
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
14574
|
+
- signin
|
14575
|
+
' WHERE "users"."id" = 5
|
14576
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
14577
|
+
Completed 200 OK in 5ms (ActiveRecord: 2.7ms)
|
14578
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
14579
|
+
Started GET "/" for 127.0.0.1 at 2013-01-21 17:13:14 +0000
|
14580
|
+
Processing by ExampleController#index as HTML
|
14581
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
14582
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:14 +0000
|
14583
|
+
Processing by ExampleController#restricted as HTML
|
14584
|
+
Authenticating with gds_sso strategy
|
14585
|
+
Completed in 64ms
|
14586
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:14 +0000
|
14587
|
+
Started GET "/auth/gds/callback?code=53747d3e1d5b9647f764584adc7148673705fb5e3087625321632f1e9384c09b&state=53f71ab13f799c7ef89d575c3b0aa1826dfeb0651d899f2d" for 127.0.0.1 at 2013-01-21 17:13:15 +0000
|
14588
|
+
Processing by AuthenticationsController#callback as HTML
|
14589
|
+
Parameters: {"code"=>"53747d3e1d5b9647f764584adc7148673705fb5e3087625321632f1e9384c09b", "state"=>"53f71ab13f799c7ef89d575c3b0aa1826dfeb0651d899f2d"}
|
14590
|
+
Authenticating with gds_sso strategy
|
14591
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14593
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
14594
|
+
[1m[35m (17.2ms)[0m commit transaction
|
14595
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14596
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
14597
|
+
- signin
|
14598
|
+
' WHERE "users"."id" = 6
|
14599
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
14600
|
+
Redirected to http://www.example-client.com/restricted
|
14601
|
+
Completed 302 Found in 26ms (ActiveRecord: 19.9ms)
|
14602
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:15 +0000
|
14603
|
+
Processing by ExampleController#restricted as HTML
|
14604
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14605
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14606
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:15 +0000
|
14607
|
+
Processing by ExampleController#restricted as HTML
|
14608
|
+
Authenticating with gds_sso strategy
|
14609
|
+
Completed in 0ms
|
14610
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:15 +0000
|
14611
|
+
Started GET "/auth/gds/callback?code=49ea66c05f3eeb5c81a9e7965a7083d5af47cbe07a60f75da41e02214f546e79&state=f3cfb195eea1cd9423be6e38a23b6842cffb6d14fc74f1ec" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14612
|
+
Processing by AuthenticationsController#callback as HTML
|
14613
|
+
Parameters: {"code"=>"49ea66c05f3eeb5c81a9e7965a7083d5af47cbe07a60f75da41e02214f546e79", "state"=>"f3cfb195eea1cd9423be6e38a23b6842cffb6d14fc74f1ec"}
|
14614
|
+
Authenticating with gds_sso strategy
|
14615
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14616
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14617
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14618
|
+
- signin
|
14619
|
+
' WHERE "users"."id" = 6[0m
|
14620
|
+
[1m[35m (16.0ms)[0m commit transaction
|
14621
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14622
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14623
|
+
- signin
|
14624
|
+
' WHERE "users"."id" = 6
|
14625
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
14626
|
+
Redirected to http://www.example-client.com/restricted
|
14627
|
+
Completed 302 Found in 24ms (ActiveRecord: 18.8ms)
|
14628
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14629
|
+
Processing by ExampleController#restricted as HTML
|
14630
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14631
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14632
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14633
|
+
Processing by ExampleController#restricted as HTML
|
14634
|
+
Authenticating with gds_sso strategy
|
14635
|
+
Completed in 0ms
|
14636
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14637
|
+
Started GET "/auth/gds/callback?code=555e0df713b3253749e16fa2f82ce7d8a154620a56e314b039779221788fba99&state=04d3366b7e674dcd74ff94ba28401b736469193e2fbb3492" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14638
|
+
Processing by AuthenticationsController#callback as HTML
|
14639
|
+
Parameters: {"code"=>"555e0df713b3253749e16fa2f82ce7d8a154620a56e314b039779221788fba99", "state"=>"04d3366b7e674dcd74ff94ba28401b736469193e2fbb3492"}
|
14640
|
+
Authenticating with gds_sso strategy
|
14641
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14643
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14644
|
+
- signin
|
14645
|
+
' WHERE "users"."id" = 6[0m
|
14646
|
+
[1m[35m (7.9ms)[0m commit transaction
|
14647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14648
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14649
|
+
- signin
|
14650
|
+
' WHERE "users"."id" = 6
|
14651
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14652
|
+
Redirected to http://www.example-client.com/restricted
|
14653
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.7ms)
|
14654
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14655
|
+
Processing by ExampleController#restricted as HTML
|
14656
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14657
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
14658
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14659
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14660
|
+
Authenticating with gds_sso strategy
|
14661
|
+
Completed in 1ms
|
14662
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14663
|
+
Started GET "/auth/gds/callback?code=a5e8ba2177299c69a84e85f70d1919f39f4c97084da3eabc5e159f26d644b5db&state=e17a680d4fc5fefb2ceae743b96655275a083f3db1be6a3d" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14664
|
+
Processing by AuthenticationsController#callback as HTML
|
14665
|
+
Parameters: {"code"=>"a5e8ba2177299c69a84e85f70d1919f39f4c97084da3eabc5e159f26d644b5db", "state"=>"e17a680d4fc5fefb2ceae743b96655275a083f3db1be6a3d"}
|
14666
|
+
Authenticating with gds_sso strategy
|
14667
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14668
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14669
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14670
|
+
- signin
|
14671
|
+
' WHERE "users"."id" = 6[0m
|
14672
|
+
[1m[35m (6.3ms)[0m commit transaction
|
14673
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14674
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14675
|
+
- signin
|
14676
|
+
' WHERE "users"."id" = 6
|
14677
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14678
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
14679
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.3ms)
|
14680
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14681
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14682
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14683
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
14684
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14685
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14686
|
+
Authenticating with gds_sso strategy
|
14687
|
+
Completed in 0ms
|
14688
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:16 +0000
|
14689
|
+
Started GET "/auth/gds/callback?code=6713816e3cc5d98a5994e42080bfab7364552dcc629360e65d2eb08682e85673&state=15e4827f1546a0f9ca84ca3929acedff7696e253425dcca5" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14690
|
+
Processing by AuthenticationsController#callback as HTML
|
14691
|
+
Parameters: {"code"=>"6713816e3cc5d98a5994e42080bfab7364552dcc629360e65d2eb08682e85673", "state"=>"15e4827f1546a0f9ca84ca3929acedff7696e253425dcca5"}
|
14692
|
+
Authenticating with gds_sso strategy
|
14693
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14695
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14696
|
+
- signin
|
14697
|
+
' WHERE "users"."id" = 6[0m
|
14698
|
+
[1m[35m (8.6ms)[0m commit transaction
|
14699
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14700
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14701
|
+
- signin
|
14702
|
+
' WHERE "users"."id" = 6
|
14703
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14704
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
14705
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.4ms)
|
14706
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14707
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
14708
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14709
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
14710
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14711
|
+
Processing by ExampleController#restricted as HTML
|
14712
|
+
Authenticating with gds_sso strategy
|
14713
|
+
Completed in 0ms
|
14714
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14715
|
+
Started GET "/auth/gds/callback?code=12072312d5e02286d81cd400282f3c95ec5ba5a4eeeb01407223e6dc2b355e9b&state=5931a92571f312f55d139af9e767b5a9343b68e2e7cf007a" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14716
|
+
Processing by AuthenticationsController#callback as HTML
|
14717
|
+
Parameters: {"code"=>"12072312d5e02286d81cd400282f3c95ec5ba5a4eeeb01407223e6dc2b355e9b", "state"=>"5931a92571f312f55d139af9e767b5a9343b68e2e7cf007a"}
|
14718
|
+
Authenticating with gds_sso strategy
|
14719
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14720
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14721
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14722
|
+
- signin
|
14723
|
+
' WHERE "users"."id" = 6[0m
|
14724
|
+
[1m[35m (6.3ms)[0m commit transaction
|
14725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14726
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "permissions" = '---
|
14727
|
+
- signin
|
14728
|
+
' WHERE "users"."id" = 6
|
14729
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14730
|
+
Redirected to http://www.example-client.com/restricted
|
14731
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.2ms)
|
14732
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14733
|
+
Processing by ExampleController#restricted as HTML
|
14734
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14735
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14736
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14737
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14738
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
14739
|
+
- signin
|
14740
|
+
' WHERE "users"."id" = 6[0m
|
14741
|
+
[1m[35m (1.9ms)[0m commit transaction
|
14742
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14743
|
+
Processing by ExampleController#restricted as HTML
|
14744
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14745
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
14746
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
14747
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14748
|
+
Processing by AuthenticationsController#sign_out as HTML
|
14749
|
+
Redirected to http://localhost:4567/users/sign_out
|
14750
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
14751
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14752
|
+
Processing by ExampleController#restricted as HTML
|
14753
|
+
Authenticating with gds_sso strategy
|
14754
|
+
Completed in 0ms
|
14755
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14756
|
+
Started GET "/auth/gds/callback?code=94e6bded4f5b468a7d3fe4ee670e7242cbd15a08daaf5e7fedb361889fbc7b42&state=34587aacdb56a0cae68177bafa31fe6669cf500e43d02875" for 127.0.0.1 at 2013-01-21 17:13:17 +0000
|
14757
|
+
Processing by AuthenticationsController#callback as HTML
|
14758
|
+
Parameters: {"code"=>"94e6bded4f5b468a7d3fe4ee670e7242cbd15a08daaf5e7fedb361889fbc7b42", "state"=>"34587aacdb56a0cae68177bafa31fe6669cf500e43d02875"}
|
14759
|
+
Authenticating with gds_sso strategy
|
14760
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14761
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14762
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14763
|
+
- signin
|
14764
|
+
' WHERE "users"."id" = 6
|
14765
|
+
[1m[36m (8.0ms)[0m [1mcommit transaction[0m
|
14766
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14767
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
14768
|
+
- signin
|
14769
|
+
' WHERE "users"."id" = 6[0m
|
14770
|
+
[1m[35m (3.3ms)[0m commit transaction
|
14771
|
+
Redirected to http://www.example-client.com/restricted
|
14772
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.2ms)
|
14773
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14774
|
+
Processing by ExampleController#restricted as HTML
|
14775
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14776
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14777
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14778
|
+
Processing by ExampleController#restricted as HTML
|
14779
|
+
Authenticating with gds_sso strategy
|
14780
|
+
Completed in 0ms
|
14781
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14782
|
+
Started GET "/auth/gds/callback?code=18429fab922ed7e4a3725c0a268c58a461eb5bc092f2cd8011852554a62d4434&state=ca482646d78e62d952c108c03bee4f0f53b766ccc3fd659f" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14783
|
+
Processing by AuthenticationsController#callback as HTML
|
14784
|
+
Parameters: {"code"=>"18429fab922ed7e4a3725c0a268c58a461eb5bc092f2cd8011852554a62d4434", "state"=>"ca482646d78e62d952c108c03bee4f0f53b766ccc3fd659f"}
|
14785
|
+
Authenticating with gds_sso strategy
|
14786
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14787
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14788
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14789
|
+
- signin
|
14790
|
+
' WHERE "users"."id" = 6
|
14791
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
14792
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14793
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14794
|
+
- signin
|
14795
|
+
' WHERE "users"."id" = 6[0m
|
14796
|
+
[1m[35m (1.8ms)[0m commit transaction
|
14797
|
+
Redirected to http://www.example-client.com/restricted
|
14798
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.7ms)
|
14799
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14800
|
+
Processing by ExampleController#restricted as HTML
|
14801
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14802
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
14803
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:18:18 +0000
|
14804
|
+
Processing by ExampleController#restricted as HTML
|
14805
|
+
Authenticating with gds_sso strategy
|
14806
|
+
Completed in 0ms
|
14807
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-22 13:18:18 +0000
|
14808
|
+
Started GET "/auth/gds/callback?code=3d739a11ac05f6cd386058958856997f87b0b13509de6ad14b351fe53f5f76d7&state=d114b6d0f0ed917d86d1248cbd03e5c380707c9804b70c2e" for 127.0.0.1 at 2013-01-22 13:18:18 +0000
|
14809
|
+
Processing by AuthenticationsController#callback as HTML
|
14810
|
+
Parameters: {"code"=>"3d739a11ac05f6cd386058958856997f87b0b13509de6ad14b351fe53f5f76d7", "state"=>"d114b6d0f0ed917d86d1248cbd03e5c380707c9804b70c2e"}
|
14811
|
+
Authenticating with gds_sso strategy
|
14812
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14814
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14815
|
+
- signin
|
14816
|
+
' WHERE "users"."id" = 6
|
14817
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
14818
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14819
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14820
|
+
- signin
|
14821
|
+
' WHERE "users"."id" = 6[0m
|
14822
|
+
[1m[35m (1.8ms)[0m commit transaction
|
14823
|
+
Redirected to http://www.example-client.com/restricted
|
14824
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.1ms)
|
14825
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:18:18 +0000
|
14826
|
+
Processing by ExampleController#restricted as HTML
|
14827
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14828
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
14829
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14830
|
+
Processing by ExampleController#restricted as HTML
|
14831
|
+
Authenticating with gds_sso strategy
|
14832
|
+
Completed in 0ms
|
14833
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14834
|
+
Started GET "/auth/gds/callback?code=7cf7f15b947962c00c6731bceb4661df8db632867743a0c2cfabd3b08591fbc3&state=c29213ddccbf6cd875c767812584ab64e2fc274c0bf3a46e" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14835
|
+
Processing by AuthenticationsController#callback as HTML
|
14836
|
+
Parameters: {"code"=>"7cf7f15b947962c00c6731bceb4661df8db632867743a0c2cfabd3b08591fbc3", "state"=>"c29213ddccbf6cd875c767812584ab64e2fc274c0bf3a46e"}
|
14837
|
+
Authenticating with gds_sso strategy
|
14838
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14840
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14841
|
+
- signin
|
14842
|
+
' WHERE "users"."id" = 6
|
14843
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
14844
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14845
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14846
|
+
- signin
|
14847
|
+
' WHERE "users"."id" = 6[0m
|
14848
|
+
[1m[35m (1.9ms)[0m commit transaction
|
14849
|
+
Redirected to http://www.example-client.com/restricted
|
14850
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.8ms)
|
14851
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:18 +0000
|
14852
|
+
Processing by ExampleController#restricted as HTML
|
14853
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14854
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
14855
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:08:18 +0000
|
14856
|
+
Processing by ExampleController#restricted as HTML
|
14857
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14858
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
14859
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:19 +0000
|
14860
|
+
Processing by ExampleController#restricted as JSON
|
14861
|
+
Authenticating with gds_sso_api_access strategy
|
14862
|
+
Completed in 14ms
|
14863
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:19 +0000
|
14864
|
+
Processing by ExampleController#restricted as JSON
|
14865
|
+
Authenticating with gds_sso_api_access strategy
|
14866
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
14867
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:13:19 +0000
|
14868
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
14869
|
+
Authenticating with gds_sso_api_access strategy
|
14870
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
14871
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:19 +0000
|
14872
|
+
Processing by ExampleController#restricted as JSON
|
14873
|
+
Authenticating with gds_bearer_token strategy
|
14874
|
+
Completed in 9ms
|
14875
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:13:19 +0000
|
14876
|
+
Processing by ExampleController#restricted as JSON
|
14877
|
+
Authenticating with gds_bearer_token strategy
|
14878
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14879
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14880
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14881
|
+
- signin
|
14882
|
+
' WHERE "users"."id" = 6[0m
|
14883
|
+
[1m[35m (8.5ms)[0m commit transaction
|
14884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14885
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14886
|
+
- signin
|
14887
|
+
' WHERE "users"."id" = 6
|
14888
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
14889
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 11.3ms)
|
14890
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:13:19 +0000
|
14891
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
14892
|
+
Authenticating with gds_bearer_token strategy
|
14893
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14894
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14895
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
14896
|
+
- signin
|
14897
|
+
' WHERE "users"."id" = 6
|
14898
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
14899
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14900
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
14901
|
+
- signin
|
14902
|
+
' WHERE "users"."id" = 6[0m
|
14903
|
+
[1m[35m (2.5ms)[0m commit transaction
|
14904
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.5ms)
|
14905
|
+
Connecting to database specified by database.yml
|
14906
|
+
[1m[36m (3.0ms)[0m [1mselect sqlite_version(*)[0m
|
14907
|
+
[1m[35m (12.3ms)[0m CREATE 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)
|
14908
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
14909
|
+
[1m[35m (3.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
14910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14911
|
+
[1m[35mSQL (40.6ms)[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", "a1s2d35212"]]
|
14912
|
+
[1m[36m (2.2ms)[0m [1mcommit transaction[0m
|
14913
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14914
|
+
Processing by Api::UserController#update as HTML
|
14915
|
+
Parameters: {"uid"=>"a1s2d35212"}
|
14916
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.9ms)
|
14917
|
+
Completed 403 Forbidden in 55ms (Views: 54.5ms | ActiveRecord: 0.0ms)
|
14918
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14919
|
+
[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", "a1s2d3700"]]
|
14920
|
+
[1m[35m (2.2ms)[0m commit transaction
|
14921
|
+
Processing by Api::UserController#update as HTML
|
14922
|
+
Parameters: {"uid"=>"a1s2d3700"}
|
14923
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3700' LIMIT 1[0m
|
14924
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14925
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14926
|
+
- signin
|
14927
|
+
- new permission
|
14928
|
+
' WHERE "users"."id" = 2[0m
|
14929
|
+
[1m[35m (2.5ms)[0m commit transaction
|
14930
|
+
Completed 200 OK in 18ms (ActiveRecord: 3.1ms)
|
14931
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
14932
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14933
|
+
[1m[36mSQL (0.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", "a1s2d31439"]]
|
14934
|
+
[1m[35m (2.1ms)[0m commit transaction
|
14935
|
+
Processing by Api::UserController#update as HTML
|
14936
|
+
Parameters: {"uid"=>"a1s2d31439"}
|
14937
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31439' LIMIT 1[0m
|
14938
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14939
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
14940
|
+
- signin
|
14941
|
+
- new permission
|
14942
|
+
' WHERE "users"."id" = 3[0m
|
14943
|
+
[1m[35m (2.5ms)[0m commit transaction
|
14944
|
+
Completed 200 OK in 5ms (ActiveRecord: 3.0ms)
|
14945
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
14946
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14947
|
+
[1m[36mSQL (0.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", "a1s2d32856"]]
|
14948
|
+
[1m[35m (2.3ms)[0m commit transaction
|
14949
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
14950
|
+
Processing by Api::UserController#reauth as HTML
|
14951
|
+
Parameters: {"uid"=>"a1s2d32856"}
|
14952
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
14953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
14954
|
+
[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", "a1s2d32956"]]
|
14955
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
14956
|
+
Processing by Api::UserController#reauth as HTML
|
14957
|
+
Parameters: {"uid"=>"a1s2d32956"}
|
14958
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32956' LIMIT 1
|
14959
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14960
|
+
[1m[35m (0.2ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
14961
|
+
- signin
|
14962
|
+
' WHERE "users"."id" = 5
|
14963
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
14964
|
+
Completed 200 OK in 4ms (ActiveRecord: 2.4ms)
|
14965
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
|
14966
|
+
Started GET "/" for 127.0.0.1 at 2013-01-21 17:14:58 +0000
|
14967
|
+
Processing by ExampleController#index as HTML
|
14968
|
+
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
14969
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:14:58 +0000
|
14970
|
+
Processing by ExampleController#restricted as HTML
|
14971
|
+
Authenticating with gds_sso strategy
|
14972
|
+
Completed in 63ms
|
14973
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:14:58 +0000
|
14974
|
+
Started GET "/auth/gds/callback?code=a25c068ed977ce2a4da1b177f81177770cabc32dc19e3a1d13344f5667d37451&state=264b28c8152eabac18d64632d8dde002b3957249f13c4f81" for 127.0.0.1 at 2013-01-21 17:14:59 +0000
|
14975
|
+
Processing by AuthenticationsController#callback as HTML
|
14976
|
+
Parameters: {"code"=>"a25c068ed977ce2a4da1b177f81177770cabc32dc19e3a1d13344f5667d37451", "state"=>"264b28c8152eabac18d64632d8dde002b3957249f13c4f81"}
|
14977
|
+
Authenticating with gds_sso strategy
|
14978
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
14979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14980
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
14981
|
+
[1m[35m (12.4ms)[0m commit transaction
|
14982
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
14983
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
14984
|
+
- signin
|
14985
|
+
' WHERE "users"."id" = 6
|
14986
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
14987
|
+
Redirected to http://www.example-client.com/restricted
|
14988
|
+
Completed 302 Found in 55ms (ActiveRecord: 15.2ms)
|
14989
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:14:59 +0000
|
14990
|
+
Processing by ExampleController#restricted as HTML
|
14991
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
14992
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
14993
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
14994
|
+
Processing by ExampleController#restricted as HTML
|
14995
|
+
Authenticating with gds_sso strategy
|
14996
|
+
Completed in 0ms
|
14997
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
14998
|
+
Started GET "/auth/gds/callback?code=563d8a4a2297b5055c8814da0c5c2535fe47dd905c0226a7f378a736bd8f22ee&state=ec8fb2a9dcd82502f475f2f2472c51a4067314bd8e239fa4" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
14999
|
+
Processing by AuthenticationsController#callback as HTML
|
15000
|
+
Parameters: {"code"=>"563d8a4a2297b5055c8814da0c5c2535fe47dd905c0226a7f378a736bd8f22ee", "state"=>"ec8fb2a9dcd82502f475f2f2472c51a4067314bd8e239fa4"}
|
15001
|
+
Authenticating with gds_sso strategy
|
15002
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15004
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15005
|
+
- signin
|
15006
|
+
' WHERE "users"."id" = 6[0m
|
15007
|
+
[1m[35m (5.8ms)[0m commit transaction
|
15008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15009
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15010
|
+
- signin
|
15011
|
+
' WHERE "users"."id" = 6
|
15012
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
15013
|
+
Redirected to http://www.example-client.com/restricted
|
15014
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.1ms)
|
15015
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15016
|
+
Processing by ExampleController#restricted as HTML
|
15017
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15018
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
15019
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15020
|
+
Processing by ExampleController#restricted as HTML
|
15021
|
+
Authenticating with gds_sso strategy
|
15022
|
+
Completed in 0ms
|
15023
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15024
|
+
Started GET "/auth/gds/callback?code=dcad192014a997c5afee419238cf4be516a1f77bebfd3aa07424010f485cd4e4&state=2326ca9cecf9c0e37ace1ff973f7b4bee0097905b5f577f6" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15025
|
+
Processing by AuthenticationsController#callback as HTML
|
15026
|
+
Parameters: {"code"=>"dcad192014a997c5afee419238cf4be516a1f77bebfd3aa07424010f485cd4e4", "state"=>"2326ca9cecf9c0e37ace1ff973f7b4bee0097905b5f577f6"}
|
15027
|
+
Authenticating with gds_sso strategy
|
15028
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15030
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15031
|
+
- signin
|
15032
|
+
' WHERE "users"."id" = 6[0m
|
15033
|
+
[1m[35m (8.8ms)[0m commit transaction
|
15034
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15035
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15036
|
+
- signin
|
15037
|
+
' WHERE "users"."id" = 6
|
15038
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
15039
|
+
Redirected to http://www.example-client.com/restricted
|
15040
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.7ms)
|
15041
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15042
|
+
Processing by ExampleController#restricted as HTML
|
15043
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15044
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
15045
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15046
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
15047
|
+
Authenticating with gds_sso strategy
|
15048
|
+
Completed in 1ms
|
15049
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:00 +0000
|
15050
|
+
Started GET "/auth/gds/callback?code=52df814b7671367519dd04b583c28c09fd9b4c6d02d91c73babdafdbfb724fe7&state=80252be4d57c2e674adaae4c76c6e60f6bc7205569ba288e" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15051
|
+
Processing by AuthenticationsController#callback as HTML
|
15052
|
+
Parameters: {"code"=>"52df814b7671367519dd04b583c28c09fd9b4c6d02d91c73babdafdbfb724fe7", "state"=>"80252be4d57c2e674adaae4c76c6e60f6bc7205569ba288e"}
|
15053
|
+
Authenticating with gds_sso strategy
|
15054
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15055
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15056
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15057
|
+
- signin
|
15058
|
+
' WHERE "users"."id" = 6[0m
|
15059
|
+
[1m[35m (6.7ms)[0m commit transaction
|
15060
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15061
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15062
|
+
- signin
|
15063
|
+
' WHERE "users"."id" = 6
|
15064
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
15065
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
15066
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.6ms)
|
15067
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15068
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
15069
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15070
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
15071
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15072
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
15073
|
+
Authenticating with gds_sso strategy
|
15074
|
+
Completed in 0ms
|
15075
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15076
|
+
Started GET "/auth/gds/callback?code=d1ed416d95f6f3d1cf1080615a6b889153a7ed10e25a0a96c83979c798d9c44b&state=cff939eefd214260088fcd4a6e964b812f18f053cacf2dbc" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15077
|
+
Processing by AuthenticationsController#callback as HTML
|
15078
|
+
Parameters: {"code"=>"d1ed416d95f6f3d1cf1080615a6b889153a7ed10e25a0a96c83979c798d9c44b", "state"=>"cff939eefd214260088fcd4a6e964b812f18f053cacf2dbc"}
|
15079
|
+
Authenticating with gds_sso strategy
|
15080
|
+
[1m[36mUser Load (2.6ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15082
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15083
|
+
- signin
|
15084
|
+
' WHERE "users"."id" = 6[0m
|
15085
|
+
[1m[35m (8.8ms)[0m commit transaction
|
15086
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15087
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15088
|
+
- signin
|
15089
|
+
' WHERE "users"."id" = 6
|
15090
|
+
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
15091
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
15092
|
+
Completed 302 Found in 21ms (ActiveRecord: 15.2ms)
|
15093
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15094
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
15095
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15096
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
15097
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15098
|
+
Processing by ExampleController#restricted as HTML
|
15099
|
+
Authenticating with gds_sso strategy
|
15100
|
+
Completed in 0ms
|
15101
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15102
|
+
Started GET "/auth/gds/callback?code=32e6334876b680b0cf60017f5fdfe630c1048fccc9031eba14141ff6a9b749d7&state=72c99324bbd939b06c935a88b8a3608fc053f6f5173ab85c" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15103
|
+
Processing by AuthenticationsController#callback as HTML
|
15104
|
+
Parameters: {"code"=>"32e6334876b680b0cf60017f5fdfe630c1048fccc9031eba14141ff6a9b749d7", "state"=>"72c99324bbd939b06c935a88b8a3608fc053f6f5173ab85c"}
|
15105
|
+
Authenticating with gds_sso strategy
|
15106
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15108
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15109
|
+
- signin
|
15110
|
+
' WHERE "users"."id" = 6[0m
|
15111
|
+
[1m[35m (10.0ms)[0m commit transaction
|
15112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15113
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15114
|
+
- signin
|
15115
|
+
' WHERE "users"."id" = 6
|
15116
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
15117
|
+
Redirected to http://www.example-client.com/restricted
|
15118
|
+
Completed 302 Found in 20ms (ActiveRecord: 13.0ms)
|
15119
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15120
|
+
Processing by ExampleController#restricted as HTML
|
15121
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15122
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
15123
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15124
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15125
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
15126
|
+
- signin
|
15127
|
+
' WHERE "users"."id" = 6[0m
|
15128
|
+
[1m[35m (2.0ms)[0m commit transaction
|
15129
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15130
|
+
Processing by ExampleController#restricted as HTML
|
15131
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15132
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
15133
|
+
Completed 403 Forbidden in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
|
15134
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-21 17:15:01 +0000
|
15135
|
+
Processing by AuthenticationsController#sign_out as HTML
|
15136
|
+
Redirected to http://localhost:4567/users/sign_out
|
15137
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
15138
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15139
|
+
Processing by ExampleController#restricted as HTML
|
15140
|
+
Authenticating with gds_sso strategy
|
15141
|
+
Completed in 0ms
|
15142
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15143
|
+
Started GET "/auth/gds/callback?code=8410a9368ca32527b3dc620ffcc62d292c3e9115bab4783b32383c8a9bf82ca0&state=bb9e892943f3f04fa3fbf35a73d15ae1bc7030ac9c912748" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15144
|
+
Processing by AuthenticationsController#callback as HTML
|
15145
|
+
Parameters: {"code"=>"8410a9368ca32527b3dc620ffcc62d292c3e9115bab4783b32383c8a9bf82ca0", "state"=>"bb9e892943f3f04fa3fbf35a73d15ae1bc7030ac9c912748"}
|
15146
|
+
Authenticating with gds_sso strategy
|
15147
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15149
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15150
|
+
- signin
|
15151
|
+
' WHERE "users"."id" = 6
|
15152
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
15153
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15154
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
15155
|
+
- signin
|
15156
|
+
' WHERE "users"."id" = 6[0m
|
15157
|
+
[1m[35m (2.0ms)[0m commit transaction
|
15158
|
+
Redirected to http://www.example-client.com/restricted
|
15159
|
+
Completed 302 Found in 15ms (ActiveRecord: 10.8ms)
|
15160
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15161
|
+
Processing by ExampleController#restricted as HTML
|
15162
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15163
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
15164
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15165
|
+
Processing by ExampleController#restricted as HTML
|
15166
|
+
Authenticating with gds_sso strategy
|
15167
|
+
Completed in 0ms
|
15168
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15169
|
+
Started GET "/auth/gds/callback?code=277f4a7b0c67feb0d9037500ef78cc8f66e79d46f0e8118b68ce61939ad8931f&state=fd4bbb4f30c4861a4c85a8e76681a0ab7816b5084611daa9" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15170
|
+
Processing by AuthenticationsController#callback as HTML
|
15171
|
+
Parameters: {"code"=>"277f4a7b0c67feb0d9037500ef78cc8f66e79d46f0e8118b68ce61939ad8931f", "state"=>"fd4bbb4f30c4861a4c85a8e76681a0ab7816b5084611daa9"}
|
15172
|
+
Authenticating with gds_sso strategy
|
15173
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15175
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15176
|
+
- signin
|
15177
|
+
' WHERE "users"."id" = 6
|
15178
|
+
[1m[36m (6.4ms)[0m [1mcommit transaction[0m
|
15179
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15180
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15181
|
+
- signin
|
15182
|
+
' WHERE "users"."id" = 6[0m
|
15183
|
+
[1m[35m (2.3ms)[0m commit transaction
|
15184
|
+
Redirected to http://www.example-client.com/restricted
|
15185
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.6ms)
|
15186
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15187
|
+
Processing by ExampleController#restricted as HTML
|
15188
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15189
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
15190
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:20:02 +0000
|
15191
|
+
Processing by ExampleController#restricted as HTML
|
15192
|
+
Authenticating with gds_sso strategy
|
15193
|
+
Completed in 0ms
|
15194
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-22 13:20:02 +0000
|
15195
|
+
Started GET "/auth/gds/callback?code=90ea231cc723b01e0b76d44695c39fe3b07285884fc7409ab5d12b1eabb1419c&state=f2d2e24cfa0597b398f1ca4c4339196610c378057c28cd63" for 127.0.0.1 at 2013-01-22 13:20:02 +0000
|
15196
|
+
Processing by AuthenticationsController#callback as HTML
|
15197
|
+
Parameters: {"code"=>"90ea231cc723b01e0b76d44695c39fe3b07285884fc7409ab5d12b1eabb1419c", "state"=>"f2d2e24cfa0597b398f1ca4c4339196610c378057c28cd63"}
|
15198
|
+
Authenticating with gds_sso strategy
|
15199
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15200
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15201
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15202
|
+
- signin
|
15203
|
+
' WHERE "users"."id" = 6
|
15204
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
15205
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15206
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15207
|
+
- signin
|
15208
|
+
' WHERE "users"."id" = 6[0m
|
15209
|
+
[1m[35m (1.8ms)[0m commit transaction
|
15210
|
+
Redirected to http://www.example-client.com/restricted
|
15211
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.3ms)
|
15212
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:20:02 +0000
|
15213
|
+
Processing by ExampleController#restricted as HTML
|
15214
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15215
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
15216
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15217
|
+
Processing by ExampleController#restricted as HTML
|
15218
|
+
Authenticating with gds_sso strategy
|
15219
|
+
Completed in 0ms
|
15220
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-01-21 17:15:02 +0000
|
15221
|
+
Started GET "/auth/gds/callback?code=8f43f8e06bc6f094d042eff8a03b7f9445e2b269bc9c1f79cb828b23cfba39d2&state=3884f167b5dc5dc396ae8de84580561dee5358a9d1c40881" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15222
|
+
Processing by AuthenticationsController#callback as HTML
|
15223
|
+
Parameters: {"code"=>"8f43f8e06bc6f094d042eff8a03b7f9445e2b269bc9c1f79cb828b23cfba39d2", "state"=>"3884f167b5dc5dc396ae8de84580561dee5358a9d1c40881"}
|
15224
|
+
Authenticating with gds_sso strategy
|
15225
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15227
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15228
|
+
- signin
|
15229
|
+
' WHERE "users"."id" = 6
|
15230
|
+
[1m[36m (6.8ms)[0m [1mcommit transaction[0m
|
15231
|
+
[1m[35m (0.0ms)[0m begin transaction
|
15232
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15233
|
+
- signin
|
15234
|
+
' WHERE "users"."id" = 6[0m
|
15235
|
+
[1m[35m (1.9ms)[0m commit transaction
|
15236
|
+
Redirected to http://www.example-client.com/restricted
|
15237
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.5ms)
|
15238
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15239
|
+
Processing by ExampleController#restricted as HTML
|
15240
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15241
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
15242
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-22 13:10:03 +0000
|
15243
|
+
Processing by ExampleController#restricted as HTML
|
15244
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15245
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
15246
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15247
|
+
Processing by ExampleController#restricted as JSON
|
15248
|
+
Authenticating with gds_sso_api_access strategy
|
15249
|
+
Completed in 14ms
|
15250
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15251
|
+
Processing by ExampleController#restricted as JSON
|
15252
|
+
Authenticating with gds_sso_api_access strategy
|
15253
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
15254
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15255
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
15256
|
+
Authenticating with gds_sso_api_access strategy
|
15257
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
15258
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15259
|
+
Processing by ExampleController#restricted as JSON
|
15260
|
+
Authenticating with gds_bearer_token strategy
|
15261
|
+
Completed in 9ms
|
15262
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15263
|
+
Processing by ExampleController#restricted as JSON
|
15264
|
+
Authenticating with gds_bearer_token strategy
|
15265
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
15266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15267
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15268
|
+
- signin
|
15269
|
+
' WHERE "users"."id" = 6[0m
|
15270
|
+
[1m[35m (8.9ms)[0m commit transaction
|
15271
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15272
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15273
|
+
- signin
|
15274
|
+
' WHERE "users"."id" = 6
|
15275
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
15276
|
+
Completed 200 OK in 48ms (Views: 0.7ms | ActiveRecord: 11.9ms)
|
15277
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-21 17:15:03 +0000
|
15278
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
15279
|
+
Authenticating with gds_bearer_token strategy
|
15280
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
15281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15282
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
15283
|
+
- signin
|
15284
|
+
' WHERE "users"."id" = 6
|
15285
|
+
[1m[36m (8.6ms)[0m [1mcommit transaction[0m
|
15286
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15287
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
15288
|
+
- signin
|
15289
|
+
' WHERE "users"."id" = 6[0m
|
15290
|
+
[1m[35m (2.0ms)[0m commit transaction
|
15291
|
+
Completed 200 OK in 67ms (Views: 0.7ms | ActiveRecord: 11.5ms)
|