gds-sso 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/spec/internal/log/test.log
CHANGED
@@ -25339,3 +25339,2621 @@ Authenticating with gds_bearer_token strategy
|
|
25339
25339
|
' WHERE "users"."id" = 5
|
25340
25340
|
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
25341
25341
|
Completed 200 OK in 67ms (Views: 0.6ms | ActiveRecord: 12.4ms)
|
25342
|
+
Connecting to database specified by database.yml
|
25343
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
25344
|
+
[1m[35m (25.5ms)[0m DROP TABLE "users"
|
25345
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
25346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25347
|
+
[1m[36mSQL (19.0ms)[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", "a1s2d39724"]]
|
25348
|
+
[1m[35m (15.1ms)[0m commit transaction
|
25349
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
25350
|
+
Processing by Api::UserController#update as HTML
|
25351
|
+
Parameters: {"uid"=>"a1s2d39724"}
|
25352
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.8ms)
|
25353
|
+
Completed 403 Forbidden in 121ms (Views: 119.7ms | ActiveRecord: 0.0ms)
|
25354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25355
|
+
[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", "a1s2d31987"]]
|
25356
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
25357
|
+
Processing by Api::UserController#update as HTML
|
25358
|
+
Parameters: {"uid"=>"a1s2d31987"}
|
25359
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31987' LIMIT 1
|
25360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25361
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
25362
|
+
- signin
|
25363
|
+
- new permission
|
25364
|
+
' WHERE "users"."id" = 2
|
25365
|
+
[1m[36m (14.0ms)[0m [1mcommit transaction[0m
|
25366
|
+
Completed 200 OK in 23ms (ActiveRecord: 14.6ms)
|
25367
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25369
|
+
[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", "a1s2d33445"]]
|
25370
|
+
[1m[36m (4.2ms)[0m [1mcommit transaction[0m
|
25371
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
25372
|
+
Processing by Api::UserController#reauth as HTML
|
25373
|
+
Parameters: {"uid"=>"a1s2d33445"}
|
25374
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
25375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25376
|
+
[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", "a1s2d31714"]]
|
25377
|
+
[1m[35m (2.4ms)[0m commit transaction
|
25378
|
+
Processing by Api::UserController#reauth as HTML
|
25379
|
+
Parameters: {"uid"=>"a1s2d31714"}
|
25380
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31714' LIMIT 1[0m
|
25381
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25382
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
25383
|
+
- signin
|
25384
|
+
' WHERE "users"."id" = 4[0m
|
25385
|
+
[1m[35m (11.8ms)[0m commit transaction
|
25386
|
+
Completed 200 OK in 15ms (ActiveRecord: 12.3ms)
|
25387
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
25388
|
+
Started GET "/" for 127.0.0.1 at 2013-04-11 11:41:02 +0000
|
25389
|
+
Processing by ExampleController#index as HTML
|
25390
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
25391
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:02 +0000
|
25392
|
+
Processing by ExampleController#restricted as HTML
|
25393
|
+
Authenticating with gds_sso strategy
|
25394
|
+
Completed in 67ms
|
25395
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:02 +0000
|
25396
|
+
Started GET "/auth/gds/callback?code=42fcd8cad574ff23f0ecc35d9fb8ac84c2ce67c6cb5095f9752b2c4c63ba302c&state=1d32e80685dbbee3edf7f8716014acb2a26a614233cffca1" for 127.0.0.1 at 2013-04-11 11:41:03 +0000
|
25397
|
+
Processing by AuthenticationsController#callback as HTML
|
25398
|
+
Parameters: {"code"=>"42fcd8cad574ff23f0ecc35d9fb8ac84c2ce67c6cb5095f9752b2c4c63ba302c", "state"=>"1d32e80685dbbee3edf7f8716014acb2a26a614233cffca1"}
|
25399
|
+
Authenticating with gds_sso strategy
|
25400
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25402
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
25403
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
25404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25405
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
25406
|
+
- signin
|
25407
|
+
' WHERE "users"."id" = 5[0m
|
25408
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25409
|
+
Redirected to http://www.example-client.com/restricted
|
25410
|
+
Completed 302 Found in 19ms (ActiveRecord: 13.0ms)
|
25411
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25412
|
+
Processing by ExampleController#restricted as HTML
|
25413
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25414
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
25415
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25416
|
+
Processing by ExampleController#restricted as HTML
|
25417
|
+
Authenticating with gds_sso strategy
|
25418
|
+
Completed in 0ms
|
25419
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25420
|
+
Started GET "/auth/gds/callback?code=d41d3eb70fb31646d08f0055b38186dd8e1fdd6a1d01d8e81b34f881804f04b2&state=080d3d5ba24d516c400c30221ef770900cff8e6411bc00ec" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25421
|
+
Processing by AuthenticationsController#callback as HTML
|
25422
|
+
Parameters: {"code"=>"d41d3eb70fb31646d08f0055b38186dd8e1fdd6a1d01d8e81b34f881804f04b2", "state"=>"080d3d5ba24d516c400c30221ef770900cff8e6411bc00ec"}
|
25423
|
+
Authenticating with gds_sso strategy
|
25424
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25426
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25427
|
+
- signin
|
25428
|
+
' WHERE "users"."id" = 5
|
25429
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
25430
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25431
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25432
|
+
- signin
|
25433
|
+
' WHERE "users"."id" = 5[0m
|
25434
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25435
|
+
Redirected to http://www.example-client.com/restricted
|
25436
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.3ms)
|
25437
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25438
|
+
Processing by ExampleController#restricted as HTML
|
25439
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25440
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
25441
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25442
|
+
Processing by ExampleController#restricted as HTML
|
25443
|
+
Authenticating with gds_sso strategy
|
25444
|
+
Completed in 0ms
|
25445
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25446
|
+
Started GET "/auth/gds/callback?code=58c958ff6798d839dbf4fce76e3773368a9ccfc024ece07fcced96f9a134fe17&state=b6a5c33df97c0df45a548225be979385a8f3d83eaf00eb04" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25447
|
+
Processing by AuthenticationsController#callback as HTML
|
25448
|
+
Parameters: {"code"=>"58c958ff6798d839dbf4fce76e3773368a9ccfc024ece07fcced96f9a134fe17", "state"=>"b6a5c33df97c0df45a548225be979385a8f3d83eaf00eb04"}
|
25449
|
+
Authenticating with gds_sso strategy
|
25450
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25451
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25452
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25453
|
+
- signin
|
25454
|
+
' WHERE "users"."id" = 5
|
25455
|
+
[1m[36m (10.4ms)[0m [1mcommit transaction[0m
|
25456
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25457
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25458
|
+
- signin
|
25459
|
+
' WHERE "users"."id" = 5[0m
|
25460
|
+
[1m[35m (2.1ms)[0m commit transaction
|
25461
|
+
Redirected to http://www.example-client.com/restricted
|
25462
|
+
Completed 302 Found in 18ms (ActiveRecord: 13.4ms)
|
25463
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25464
|
+
Processing by ExampleController#restricted as HTML
|
25465
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25466
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
25467
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25468
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25469
|
+
Authenticating with gds_sso strategy
|
25470
|
+
Completed in 1ms
|
25471
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:04 +0000
|
25472
|
+
Started GET "/auth/gds/callback?code=eb7ef3ad71dfa02861787f7193fe6271293c12128c9199f303102323786a34bd&state=7c512529f84f68f8ab2a34c36b561f3e73dadfe791b04f9b" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25473
|
+
Processing by AuthenticationsController#callback as HTML
|
25474
|
+
Parameters: {"code"=>"eb7ef3ad71dfa02861787f7193fe6271293c12128c9199f303102323786a34bd", "state"=>"7c512529f84f68f8ab2a34c36b561f3e73dadfe791b04f9b"}
|
25475
|
+
Authenticating with gds_sso strategy
|
25476
|
+
[1m[35mUser Load (0.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25477
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25478
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25479
|
+
- signin
|
25480
|
+
' WHERE "users"."id" = 5
|
25481
|
+
[1m[36m (7.6ms)[0m [1mcommit transaction[0m
|
25482
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25483
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25484
|
+
- signin
|
25485
|
+
' WHERE "users"."id" = 5[0m
|
25486
|
+
[1m[35m (1.9ms)[0m commit transaction
|
25487
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
25488
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.9ms)
|
25489
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25490
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25491
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25492
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
25493
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25494
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25495
|
+
Authenticating with gds_sso strategy
|
25496
|
+
Completed in 0ms
|
25497
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25498
|
+
Started GET "/auth/gds/callback?code=9e59234f8c1050ae5c2a7323f39569a1c0f7e7e37e68be0e518a7257d4b5c1b1&state=b00f0142ff4596de6ddc740efed461c7538fd182bfac896b" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25499
|
+
Processing by AuthenticationsController#callback as HTML
|
25500
|
+
Parameters: {"code"=>"9e59234f8c1050ae5c2a7323f39569a1c0f7e7e37e68be0e518a7257d4b5c1b1", "state"=>"b00f0142ff4596de6ddc740efed461c7538fd182bfac896b"}
|
25501
|
+
Authenticating with gds_sso strategy
|
25502
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25503
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25504
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25505
|
+
- signin
|
25506
|
+
' WHERE "users"."id" = 5
|
25507
|
+
[1m[36m (9.1ms)[0m [1mcommit transaction[0m
|
25508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25509
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25510
|
+
- signin
|
25511
|
+
' WHERE "users"."id" = 5[0m
|
25512
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25513
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
25514
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.8ms)
|
25515
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25516
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25517
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25518
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
25519
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25520
|
+
Processing by ExampleController#restricted as HTML
|
25521
|
+
Authenticating with gds_sso strategy
|
25522
|
+
Completed in 0ms
|
25523
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25524
|
+
Started GET "/auth/gds/callback?code=91486b12667ae63f2689aebc6afb9119e1a6e9e74f3ddd349190403a7ba97c9f&state=fa767b7fa28afae86131a8fd7d3d165eb32d9356d2b953b1" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25525
|
+
Processing by AuthenticationsController#callback as HTML
|
25526
|
+
Parameters: {"code"=>"91486b12667ae63f2689aebc6afb9119e1a6e9e74f3ddd349190403a7ba97c9f", "state"=>"fa767b7fa28afae86131a8fd7d3d165eb32d9356d2b953b1"}
|
25527
|
+
Authenticating with gds_sso strategy
|
25528
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25530
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25531
|
+
- signin
|
25532
|
+
' WHERE "users"."id" = 5
|
25533
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
25534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25535
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25536
|
+
- signin
|
25537
|
+
' WHERE "users"."id" = 5[0m
|
25538
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25539
|
+
Redirected to http://www.example-client.com/restricted
|
25540
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.7ms)
|
25541
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:05 +0000
|
25542
|
+
Processing by ExampleController#restricted as HTML
|
25543
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25544
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
25545
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25546
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25547
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
25548
|
+
- signin
|
25549
|
+
' WHERE "users"."id" = 5
|
25550
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
25551
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25552
|
+
Processing by ExampleController#restricted as HTML
|
25553
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25554
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
25555
|
+
Completed 403 Forbidden in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
|
25556
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25557
|
+
Processing by AuthenticationsController#sign_out as HTML
|
25558
|
+
Redirected to http://localhost:4567/users/sign_out
|
25559
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
25560
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25561
|
+
Processing by ExampleController#restricted as HTML
|
25562
|
+
Authenticating with gds_sso strategy
|
25563
|
+
Completed in 0ms
|
25564
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25565
|
+
Started GET "/auth/gds/callback?code=aa1df58062c0a9a454debf424406db6a9cd6cb3f244146436a0794bff76cc000&state=dff585ca928407b0ecd56df967478f4766d3e30716023d27" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25566
|
+
Processing by AuthenticationsController#callback as HTML
|
25567
|
+
Parameters: {"code"=>"aa1df58062c0a9a454debf424406db6a9cd6cb3f244146436a0794bff76cc000", "state"=>"dff585ca928407b0ecd56df967478f4766d3e30716023d27"}
|
25568
|
+
Authenticating with gds_sso strategy
|
25569
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25570
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25571
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25572
|
+
- signin
|
25573
|
+
' WHERE "users"."id" = 5[0m
|
25574
|
+
[1m[35m (8.4ms)[0m commit transaction
|
25575
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25576
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
25577
|
+
- signin
|
25578
|
+
' WHERE "users"."id" = 5
|
25579
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
25580
|
+
Redirected to http://www.example-client.com/restricted
|
25581
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.2ms)
|
25582
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25583
|
+
Processing by ExampleController#restricted as HTML
|
25584
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25585
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
25586
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25587
|
+
Processing by ExampleController#restricted as HTML
|
25588
|
+
Authenticating with gds_sso strategy
|
25589
|
+
Completed in 0ms
|
25590
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25591
|
+
Started GET "/auth/gds/callback?code=a6bcabb77c8db31b2e1bbe800aaf1d02cb80898eb0add8cb593bb38ada5afb49&state=ba0bbaa8949ff202fc8fb4b677035a7c314abcbf0283e8ef" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25592
|
+
Processing by AuthenticationsController#callback as HTML
|
25593
|
+
Parameters: {"code"=>"a6bcabb77c8db31b2e1bbe800aaf1d02cb80898eb0add8cb593bb38ada5afb49", "state"=>"ba0bbaa8949ff202fc8fb4b677035a7c314abcbf0283e8ef"}
|
25594
|
+
Authenticating with gds_sso strategy
|
25595
|
+
[1m[36mUser Load (0.9ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25596
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25597
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25598
|
+
- signin
|
25599
|
+
' WHERE "users"."id" = 5[0m
|
25600
|
+
[1m[35m (7.6ms)[0m commit transaction
|
25601
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25602
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25603
|
+
- signin
|
25604
|
+
' WHERE "users"."id" = 5
|
25605
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
25606
|
+
Redirected to http://www.example-client.com/restricted
|
25607
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.1ms)
|
25608
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25609
|
+
Processing by ExampleController#restricted as HTML
|
25610
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25611
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
25612
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 07:46:06 +0000
|
25613
|
+
Processing by ExampleController#restricted as HTML
|
25614
|
+
Authenticating with gds_sso strategy
|
25615
|
+
Completed in 0ms
|
25616
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 07:46:06 +0000
|
25617
|
+
Started GET "/auth/gds/callback?code=1c3a7a5cf33499ef8daa33b07290d0eef31c0fbc7a7b519a5cbf39ba865f792d&state=fda6af6e39a39bf26c1abc5af2a29978b412acf793b24810" for 127.0.0.1 at 2013-04-12 07:46:06 +0000
|
25618
|
+
Processing by AuthenticationsController#callback as HTML
|
25619
|
+
Parameters: {"code"=>"1c3a7a5cf33499ef8daa33b07290d0eef31c0fbc7a7b519a5cbf39ba865f792d", "state"=>"fda6af6e39a39bf26c1abc5af2a29978b412acf793b24810"}
|
25620
|
+
Authenticating with gds_sso strategy
|
25621
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25622
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25623
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25624
|
+
- signin
|
25625
|
+
' WHERE "users"."id" = 5[0m
|
25626
|
+
[1m[35m (8.2ms)[0m commit transaction
|
25627
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25628
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25629
|
+
- signin
|
25630
|
+
' WHERE "users"."id" = 5
|
25631
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
25632
|
+
Redirected to http://www.example-client.com/restricted
|
25633
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.0ms)
|
25634
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 07:46:06 +0000
|
25635
|
+
Processing by ExampleController#restricted as HTML
|
25636
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25637
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
25638
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25639
|
+
Processing by ExampleController#restricted as HTML
|
25640
|
+
Authenticating with gds_sso strategy
|
25641
|
+
Completed in 0ms
|
25642
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 11:41:06 +0000
|
25643
|
+
Started GET "/auth/gds/callback?code=8141b8b33d554b28e27945ab8d3771d5699478f5dd62f6bfccd5b17ec1b15d4c&state=9ba5460e9926be533ee1db12a5425450ee7960f786852a31" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25644
|
+
Processing by AuthenticationsController#callback as HTML
|
25645
|
+
Parameters: {"code"=>"8141b8b33d554b28e27945ab8d3771d5699478f5dd62f6bfccd5b17ec1b15d4c", "state"=>"9ba5460e9926be533ee1db12a5425450ee7960f786852a31"}
|
25646
|
+
Authenticating with gds_sso strategy
|
25647
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25649
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25650
|
+
- signin
|
25651
|
+
' WHERE "users"."id" = 5[0m
|
25652
|
+
[1m[35m (8.5ms)[0m commit transaction
|
25653
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25654
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25655
|
+
- signin
|
25656
|
+
' WHERE "users"."id" = 5
|
25657
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
25658
|
+
Redirected to http://www.example-client.com/restricted
|
25659
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.5ms)
|
25660
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25661
|
+
Processing by ExampleController#restricted as HTML
|
25662
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25663
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
25664
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 07:36:07 +0000
|
25665
|
+
Processing by ExampleController#restricted as HTML
|
25666
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25667
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
25668
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25669
|
+
Processing by ExampleController#restricted as JSON
|
25670
|
+
Authenticating with gds_sso_api_access strategy
|
25671
|
+
Completed in 13ms
|
25672
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25673
|
+
Processing by ExampleController#restricted as JSON
|
25674
|
+
Authenticating with gds_sso_api_access strategy
|
25675
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
25676
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25677
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
25678
|
+
Authenticating with gds_sso_api_access strategy
|
25679
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
25680
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25681
|
+
Processing by ExampleController#restricted as JSON
|
25682
|
+
Authenticating with gds_bearer_token strategy
|
25683
|
+
Completed in 9ms
|
25684
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25685
|
+
Processing by ExampleController#restricted as JSON
|
25686
|
+
Authenticating with gds_bearer_token strategy
|
25687
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25688
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25689
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25690
|
+
- signin
|
25691
|
+
' WHERE "users"."id" = 5
|
25692
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
25693
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25694
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25695
|
+
- signin
|
25696
|
+
' WHERE "users"."id" = 5[0m
|
25697
|
+
[1m[35m (2.4ms)[0m commit transaction
|
25698
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 13.0ms)
|
25699
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 11:41:07 +0000
|
25700
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
25701
|
+
Authenticating with gds_bearer_token strategy
|
25702
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25703
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25704
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25705
|
+
- signin
|
25706
|
+
' WHERE "users"."id" = 5[0m
|
25707
|
+
[1m[35m (21.3ms)[0m commit transaction
|
25708
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25709
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25710
|
+
- signin
|
25711
|
+
' WHERE "users"."id" = 5
|
25712
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
25713
|
+
Completed 200 OK in 68ms (Views: 0.7ms | ActiveRecord: 24.2ms)
|
25714
|
+
Connecting to database specified by database.yml
|
25715
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
25716
|
+
[1m[35m (22.5ms)[0m DROP TABLE "users"
|
25717
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
25718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25719
|
+
[1m[36mSQL (19.5ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d33030"]]
|
25720
|
+
[1m[35m (12.2ms)[0m commit transaction
|
25721
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
25722
|
+
Processing by Api::UserController#update as HTML
|
25723
|
+
Parameters: {"uid"=>"a1s2d33030"}
|
25724
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.1ms)
|
25725
|
+
Completed 403 Forbidden in 134ms (Views: 133.1ms | ActiveRecord: 0.0ms)
|
25726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25727
|
+
[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", "a1s2d3423"]]
|
25728
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
25729
|
+
Processing by Api::UserController#update as HTML
|
25730
|
+
Parameters: {"uid"=>"a1s2d3423"}
|
25731
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3423' LIMIT 1
|
25732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25733
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
25734
|
+
- signin
|
25735
|
+
- new permission
|
25736
|
+
' WHERE "users"."id" = 2
|
25737
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
25738
|
+
Completed 200 OK in 22ms (ActiveRecord: 3.2ms)
|
25739
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25740
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25741
|
+
[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", "a1s2d37891"]]
|
25742
|
+
[1m[36m (9.0ms)[0m [1mcommit transaction[0m
|
25743
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
25744
|
+
Processing by Api::UserController#reauth as HTML
|
25745
|
+
Parameters: {"uid"=>"a1s2d37891"}
|
25746
|
+
Completed 403 Forbidden in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|
25747
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25748
|
+
[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", "a1s2d37496"]]
|
25749
|
+
[1m[35m (9.6ms)[0m commit transaction
|
25750
|
+
Processing by Api::UserController#reauth as HTML
|
25751
|
+
Parameters: {"uid"=>"a1s2d37496"}
|
25752
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37496' LIMIT 1[0m
|
25753
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25754
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
25755
|
+
- signin
|
25756
|
+
' WHERE "users"."id" = 4[0m
|
25757
|
+
[1m[35m (4.7ms)[0m commit transaction
|
25758
|
+
Completed 200 OK in 7ms (ActiveRecord: 5.2ms)
|
25759
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
25760
|
+
Started GET "/" for 127.0.0.1 at 2013-04-11 16:53:45 +0000
|
25761
|
+
Processing by ExampleController#index as HTML
|
25762
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
25763
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:45 +0000
|
25764
|
+
Processing by ExampleController#restricted as HTML
|
25765
|
+
Authenticating with gds_sso strategy
|
25766
|
+
Completed in 67ms
|
25767
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:45 +0000
|
25768
|
+
Started GET "/auth/gds/callback?code=66b582758b9cdae3e4c3d21f52a1aee53e723bf484ea966e07586db5ad0d18f5&state=6e744027ef85b24fbed71217dd34b6be08f14370b42e5154" for 127.0.0.1 at 2013-04-11 16:53:46 +0000
|
25769
|
+
Processing by AuthenticationsController#callback as HTML
|
25770
|
+
Parameters: {"code"=>"66b582758b9cdae3e4c3d21f52a1aee53e723bf484ea966e07586db5ad0d18f5", "state"=>"6e744027ef85b24fbed71217dd34b6be08f14370b42e5154"}
|
25771
|
+
Authenticating with gds_sso strategy
|
25772
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25773
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25774
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
25775
|
+
[1m[36m (16.4ms)[0m [1mcommit transaction[0m
|
25776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25777
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
25778
|
+
- signin
|
25779
|
+
' WHERE "users"."id" = 5[0m
|
25780
|
+
[1m[35m (2.6ms)[0m commit transaction
|
25781
|
+
Redirected to http://www.example-client.com/restricted
|
25782
|
+
Completed 302 Found in 37ms (ActiveRecord: 20.1ms)
|
25783
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25784
|
+
Processing by ExampleController#restricted as HTML
|
25785
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25786
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
25787
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25788
|
+
Processing by ExampleController#restricted as HTML
|
25789
|
+
Authenticating with gds_sso strategy
|
25790
|
+
Completed in 0ms
|
25791
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25792
|
+
Started GET "/auth/gds/callback?code=952fa9f1fb1a7fffeefbce722a4f60c82346ba74276fc5419a02bb64c96e7e55&state=598f9d2152d5bf4178bebf7b8060f64bd1d7122492b97716" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25793
|
+
Processing by AuthenticationsController#callback as HTML
|
25794
|
+
Parameters: {"code"=>"952fa9f1fb1a7fffeefbce722a4f60c82346ba74276fc5419a02bb64c96e7e55", "state"=>"598f9d2152d5bf4178bebf7b8060f64bd1d7122492b97716"}
|
25795
|
+
Authenticating with gds_sso strategy
|
25796
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25797
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25798
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25799
|
+
- signin
|
25800
|
+
' WHERE "users"."id" = 5
|
25801
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
25802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25803
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25804
|
+
- signin
|
25805
|
+
' WHERE "users"."id" = 5[0m
|
25806
|
+
[1m[35m (2.7ms)[0m commit transaction
|
25807
|
+
Redirected to http://www.example-client.com/restricted
|
25808
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
25809
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25810
|
+
Processing by ExampleController#restricted as HTML
|
25811
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25812
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
25813
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25814
|
+
Processing by ExampleController#restricted as HTML
|
25815
|
+
Authenticating with gds_sso strategy
|
25816
|
+
Completed in 0ms
|
25817
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25818
|
+
Started GET "/auth/gds/callback?code=32f60fe4b33a87dbd9447580eab734a72476a9c1be0491a3171a4960cbaa79df&state=bca8573a2ea07af33b3aa25980fa408298558986890947e6" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25819
|
+
Processing by AuthenticationsController#callback as HTML
|
25820
|
+
Parameters: {"code"=>"32f60fe4b33a87dbd9447580eab734a72476a9c1be0491a3171a4960cbaa79df", "state"=>"bca8573a2ea07af33b3aa25980fa408298558986890947e6"}
|
25821
|
+
Authenticating with gds_sso strategy
|
25822
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25824
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25825
|
+
- signin
|
25826
|
+
' WHERE "users"."id" = 5
|
25827
|
+
[1m[36m (7.7ms)[0m [1mcommit transaction[0m
|
25828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25829
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25830
|
+
- signin
|
25831
|
+
' WHERE "users"."id" = 5[0m
|
25832
|
+
[1m[35m (2.5ms)[0m commit transaction
|
25833
|
+
Redirected to http://www.example-client.com/restricted
|
25834
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.1ms)
|
25835
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25836
|
+
Processing by ExampleController#restricted as HTML
|
25837
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25838
|
+
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
25839
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25840
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25841
|
+
Authenticating with gds_sso strategy
|
25842
|
+
Completed in 1ms
|
25843
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:47 +0000
|
25844
|
+
Started GET "/auth/gds/callback?code=17ffb81921fd56c4125c996a82d91820c8117e9d6d48a189e53c2e1720aaaeb7&state=767f03a6cdb06fbf587d5a2fd9ed97ec7cd4d961eb4a4a50" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25845
|
+
Processing by AuthenticationsController#callback as HTML
|
25846
|
+
Parameters: {"code"=>"17ffb81921fd56c4125c996a82d91820c8117e9d6d48a189e53c2e1720aaaeb7", "state"=>"767f03a6cdb06fbf587d5a2fd9ed97ec7cd4d961eb4a4a50"}
|
25847
|
+
Authenticating with gds_sso strategy
|
25848
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25850
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25851
|
+
- signin
|
25852
|
+
' WHERE "users"."id" = 5
|
25853
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
25854
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25855
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25856
|
+
- signin
|
25857
|
+
' WHERE "users"."id" = 5[0m
|
25858
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25859
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
25860
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.1ms)
|
25861
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25862
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25863
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25864
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
25865
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25866
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25867
|
+
Authenticating with gds_sso strategy
|
25868
|
+
Completed in 0ms
|
25869
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25870
|
+
Started GET "/auth/gds/callback?code=5ac399f653eb1d718cef7864afe5cd09d86a14a1f8d3be63cb4258bf9f0f6d12&state=f027b37f3a7e7bd4660fc88debdf8de07d7add81476652f3" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25871
|
+
Processing by AuthenticationsController#callback as HTML
|
25872
|
+
Parameters: {"code"=>"5ac399f653eb1d718cef7864afe5cd09d86a14a1f8d3be63cb4258bf9f0f6d12", "state"=>"f027b37f3a7e7bd4660fc88debdf8de07d7add81476652f3"}
|
25873
|
+
Authenticating with gds_sso strategy
|
25874
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25875
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25876
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25877
|
+
- signin
|
25878
|
+
' WHERE "users"."id" = 5
|
25879
|
+
[1m[36m (9.6ms)[0m [1mcommit transaction[0m
|
25880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25881
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25882
|
+
- signin
|
25883
|
+
' WHERE "users"."id" = 5[0m
|
25884
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25885
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
25886
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.2ms)
|
25887
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25888
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
25889
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25890
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
25891
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25892
|
+
Processing by ExampleController#restricted as HTML
|
25893
|
+
Authenticating with gds_sso strategy
|
25894
|
+
Completed in 0ms
|
25895
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25896
|
+
Started GET "/auth/gds/callback?code=90e7682e0123985a19a17a64220f93a2a4e830c908a95805a36a36376e441909&state=260004b4321536255ce5da2c61fe4585307ac46d9a49f8be" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25897
|
+
Processing by AuthenticationsController#callback as HTML
|
25898
|
+
Parameters: {"code"=>"90e7682e0123985a19a17a64220f93a2a4e830c908a95805a36a36376e441909", "state"=>"260004b4321536255ce5da2c61fe4585307ac46d9a49f8be"}
|
25899
|
+
Authenticating with gds_sso strategy
|
25900
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25902
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25903
|
+
- signin
|
25904
|
+
' WHERE "users"."id" = 5
|
25905
|
+
[1m[36m (6.5ms)[0m [1mcommit transaction[0m
|
25906
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25907
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25908
|
+
- signin
|
25909
|
+
' WHERE "users"."id" = 5[0m
|
25910
|
+
[1m[35m (1.8ms)[0m commit transaction
|
25911
|
+
Redirected to http://www.example-client.com/restricted
|
25912
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.4ms)
|
25913
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25914
|
+
Processing by ExampleController#restricted as HTML
|
25915
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25916
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
25917
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25919
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
25920
|
+
- signin
|
25921
|
+
' WHERE "users"."id" = 5
|
25922
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
25923
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25924
|
+
Processing by ExampleController#restricted as HTML
|
25925
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25926
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
25927
|
+
Completed 403 Forbidden in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
|
25928
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-11 16:53:48 +0000
|
25929
|
+
Processing by AuthenticationsController#sign_out as HTML
|
25930
|
+
Redirected to http://localhost:4567/users/sign_out
|
25931
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
25932
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25933
|
+
Processing by ExampleController#restricted as HTML
|
25934
|
+
Authenticating with gds_sso strategy
|
25935
|
+
Completed in 0ms
|
25936
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25937
|
+
Started GET "/auth/gds/callback?code=aee150b6c69153ca8e0f5a4ffc46dd521c8ab967f60333bd3a6954408bed48cd&state=6f29a5162cd270c0aa2f8e05fb62d0ebfbf17c2b15d30814" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25938
|
+
Processing by AuthenticationsController#callback as HTML
|
25939
|
+
Parameters: {"code"=>"aee150b6c69153ca8e0f5a4ffc46dd521c8ab967f60333bd3a6954408bed48cd", "state"=>"6f29a5162cd270c0aa2f8e05fb62d0ebfbf17c2b15d30814"}
|
25940
|
+
Authenticating with gds_sso strategy
|
25941
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25942
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25943
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25944
|
+
- signin
|
25945
|
+
' WHERE "users"."id" = 5[0m
|
25946
|
+
[1m[35m (8.8ms)[0m commit transaction
|
25947
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25948
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
25949
|
+
- signin
|
25950
|
+
' WHERE "users"."id" = 5
|
25951
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
25952
|
+
Redirected to http://www.example-client.com/restricted
|
25953
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
|
25954
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25955
|
+
Processing by ExampleController#restricted as HTML
|
25956
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25957
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
25958
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25959
|
+
Processing by ExampleController#restricted as HTML
|
25960
|
+
Authenticating with gds_sso strategy
|
25961
|
+
Completed in 0ms
|
25962
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25963
|
+
Started GET "/auth/gds/callback?code=fae1430fea786b81c8c05a5b35030f69abde8c63f383e8213f2cfda6fefdd67e&state=a8c250384bd0fa3bb51c4fcb91ff9e6d09493bc3a0983e98" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25964
|
+
Processing by AuthenticationsController#callback as HTML
|
25965
|
+
Parameters: {"code"=>"fae1430fea786b81c8c05a5b35030f69abde8c63f383e8213f2cfda6fefdd67e", "state"=>"a8c250384bd0fa3bb51c4fcb91ff9e6d09493bc3a0983e98"}
|
25966
|
+
Authenticating with gds_sso strategy
|
25967
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25969
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25970
|
+
- signin
|
25971
|
+
' WHERE "users"."id" = 5[0m
|
25972
|
+
[1m[35m (16.0ms)[0m commit transaction
|
25973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25974
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
25975
|
+
- signin
|
25976
|
+
' WHERE "users"."id" = 5
|
25977
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
25978
|
+
Redirected to http://www.example-client.com/restricted
|
25979
|
+
Completed 302 Found in 25ms (ActiveRecord: 18.8ms)
|
25980
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
25981
|
+
Processing by ExampleController#restricted as HTML
|
25982
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
25983
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
25984
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 12:58:49 +0000
|
25985
|
+
Processing by ExampleController#restricted as HTML
|
25986
|
+
Authenticating with gds_sso strategy
|
25987
|
+
Completed in 0ms
|
25988
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 12:58:49 +0000
|
25989
|
+
Started GET "/auth/gds/callback?code=51e98a10d517748dc8defeba03ac2f7932f72a4cb84c1abe756b9ab4433262f6&state=7df622f04e7b9ca123ccad607ac1831659acbf3091fc2723" for 127.0.0.1 at 2013-04-12 12:58:49 +0000
|
25990
|
+
Processing by AuthenticationsController#callback as HTML
|
25991
|
+
Parameters: {"code"=>"51e98a10d517748dc8defeba03ac2f7932f72a4cb84c1abe756b9ab4433262f6", "state"=>"7df622f04e7b9ca123ccad607ac1831659acbf3091fc2723"}
|
25992
|
+
Authenticating with gds_sso strategy
|
25993
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
25994
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25995
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
25996
|
+
- signin
|
25997
|
+
' WHERE "users"."id" = 5[0m
|
25998
|
+
[1m[35m (7.0ms)[0m commit transaction
|
25999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26000
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26001
|
+
- signin
|
26002
|
+
' WHERE "users"."id" = 5
|
26003
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26004
|
+
Redirected to http://www.example-client.com/restricted
|
26005
|
+
Completed 302 Found in 15ms (ActiveRecord: 9.8ms)
|
26006
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 12:58:49 +0000
|
26007
|
+
Processing by ExampleController#restricted as HTML
|
26008
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26009
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
26010
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
26011
|
+
Processing by ExampleController#restricted as HTML
|
26012
|
+
Authenticating with gds_sso strategy
|
26013
|
+
Completed in 1ms
|
26014
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-11 16:53:49 +0000
|
26015
|
+
Started GET "/auth/gds/callback?code=f832da2eb35bad11e727c4a0a32c139880f4d3f1e37f13185923c0e953210b5f&state=6e8cdebac5c19b8dda08155a232e87430e1eeda501bcbed2" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26016
|
+
Processing by AuthenticationsController#callback as HTML
|
26017
|
+
Parameters: {"code"=>"f832da2eb35bad11e727c4a0a32c139880f4d3f1e37f13185923c0e953210b5f", "state"=>"6e8cdebac5c19b8dda08155a232e87430e1eeda501bcbed2"}
|
26018
|
+
Authenticating with gds_sso strategy
|
26019
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26021
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26022
|
+
- signin
|
26023
|
+
' WHERE "users"."id" = 5[0m
|
26024
|
+
[1m[35m (8.3ms)[0m commit transaction
|
26025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26026
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26027
|
+
- signin
|
26028
|
+
' WHERE "users"."id" = 5
|
26029
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26030
|
+
Redirected to http://www.example-client.com/restricted
|
26031
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.0ms)
|
26032
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26033
|
+
Processing by ExampleController#restricted as HTML
|
26034
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26035
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
26036
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 12:48:50 +0000
|
26037
|
+
Processing by ExampleController#restricted as HTML
|
26038
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26039
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
26040
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26041
|
+
Processing by ExampleController#restricted as JSON
|
26042
|
+
Authenticating with gds_sso_api_access strategy
|
26043
|
+
Completed in 13ms
|
26044
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26045
|
+
Processing by ExampleController#restricted as JSON
|
26046
|
+
Authenticating with gds_sso_api_access strategy
|
26047
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
26048
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26049
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
26050
|
+
Authenticating with gds_sso_api_access strategy
|
26051
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
26052
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26053
|
+
Processing by ExampleController#restricted as JSON
|
26054
|
+
Authenticating with gds_bearer_token strategy
|
26055
|
+
Completed in 10ms
|
26056
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26057
|
+
Processing by ExampleController#restricted as JSON
|
26058
|
+
Authenticating with gds_bearer_token strategy
|
26059
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26060
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26061
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26062
|
+
- signin
|
26063
|
+
' WHERE "users"."id" = 5
|
26064
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
26065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26066
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26067
|
+
- signin
|
26068
|
+
' WHERE "users"."id" = 5[0m
|
26069
|
+
[1m[35m (1.9ms)[0m commit transaction
|
26070
|
+
Completed 200 OK in 45ms (Views: 0.6ms | ActiveRecord: 12.4ms)
|
26071
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-11 16:53:50 +0000
|
26072
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
26073
|
+
Authenticating with gds_bearer_token strategy
|
26074
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26075
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26076
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26077
|
+
- signin
|
26078
|
+
' WHERE "users"."id" = 5[0m
|
26079
|
+
[1m[35m (9.8ms)[0m commit transaction
|
26080
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26081
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26082
|
+
- signin
|
26083
|
+
' WHERE "users"."id" = 5
|
26084
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
26085
|
+
Completed 200 OK in 58ms (Views: 0.7ms | ActiveRecord: 13.4ms)
|
26086
|
+
Connecting to database specified by database.yml
|
26087
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
26088
|
+
[1m[35m (15.2ms)[0m DROP TABLE "users"
|
26089
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
26090
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26091
|
+
[1m[36mSQL (8.5ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d38197"]]
|
26092
|
+
[1m[35m (12.1ms)[0m commit transaction
|
26093
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
26094
|
+
Processing by Api::UserController#update as HTML
|
26095
|
+
Parameters: {"uid"=>"a1s2d38197"}
|
26096
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (4.0ms)
|
26097
|
+
Completed 403 Forbidden in 121ms (Views: 120.4ms | ActiveRecord: 0.0ms)
|
26098
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26099
|
+
[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", "a1s2d31568"]]
|
26100
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
26101
|
+
Processing by Api::UserController#update as HTML
|
26102
|
+
Parameters: {"uid"=>"a1s2d31568"}
|
26103
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31568' LIMIT 1
|
26104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26105
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
26106
|
+
- signin
|
26107
|
+
- new permission
|
26108
|
+
' WHERE "users"."id" = 2
|
26109
|
+
[1m[36m (15.0ms)[0m [1mcommit transaction[0m
|
26110
|
+
Completed 200 OK in 24ms (ActiveRecord: 15.6ms)
|
26111
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
26112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26113
|
+
[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", "a1s2d36785"]]
|
26114
|
+
[1m[36m (4.7ms)[0m [1mcommit transaction[0m
|
26115
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
26116
|
+
Processing by Api::UserController#reauth as HTML
|
26117
|
+
Parameters: {"uid"=>"a1s2d36785"}
|
26118
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
26119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26120
|
+
[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", "a1s2d37943"]]
|
26121
|
+
[1m[35m (10.1ms)[0m commit transaction
|
26122
|
+
Processing by Api::UserController#reauth as HTML
|
26123
|
+
Parameters: {"uid"=>"a1s2d37943"}
|
26124
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37943' LIMIT 1[0m
|
26125
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26126
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
26127
|
+
- signin
|
26128
|
+
' WHERE "users"."id" = 4[0m
|
26129
|
+
[1m[35m (3.8ms)[0m commit transaction
|
26130
|
+
Completed 200 OK in 7ms (ActiveRecord: 4.4ms)
|
26131
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
26132
|
+
Started GET "/" for 127.0.0.1 at 2013-04-12 16:23:20 +0000
|
26133
|
+
Processing by ExampleController#index as HTML
|
26134
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
26135
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:20 +0000
|
26136
|
+
Processing by ExampleController#restricted as HTML
|
26137
|
+
Authenticating with gds_sso strategy
|
26138
|
+
Completed in 66ms
|
26139
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:20 +0000
|
26140
|
+
Started GET "/auth/gds/callback?code=2f903d7cdfa6251466306400c59293e8a68c2236b1e1169aaa7c4d3c2a300b4d&state=aef6eb52d00493744301b98e0b7c892c0b3af10c64f6f9a7" for 127.0.0.1 at 2013-04-12 16:23:21 +0000
|
26141
|
+
Processing by AuthenticationsController#callback as HTML
|
26142
|
+
Parameters: {"code"=>"2f903d7cdfa6251466306400c59293e8a68c2236b1e1169aaa7c4d3c2a300b4d", "state"=>"aef6eb52d00493744301b98e0b7c892c0b3af10c64f6f9a7"}
|
26143
|
+
Authenticating with gds_sso strategy
|
26144
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26146
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
26147
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
26148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26149
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
26150
|
+
- signin
|
26151
|
+
' WHERE "users"."id" = 5[0m
|
26152
|
+
[1m[35m (2.7ms)[0m commit transaction
|
26153
|
+
Redirected to http://www.example-client.com/restricted
|
26154
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.8ms)
|
26155
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:21 +0000
|
26156
|
+
Processing by ExampleController#restricted as HTML
|
26157
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26158
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
26159
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:21 +0000
|
26160
|
+
Processing by ExampleController#restricted as HTML
|
26161
|
+
Authenticating with gds_sso strategy
|
26162
|
+
Completed in 0ms
|
26163
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:21 +0000
|
26164
|
+
Started GET "/auth/gds/callback?code=b9412736dadf0965dbcdebddc12f3a864f9b089a9c148fa2fa4fb829066a7865&state=f341790259a60df387fb8fad6c5a92a2b2e77b17f05e89e2" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26165
|
+
Processing by AuthenticationsController#callback as HTML
|
26166
|
+
Parameters: {"code"=>"b9412736dadf0965dbcdebddc12f3a864f9b089a9c148fa2fa4fb829066a7865", "state"=>"f341790259a60df387fb8fad6c5a92a2b2e77b17f05e89e2"}
|
26167
|
+
Authenticating with gds_sso strategy
|
26168
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26170
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26171
|
+
- signin
|
26172
|
+
' WHERE "users"."id" = 5
|
26173
|
+
[1m[36m (8.2ms)[0m [1mcommit transaction[0m
|
26174
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26175
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26176
|
+
- signin
|
26177
|
+
' WHERE "users"."id" = 5[0m
|
26178
|
+
[1m[35m (2.0ms)[0m commit transaction
|
26179
|
+
Redirected to http://www.example-client.com/restricted
|
26180
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.2ms)
|
26181
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26182
|
+
Processing by ExampleController#restricted as HTML
|
26183
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26184
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
26185
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26186
|
+
Processing by ExampleController#restricted as HTML
|
26187
|
+
Authenticating with gds_sso strategy
|
26188
|
+
Completed in 0ms
|
26189
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26190
|
+
Started GET "/auth/gds/callback?code=f54db9830761f997212c53c6e23a1e1fa83bbd7d8f5b8c20b2762f7f83d08860&state=af79822f5e7bb9f294bd80922fdd9848c6a313963e7b533d" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26191
|
+
Processing by AuthenticationsController#callback as HTML
|
26192
|
+
Parameters: {"code"=>"f54db9830761f997212c53c6e23a1e1fa83bbd7d8f5b8c20b2762f7f83d08860", "state"=>"af79822f5e7bb9f294bd80922fdd9848c6a313963e7b533d"}
|
26193
|
+
Authenticating with gds_sso strategy
|
26194
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26195
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26196
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26197
|
+
- signin
|
26198
|
+
' WHERE "users"."id" = 5
|
26199
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
26200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26201
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26202
|
+
- signin
|
26203
|
+
' WHERE "users"."id" = 5[0m
|
26204
|
+
[1m[35m (2.6ms)[0m commit transaction
|
26205
|
+
Redirected to http://www.example-client.com/restricted
|
26206
|
+
Completed 302 Found in 18ms (ActiveRecord: 13.0ms)
|
26207
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26208
|
+
Processing by ExampleController#restricted as HTML
|
26209
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26210
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
26211
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26212
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26213
|
+
Authenticating with gds_sso strategy
|
26214
|
+
Completed in 1ms
|
26215
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26216
|
+
Started GET "/auth/gds/callback?code=72e2bb7dda9af95f36ea32971b76229221c3382aea3e9acb07e415d1baa17770&state=c2dccdc833612628175cd84685172c5b921c2990b4c29c27" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26217
|
+
Processing by AuthenticationsController#callback as HTML
|
26218
|
+
Parameters: {"code"=>"72e2bb7dda9af95f36ea32971b76229221c3382aea3e9acb07e415d1baa17770", "state"=>"c2dccdc833612628175cd84685172c5b921c2990b4c29c27"}
|
26219
|
+
Authenticating with gds_sso strategy
|
26220
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26222
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26223
|
+
- signin
|
26224
|
+
' WHERE "users"."id" = 5
|
26225
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
26226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26227
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26228
|
+
- signin
|
26229
|
+
' WHERE "users"."id" = 5[0m
|
26230
|
+
[1m[35m (2.2ms)[0m commit transaction
|
26231
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
26232
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.6ms)
|
26233
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26234
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26235
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26236
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
26237
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26238
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26239
|
+
Authenticating with gds_sso strategy
|
26240
|
+
Completed in 0ms
|
26241
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:22 +0000
|
26242
|
+
Started GET "/auth/gds/callback?code=31ac2de6652a0ca1f1e020c6452ebd0d5731f90a57184b330eb34dea1c5b6116&state=9d5e20c62bcb487894bd71a559403943b9cde46abdaba550" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26243
|
+
Processing by AuthenticationsController#callback as HTML
|
26244
|
+
Parameters: {"code"=>"31ac2de6652a0ca1f1e020c6452ebd0d5731f90a57184b330eb34dea1c5b6116", "state"=>"9d5e20c62bcb487894bd71a559403943b9cde46abdaba550"}
|
26245
|
+
Authenticating with gds_sso strategy
|
26246
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26248
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26249
|
+
- signin
|
26250
|
+
' WHERE "users"."id" = 5
|
26251
|
+
[1m[36m (10.2ms)[0m [1mcommit transaction[0m
|
26252
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26253
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26254
|
+
- signin
|
26255
|
+
' WHERE "users"."id" = 5[0m
|
26256
|
+
[1m[35m (1.9ms)[0m commit transaction
|
26257
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
26258
|
+
Completed 302 Found in 17ms (ActiveRecord: 13.0ms)
|
26259
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26260
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26261
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26262
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
26263
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26264
|
+
Processing by ExampleController#restricted as HTML
|
26265
|
+
Authenticating with gds_sso strategy
|
26266
|
+
Completed in 1ms
|
26267
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26268
|
+
Started GET "/auth/gds/callback?code=405cd044bba812bb564122d91bb08e913736a0b526a18fd6634aa614b1fde0f8&state=7e87c7b95134e81a24a87f637cbb0c695ad5bc30df0136c6" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26269
|
+
Processing by AuthenticationsController#callback as HTML
|
26270
|
+
Parameters: {"code"=>"405cd044bba812bb564122d91bb08e913736a0b526a18fd6634aa614b1fde0f8", "state"=>"7e87c7b95134e81a24a87f637cbb0c695ad5bc30df0136c6"}
|
26271
|
+
Authenticating with gds_sso strategy
|
26272
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26273
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26274
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26275
|
+
- signin
|
26276
|
+
' WHERE "users"."id" = 5
|
26277
|
+
[1m[36m (8.8ms)[0m [1mcommit transaction[0m
|
26278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26279
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26280
|
+
- signin
|
26281
|
+
' WHERE "users"."id" = 5[0m
|
26282
|
+
[1m[35m (1.9ms)[0m commit transaction
|
26283
|
+
Redirected to http://www.example-client.com/restricted
|
26284
|
+
Completed 302 Found in 18ms (ActiveRecord: 11.8ms)
|
26285
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26286
|
+
Processing by ExampleController#restricted as HTML
|
26287
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26288
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
26289
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26290
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26291
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
26292
|
+
- signin
|
26293
|
+
' WHERE "users"."id" = 5
|
26294
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
26295
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26296
|
+
Processing by ExampleController#restricted as HTML
|
26297
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26298
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
26299
|
+
Completed 403 Forbidden in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
|
26300
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26301
|
+
Processing by AuthenticationsController#sign_out as HTML
|
26302
|
+
Redirected to http://localhost:4567/users/sign_out
|
26303
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
26304
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26305
|
+
Processing by ExampleController#restricted as HTML
|
26306
|
+
Authenticating with gds_sso strategy
|
26307
|
+
Completed in 0ms
|
26308
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:23 +0000
|
26309
|
+
Started GET "/auth/gds/callback?code=38899ba951a5d75ad2df8d446128cdb9d31fadfdbf65a97a5d570f0564a662f3&state=7a97749d97a08f48aef02956a5f096c33ae558c041af5a39" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26310
|
+
Processing by AuthenticationsController#callback as HTML
|
26311
|
+
Parameters: {"code"=>"38899ba951a5d75ad2df8d446128cdb9d31fadfdbf65a97a5d570f0564a662f3", "state"=>"7a97749d97a08f48aef02956a5f096c33ae558c041af5a39"}
|
26312
|
+
Authenticating with gds_sso strategy
|
26313
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26315
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26316
|
+
- signin
|
26317
|
+
' WHERE "users"."id" = 5[0m
|
26318
|
+
[1m[35m (8.5ms)[0m commit transaction
|
26319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26320
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
26321
|
+
- signin
|
26322
|
+
' WHERE "users"."id" = 5
|
26323
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
26324
|
+
Redirected to http://www.example-client.com/restricted
|
26325
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.0ms)
|
26326
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26327
|
+
Processing by ExampleController#restricted as HTML
|
26328
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26329
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
26330
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26331
|
+
Processing by ExampleController#restricted as HTML
|
26332
|
+
Authenticating with gds_sso strategy
|
26333
|
+
Completed in 0ms
|
26334
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26335
|
+
Started GET "/auth/gds/callback?code=922a50c6824a9ca98a8f23a05788c142752b83a814ae7917e47518010d1f82c0&state=e9e065b0e2cb3917b149e9643372999700dd468ca26fab63" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26336
|
+
Processing by AuthenticationsController#callback as HTML
|
26337
|
+
Parameters: {"code"=>"922a50c6824a9ca98a8f23a05788c142752b83a814ae7917e47518010d1f82c0", "state"=>"e9e065b0e2cb3917b149e9643372999700dd468ca26fab63"}
|
26338
|
+
Authenticating with gds_sso strategy
|
26339
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26340
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26341
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26342
|
+
- signin
|
26343
|
+
' WHERE "users"."id" = 5[0m
|
26344
|
+
[1m[35m (7.9ms)[0m commit transaction
|
26345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26346
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26347
|
+
- signin
|
26348
|
+
' WHERE "users"."id" = 5
|
26349
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
26350
|
+
Redirected to http://www.example-client.com/restricted
|
26351
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.9ms)
|
26352
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26353
|
+
Processing by ExampleController#restricted as HTML
|
26354
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26355
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
26356
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-13 12:28:24 +0000
|
26357
|
+
Processing by ExampleController#restricted as HTML
|
26358
|
+
Authenticating with gds_sso strategy
|
26359
|
+
Completed in 0ms
|
26360
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-13 12:28:24 +0000
|
26361
|
+
Started GET "/auth/gds/callback?code=907e5057bc937e1c26111676e043b345f443ef54d3d92e6a158f14a10f473973&state=c9c73ef236f2687cc6c0ee0edb62e61ad919e2db75680e89" for 127.0.0.1 at 2013-04-13 12:28:24 +0000
|
26362
|
+
Processing by AuthenticationsController#callback as HTML
|
26363
|
+
Parameters: {"code"=>"907e5057bc937e1c26111676e043b345f443ef54d3d92e6a158f14a10f473973", "state"=>"c9c73ef236f2687cc6c0ee0edb62e61ad919e2db75680e89"}
|
26364
|
+
Authenticating with gds_sso strategy
|
26365
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26366
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26367
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26368
|
+
- signin
|
26369
|
+
' WHERE "users"."id" = 5[0m
|
26370
|
+
[1m[35m (9.8ms)[0m commit transaction
|
26371
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26372
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26373
|
+
- signin
|
26374
|
+
' WHERE "users"."id" = 5
|
26375
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
26376
|
+
Redirected to http://www.example-client.com/restricted
|
26377
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.6ms)
|
26378
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-13 12:28:24 +0000
|
26379
|
+
Processing by ExampleController#restricted as HTML
|
26380
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26381
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
26382
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26383
|
+
Processing by ExampleController#restricted as HTML
|
26384
|
+
Authenticating with gds_sso strategy
|
26385
|
+
Completed in 0ms
|
26386
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26387
|
+
Started GET "/auth/gds/callback?code=d2387aca84beb1a3f01fa606847c7719dacd212703f2cfa6bc9414fa468e0bd0&state=a8d3e2ab4e94712cb2221a347d21f7979052a3a2090f3303" for 127.0.0.1 at 2013-04-12 16:23:24 +0000
|
26388
|
+
Processing by AuthenticationsController#callback as HTML
|
26389
|
+
Parameters: {"code"=>"d2387aca84beb1a3f01fa606847c7719dacd212703f2cfa6bc9414fa468e0bd0", "state"=>"a8d3e2ab4e94712cb2221a347d21f7979052a3a2090f3303"}
|
26390
|
+
Authenticating with gds_sso strategy
|
26391
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26392
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26393
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26394
|
+
- signin
|
26395
|
+
' WHERE "users"."id" = 5[0m
|
26396
|
+
[1m[35m (8.3ms)[0m commit transaction
|
26397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26398
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26399
|
+
- signin
|
26400
|
+
' WHERE "users"."id" = 5
|
26401
|
+
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
26402
|
+
Redirected to http://www.example-client.com/restricted
|
26403
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.9ms)
|
26404
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26405
|
+
Processing by ExampleController#restricted as HTML
|
26406
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26407
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
26408
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-13 12:18:25 +0000
|
26409
|
+
Processing by ExampleController#restricted as HTML
|
26410
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26411
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
26412
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26413
|
+
Processing by ExampleController#restricted as JSON
|
26414
|
+
Authenticating with gds_sso_api_access strategy
|
26415
|
+
Completed in 16ms
|
26416
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26417
|
+
Processing by ExampleController#restricted as JSON
|
26418
|
+
Authenticating with gds_sso_api_access strategy
|
26419
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
26420
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26421
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
26422
|
+
Authenticating with gds_sso_api_access strategy
|
26423
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
26424
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26425
|
+
Processing by ExampleController#restricted as JSON
|
26426
|
+
Authenticating with gds_bearer_token strategy
|
26427
|
+
Completed in 9ms
|
26428
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26429
|
+
Processing by ExampleController#restricted as JSON
|
26430
|
+
Authenticating with gds_bearer_token strategy
|
26431
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26433
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26434
|
+
- signin
|
26435
|
+
' WHERE "users"."id" = 5
|
26436
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
26437
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26438
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26439
|
+
- signin
|
26440
|
+
' WHERE "users"."id" = 5[0m
|
26441
|
+
[1m[35m (2.5ms)[0m commit transaction
|
26442
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 13.3ms)
|
26443
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-12 16:23:25 +0000
|
26444
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
26445
|
+
Authenticating with gds_bearer_token strategy
|
26446
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26447
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26448
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26449
|
+
- signin
|
26450
|
+
' WHERE "users"."id" = 5[0m
|
26451
|
+
[1m[35m (9.3ms)[0m commit transaction
|
26452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26453
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26454
|
+
- signin
|
26455
|
+
' WHERE "users"."id" = 5
|
26456
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
26457
|
+
Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 13.0ms)
|
26458
|
+
Connecting to database specified by database.yml
|
26459
|
+
[1m[36m (3.4ms)[0m [1mselect sqlite_version(*)[0m
|
26460
|
+
[1m[35m (8.1ms)[0m DROP TABLE "users"
|
26461
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
26462
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26463
|
+
[1m[36mSQL (8.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d34524"]]
|
26464
|
+
[1m[35m (3.2ms)[0m commit transaction
|
26465
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
26466
|
+
Processing by Api::UserController#update as HTML
|
26467
|
+
Parameters: {"uid"=>"a1s2d34524"}
|
26468
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.8ms)
|
26469
|
+
Completed 403 Forbidden in 59ms (Views: 58.3ms | ActiveRecord: 0.0ms)
|
26470
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26471
|
+
[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", "a1s2d38725"]]
|
26472
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
26473
|
+
Processing by Api::UserController#update as HTML
|
26474
|
+
Parameters: {"uid"=>"a1s2d38725"}
|
26475
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38725' LIMIT 1
|
26476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26477
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
26478
|
+
- signin
|
26479
|
+
- new permission
|
26480
|
+
' WHERE "users"."id" = 2
|
26481
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
26482
|
+
Completed 200 OK in 10ms (ActiveRecord: 2.5ms)
|
26483
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
26484
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26485
|
+
[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", "a1s2d33268"]]
|
26486
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26487
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
26488
|
+
Processing by Api::UserController#reauth as HTML
|
26489
|
+
Parameters: {"uid"=>"a1s2d33268"}
|
26490
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
26491
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26492
|
+
[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", "a1s2d3326"]]
|
26493
|
+
[1m[35m (2.5ms)[0m commit transaction
|
26494
|
+
Processing by Api::UserController#reauth as HTML
|
26495
|
+
Parameters: {"uid"=>"a1s2d3326"}
|
26496
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3326' LIMIT 1[0m
|
26497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26498
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
26499
|
+
- signin
|
26500
|
+
' WHERE "users"."id" = 4[0m
|
26501
|
+
[1m[35m (1.8ms)[0m commit transaction
|
26502
|
+
Completed 200 OK in 4ms (ActiveRecord: 2.2ms)
|
26503
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
26504
|
+
Started GET "/" for 127.0.0.1 at 2013-04-17 11:44:05 +0000
|
26505
|
+
Processing by ExampleController#index as HTML
|
26506
|
+
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
|
26507
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:05 +0000
|
26508
|
+
Processing by ExampleController#restricted as HTML
|
26509
|
+
Authenticating with gds_sso strategy
|
26510
|
+
Completed in 65ms
|
26511
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:05 +0000
|
26512
|
+
Started GET "/auth/gds/callback?code=cd17e9e335f791a8f07b73f9f19f43037c91c1815152b833945ec29bb5422c79&state=3871c798e5a343c3009e1665b3a790d74516483eb5b8f72f" for 127.0.0.1 at 2013-04-17 11:44:06 +0000
|
26513
|
+
Processing by AuthenticationsController#callback as HTML
|
26514
|
+
Parameters: {"code"=>"cd17e9e335f791a8f07b73f9f19f43037c91c1815152b833945ec29bb5422c79", "state"=>"3871c798e5a343c3009e1665b3a790d74516483eb5b8f72f"}
|
26515
|
+
Authenticating with gds_sso strategy
|
26516
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26518
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
26519
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
26520
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26521
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
26522
|
+
- signin
|
26523
|
+
' WHERE "users"."id" = 5[0m
|
26524
|
+
[1m[35m (1.8ms)[0m commit transaction
|
26525
|
+
Redirected to http://www.example-client.com/restricted
|
26526
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
26527
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26528
|
+
Processing by ExampleController#restricted as HTML
|
26529
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26530
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
|
26531
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26532
|
+
Processing by ExampleController#restricted as HTML
|
26533
|
+
Authenticating with gds_sso strategy
|
26534
|
+
Completed in 0ms
|
26535
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26536
|
+
Started GET "/auth/gds/callback?code=523f3d4452f995c6d1d0ca0049f84d40cc477201c453f49558f164ea87dac2bb&state=a9cf97155df53995241babd5c51f30249023da4f16b6323c" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26537
|
+
Processing by AuthenticationsController#callback as HTML
|
26538
|
+
Parameters: {"code"=>"523f3d4452f995c6d1d0ca0049f84d40cc477201c453f49558f164ea87dac2bb", "state"=>"a9cf97155df53995241babd5c51f30249023da4f16b6323c"}
|
26539
|
+
Authenticating with gds_sso strategy
|
26540
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26542
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26543
|
+
- signin
|
26544
|
+
' WHERE "users"."id" = 5
|
26545
|
+
[1m[36m (7.5ms)[0m [1mcommit transaction[0m
|
26546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26547
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26548
|
+
- signin
|
26549
|
+
' WHERE "users"."id" = 5[0m
|
26550
|
+
[1m[35m (1.8ms)[0m commit transaction
|
26551
|
+
Redirected to http://www.example-client.com/restricted
|
26552
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
|
26553
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26554
|
+
Processing by ExampleController#restricted as HTML
|
26555
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26556
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
26557
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26558
|
+
Processing by ExampleController#restricted as HTML
|
26559
|
+
Authenticating with gds_sso strategy
|
26560
|
+
Completed in 0ms
|
26561
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26562
|
+
Started GET "/auth/gds/callback?code=ebb97a21c261ac8781267af6a6964fcd332d3ae741f56564081cdd5267370c4f&state=991c82299091f0d2e0d6c63b7e7a7cb3c8bc7040bb932452" for 127.0.0.1 at 2013-04-17 11:44:07 +0000
|
26563
|
+
Processing by AuthenticationsController#callback as HTML
|
26564
|
+
Parameters: {"code"=>"ebb97a21c261ac8781267af6a6964fcd332d3ae741f56564081cdd5267370c4f", "state"=>"991c82299091f0d2e0d6c63b7e7a7cb3c8bc7040bb932452"}
|
26565
|
+
Authenticating with gds_sso strategy
|
26566
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26567
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26568
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
26569
|
+
- signin
|
26570
|
+
' WHERE "users"."id" = 5
|
26571
|
+
[1m[36m (6.9ms)[0m [1mcommit transaction[0m
|
26572
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26573
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26574
|
+
- signin
|
26575
|
+
' WHERE "users"."id" = 5[0m
|
26576
|
+
[1m[35m (1.9ms)[0m commit transaction
|
26577
|
+
Redirected to http://www.example-client.com/restricted
|
26578
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.9ms)
|
26579
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26580
|
+
Processing by ExampleController#restricted as HTML
|
26581
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26582
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
26583
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26584
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26585
|
+
Authenticating with gds_sso strategy
|
26586
|
+
Completed in 1ms
|
26587
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26588
|
+
Started GET "/auth/gds/callback?code=6d918c497b24357124b5235b89e4b60bda6cc41fe0d642c2eef4fe2458a5e029&state=6dee6bcb6e9e746f3219d826be07fb805a6bcce9d3b2dd9f" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26589
|
+
Processing by AuthenticationsController#callback as HTML
|
26590
|
+
Parameters: {"code"=>"6d918c497b24357124b5235b89e4b60bda6cc41fe0d642c2eef4fe2458a5e029", "state"=>"6dee6bcb6e9e746f3219d826be07fb805a6bcce9d3b2dd9f"}
|
26591
|
+
Authenticating with gds_sso strategy
|
26592
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26593
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26594
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26595
|
+
- signin
|
26596
|
+
' WHERE "users"."id" = 5
|
26597
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
26598
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26599
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26600
|
+
- signin
|
26601
|
+
' WHERE "users"."id" = 5[0m
|
26602
|
+
[1m[35m (2.5ms)[0m commit transaction
|
26603
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
26604
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.5ms)
|
26605
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26606
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26607
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26608
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
26609
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26610
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26611
|
+
Authenticating with gds_sso strategy
|
26612
|
+
Completed in 0ms
|
26613
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26614
|
+
Started GET "/auth/gds/callback?code=bb900e403a82621a396fc924521b11546bdf15db2fa886d29390bb796900204a&state=ccfe25860b67acab11dcbb342728749f00bc1b77b524224d" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26615
|
+
Processing by AuthenticationsController#callback as HTML
|
26616
|
+
Parameters: {"code"=>"bb900e403a82621a396fc924521b11546bdf15db2fa886d29390bb796900204a", "state"=>"ccfe25860b67acab11dcbb342728749f00bc1b77b524224d"}
|
26617
|
+
Authenticating with gds_sso strategy
|
26618
|
+
[1m[35mUser Load (0.5ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26619
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26620
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26621
|
+
- signin
|
26622
|
+
' WHERE "users"."id" = 5
|
26623
|
+
[1m[36m (6.1ms)[0m [1mcommit transaction[0m
|
26624
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26625
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26626
|
+
- signin
|
26627
|
+
' WHERE "users"."id" = 5[0m
|
26628
|
+
[1m[35m (2.3ms)[0m commit transaction
|
26629
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
26630
|
+
Completed 302 Found in 14ms (ActiveRecord: 9.7ms)
|
26631
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26632
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26633
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26634
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
26635
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26636
|
+
Processing by ExampleController#restricted as HTML
|
26637
|
+
Authenticating with gds_sso strategy
|
26638
|
+
Completed in 0ms
|
26639
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:08 +0000
|
26640
|
+
Started GET "/auth/gds/callback?code=f2b29009d7ca62c7c638a6759a08fdd53ab7888d6549d5f07b2d62d5f1ee6075&state=f48c309fa2eebb9a0fa9c3867611e46304e433bc290c2307" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26641
|
+
Processing by AuthenticationsController#callback as HTML
|
26642
|
+
Parameters: {"code"=>"f2b29009d7ca62c7c638a6759a08fdd53ab7888d6549d5f07b2d62d5f1ee6075", "state"=>"f48c309fa2eebb9a0fa9c3867611e46304e433bc290c2307"}
|
26643
|
+
Authenticating with gds_sso strategy
|
26644
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26646
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
26647
|
+
- signin
|
26648
|
+
' WHERE "users"."id" = 5
|
26649
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
26650
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26651
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26652
|
+
- signin
|
26653
|
+
' WHERE "users"."id" = 5[0m
|
26654
|
+
[1m[35m (1.9ms)[0m commit transaction
|
26655
|
+
Redirected to http://www.example-client.com/restricted
|
26656
|
+
Completed 302 Found in 18ms (ActiveRecord: 12.5ms)
|
26657
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26658
|
+
Processing by ExampleController#restricted as HTML
|
26659
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26660
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
26661
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26662
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26663
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
26664
|
+
- signin
|
26665
|
+
' WHERE "users"."id" = 5
|
26666
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26667
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26668
|
+
Processing by ExampleController#restricted as HTML
|
26669
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26670
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
26671
|
+
Completed 403 Forbidden in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
|
26672
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26673
|
+
Processing by AuthenticationsController#sign_out as HTML
|
26674
|
+
Redirected to http://localhost:4567/users/sign_out
|
26675
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
26676
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26677
|
+
Processing by ExampleController#restricted as HTML
|
26678
|
+
Authenticating with gds_sso strategy
|
26679
|
+
Completed in 0ms
|
26680
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26681
|
+
Started GET "/auth/gds/callback?code=4afa51eb386803efd9602bb780c2a1bb67374e4ec389682cf744327e45b0b723&state=aeeb316305bf76a17972f11f6b48819065bfcbe935f9ee73" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26682
|
+
Processing by AuthenticationsController#callback as HTML
|
26683
|
+
Parameters: {"code"=>"4afa51eb386803efd9602bb780c2a1bb67374e4ec389682cf744327e45b0b723", "state"=>"aeeb316305bf76a17972f11f6b48819065bfcbe935f9ee73"}
|
26684
|
+
Authenticating with gds_sso strategy
|
26685
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26687
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26688
|
+
- signin
|
26689
|
+
' WHERE "users"."id" = 5[0m
|
26690
|
+
[1m[35m (8.5ms)[0m commit transaction
|
26691
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26692
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
26693
|
+
- signin
|
26694
|
+
' WHERE "users"."id" = 5
|
26695
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26696
|
+
Redirected to http://www.example-client.com/restricted
|
26697
|
+
Completed 302 Found in 16ms (ActiveRecord: 11.4ms)
|
26698
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26699
|
+
Processing by ExampleController#restricted as HTML
|
26700
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26701
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
26702
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26703
|
+
Processing by ExampleController#restricted as HTML
|
26704
|
+
Authenticating with gds_sso strategy
|
26705
|
+
Completed in 0ms
|
26706
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26707
|
+
Started GET "/auth/gds/callback?code=b74458d5865f0995c24342a99f8ee5ea9f3594c2631d4372db489b00a530e5f3&state=2684bbe4f3385dd561a66a9f7472d9d23248bab16f0c1181" for 127.0.0.1 at 2013-04-17 11:44:09 +0000
|
26708
|
+
Processing by AuthenticationsController#callback as HTML
|
26709
|
+
Parameters: {"code"=>"b74458d5865f0995c24342a99f8ee5ea9f3594c2631d4372db489b00a530e5f3", "state"=>"2684bbe4f3385dd561a66a9f7472d9d23248bab16f0c1181"}
|
26710
|
+
Authenticating with gds_sso strategy
|
26711
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26713
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26714
|
+
- signin
|
26715
|
+
' WHERE "users"."id" = 5[0m
|
26716
|
+
[1m[35m (7.5ms)[0m commit transaction
|
26717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26718
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26719
|
+
- signin
|
26720
|
+
' WHERE "users"."id" = 5
|
26721
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
26722
|
+
Redirected to http://www.example-client.com/restricted
|
26723
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.8ms)
|
26724
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26725
|
+
Processing by ExampleController#restricted as HTML
|
26726
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26727
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
26728
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 07:49:10 +0000
|
26729
|
+
Processing by ExampleController#restricted as HTML
|
26730
|
+
Authenticating with gds_sso strategy
|
26731
|
+
Completed in 0ms
|
26732
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 07:49:10 +0000
|
26733
|
+
Started GET "/auth/gds/callback?code=3ee6e797158f6a2153b32c52ea609c5d764e559fb9d8a657888e0238eceaba15&state=264e4226c0e0592f164fee27d6feee947cc0b99a09481053" for 127.0.0.1 at 2013-04-18 07:49:10 +0000
|
26734
|
+
Processing by AuthenticationsController#callback as HTML
|
26735
|
+
Parameters: {"code"=>"3ee6e797158f6a2153b32c52ea609c5d764e559fb9d8a657888e0238eceaba15", "state"=>"264e4226c0e0592f164fee27d6feee947cc0b99a09481053"}
|
26736
|
+
Authenticating with gds_sso strategy
|
26737
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26738
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26739
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26740
|
+
- signin
|
26741
|
+
' WHERE "users"."id" = 5[0m
|
26742
|
+
[1m[35m (8.1ms)[0m commit transaction
|
26743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26744
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26745
|
+
- signin
|
26746
|
+
' WHERE "users"."id" = 5
|
26747
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
26748
|
+
Redirected to http://www.example-client.com/restricted
|
26749
|
+
Completed 302 Found in 18ms (ActiveRecord: 11.5ms)
|
26750
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 07:49:10 +0000
|
26751
|
+
Processing by ExampleController#restricted as HTML
|
26752
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26753
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
26754
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26755
|
+
Processing by ExampleController#restricted as HTML
|
26756
|
+
Authenticating with gds_sso strategy
|
26757
|
+
Completed in 0ms
|
26758
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26759
|
+
Started GET "/auth/gds/callback?code=17a863fe4d30dfcdf1a9e9176f35d2c9a45d08763d3e3612fb0e510f860c153c&state=56b6e648b0a54a3100d49a0abafc98164e033d4ae9c54a09" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26760
|
+
Processing by AuthenticationsController#callback as HTML
|
26761
|
+
Parameters: {"code"=>"17a863fe4d30dfcdf1a9e9176f35d2c9a45d08763d3e3612fb0e510f860c153c", "state"=>"56b6e648b0a54a3100d49a0abafc98164e033d4ae9c54a09"}
|
26762
|
+
Authenticating with gds_sso strategy
|
26763
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26764
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26765
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26766
|
+
- signin
|
26767
|
+
' WHERE "users"."id" = 5[0m
|
26768
|
+
[1m[35m (8.3ms)[0m commit transaction
|
26769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26770
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26771
|
+
- signin
|
26772
|
+
' WHERE "users"."id" = 5
|
26773
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26774
|
+
Redirected to http://www.example-client.com/restricted
|
26775
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.0ms)
|
26776
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26777
|
+
Processing by ExampleController#restricted as HTML
|
26778
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26779
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
26780
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 07:39:10 +0000
|
26781
|
+
Processing by ExampleController#restricted as HTML
|
26782
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26783
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
26784
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26785
|
+
Processing by ExampleController#restricted as JSON
|
26786
|
+
Authenticating with gds_sso_api_access strategy
|
26787
|
+
Completed in 14ms
|
26788
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26789
|
+
Processing by ExampleController#restricted as JSON
|
26790
|
+
Authenticating with gds_sso_api_access strategy
|
26791
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
26792
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26793
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
26794
|
+
Authenticating with gds_sso_api_access strategy
|
26795
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
26796
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26797
|
+
Processing by ExampleController#restricted as JSON
|
26798
|
+
Authenticating with gds_bearer_token strategy
|
26799
|
+
Completed in 9ms
|
26800
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-17 11:44:10 +0000
|
26801
|
+
Processing by ExampleController#restricted as JSON
|
26802
|
+
Authenticating with gds_bearer_token strategy
|
26803
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26805
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26806
|
+
- signin
|
26807
|
+
' WHERE "users"."id" = 5
|
26808
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
26809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26810
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26811
|
+
- signin
|
26812
|
+
' WHERE "users"."id" = 5[0m
|
26813
|
+
[1m[35m (1.8ms)[0m commit transaction
|
26814
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 12.6ms)
|
26815
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-17 11:44:11 +0000
|
26816
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
26817
|
+
Authenticating with gds_bearer_token strategy
|
26818
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26820
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26821
|
+
- signin
|
26822
|
+
' WHERE "users"."id" = 5[0m
|
26823
|
+
[1m[35m (9.6ms)[0m commit transaction
|
26824
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26825
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26826
|
+
- signin
|
26827
|
+
' WHERE "users"."id" = 5
|
26828
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
26829
|
+
Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 12.4ms)
|
26830
|
+
Connecting to database specified by database.yml
|
26831
|
+
[1m[36m (3.3ms)[0m [1mselect sqlite_version(*)[0m
|
26832
|
+
[1m[35m (31.9ms)[0m DROP TABLE "users"
|
26833
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
26834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26835
|
+
[1m[36mSQL (19.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", "a1s2d38628"]]
|
26836
|
+
[1m[35m (12.7ms)[0m commit transaction
|
26837
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
26838
|
+
Processing by Api::UserController#update as HTML
|
26839
|
+
Parameters: {"uid"=>"a1s2d38628"}
|
26840
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.6ms)
|
26841
|
+
Completed 403 Forbidden in 127ms (Views: 126.1ms | ActiveRecord: 0.0ms)
|
26842
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26843
|
+
[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", "a1s2d38050"]]
|
26844
|
+
[1m[36m (13.9ms)[0m [1mcommit transaction[0m
|
26845
|
+
Processing by Api::UserController#update as HTML
|
26846
|
+
Parameters: {"uid"=>"a1s2d38050"}
|
26847
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38050' LIMIT 1
|
26848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26849
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
26850
|
+
- signin
|
26851
|
+
- new permission
|
26852
|
+
' WHERE "users"."id" = 2
|
26853
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
26854
|
+
Completed 200 OK in 22ms (ActiveRecord: 3.3ms)
|
26855
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
26856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26857
|
+
[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", "a1s2d36624"]]
|
26858
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
26859
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
26860
|
+
Processing by Api::UserController#reauth as HTML
|
26861
|
+
Parameters: {"uid"=>"a1s2d36624"}
|
26862
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
26863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26864
|
+
[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", "a1s2d38335"]]
|
26865
|
+
[1m[35m (9.4ms)[0m commit transaction
|
26866
|
+
Processing by Api::UserController#reauth as HTML
|
26867
|
+
Parameters: {"uid"=>"a1s2d38335"}
|
26868
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38335' LIMIT 1[0m
|
26869
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26870
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
26871
|
+
- signin
|
26872
|
+
' WHERE "users"."id" = 4[0m
|
26873
|
+
[1m[35m (4.5ms)[0m commit transaction
|
26874
|
+
Completed 200 OK in 8ms (ActiveRecord: 5.0ms)
|
26875
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 4]]
|
26876
|
+
Started GET "/" for 127.0.0.1 at 2013-04-18 13:13:32 +0000
|
26877
|
+
Processing by ExampleController#index as HTML
|
26878
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
26879
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:32 +0000
|
26880
|
+
Processing by ExampleController#restricted as HTML
|
26881
|
+
Authenticating with gds_sso strategy
|
26882
|
+
Completed in 141ms
|
26883
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:32 +0000
|
26884
|
+
Started GET "/auth/gds/callback?code=c237d0446d5fab151b2c04a876df68213b731a9ba343fa92925d45839bd9ece6&state=614e8ba472f950f994bca65e7f58796ca1213f4f729853c8" for 127.0.0.1 at 2013-04-18 13:13:35 +0000
|
26885
|
+
Processing by AuthenticationsController#callback as HTML
|
26886
|
+
Parameters: {"code"=>"c237d0446d5fab151b2c04a876df68213b731a9ba343fa92925d45839bd9ece6", "state"=>"614e8ba472f950f994bca65e7f58796ca1213f4f729853c8"}
|
26887
|
+
Authenticating with gds_sso strategy
|
26888
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26889
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26890
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
26891
|
+
[1m[36m (9.7ms)[0m [1mcommit transaction[0m
|
26892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26893
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
26894
|
+
- signin
|
26895
|
+
' WHERE "users"."id" = 5[0m
|
26896
|
+
[1m[35m (2.1ms)[0m commit transaction
|
26897
|
+
Redirected to http://www.example-client.com/restricted
|
26898
|
+
Completed 302 Found in 30ms (ActiveRecord: 13.0ms)
|
26899
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:35 +0000
|
26900
|
+
Processing by ExampleController#restricted as HTML
|
26901
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26902
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
26903
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26904
|
+
Processing by ExampleController#restricted as HTML
|
26905
|
+
Authenticating with gds_sso strategy
|
26906
|
+
Completed in 6ms
|
26907
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26908
|
+
Started GET "/auth/gds/callback?code=d1aadb7fab13ef586a230ecac7db64eb0d39bee795474fbe1ac629dd9eeb2770&state=cf1e96960970e9b3836ea33ad9208af2cf1e567ea48fd0b4" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26909
|
+
Processing by AuthenticationsController#callback as HTML
|
26910
|
+
Parameters: {"code"=>"d1aadb7fab13ef586a230ecac7db64eb0d39bee795474fbe1ac629dd9eeb2770", "state"=>"cf1e96960970e9b3836ea33ad9208af2cf1e567ea48fd0b4"}
|
26911
|
+
Authenticating with gds_sso strategy
|
26912
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26914
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26915
|
+
- signin
|
26916
|
+
' WHERE "users"."id" = 5
|
26917
|
+
[1m[36m (23.5ms)[0m [1mcommit transaction[0m
|
26918
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26919
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26920
|
+
- signin
|
26921
|
+
' WHERE "users"."id" = 5[0m
|
26922
|
+
[1m[35m (2.5ms)[0m commit transaction
|
26923
|
+
Redirected to http://www.example-client.com/restricted
|
26924
|
+
Completed 302 Found in 33ms (ActiveRecord: 27.1ms)
|
26925
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26926
|
+
Processing by ExampleController#restricted as HTML
|
26927
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26928
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
26929
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26930
|
+
Processing by ExampleController#restricted as HTML
|
26931
|
+
Authenticating with gds_sso strategy
|
26932
|
+
Completed in 0ms
|
26933
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26934
|
+
Started GET "/auth/gds/callback?code=fff25aaffefbe8e382d318ead89505dcc8fbc1014587e65a9ef71146f0c61daf&state=feed7ac0fc4e178bef9cd3fc5e89d689fe3a721c228a9246" for 127.0.0.1 at 2013-04-18 13:13:36 +0000
|
26935
|
+
Processing by AuthenticationsController#callback as HTML
|
26936
|
+
Parameters: {"code"=>"fff25aaffefbe8e382d318ead89505dcc8fbc1014587e65a9ef71146f0c61daf", "state"=>"feed7ac0fc4e178bef9cd3fc5e89d689fe3a721c228a9246"}
|
26937
|
+
Authenticating with gds_sso strategy
|
26938
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26939
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26940
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26941
|
+
- signin
|
26942
|
+
' WHERE "users"."id" = 5
|
26943
|
+
[1m[36m (15.9ms)[0m [1mcommit transaction[0m
|
26944
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26945
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26946
|
+
- signin
|
26947
|
+
' WHERE "users"."id" = 5[0m
|
26948
|
+
[1m[35m (2.1ms)[0m commit transaction
|
26949
|
+
Redirected to http://www.example-client.com/restricted
|
26950
|
+
Completed 302 Found in 23ms (ActiveRecord: 19.0ms)
|
26951
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26952
|
+
Processing by ExampleController#restricted as HTML
|
26953
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26954
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
26955
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26956
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26957
|
+
Authenticating with gds_sso strategy
|
26958
|
+
Completed in 1ms
|
26959
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26960
|
+
Started GET "/auth/gds/callback?code=0f5e05edea32ad16cdde06980c1495c14ec76ed3bd2e65c72bca1fee3384ca12&state=6fbf9930e68d624766e24745c7a0ce10e0a2accf13113a67" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26961
|
+
Processing by AuthenticationsController#callback as HTML
|
26962
|
+
Parameters: {"code"=>"0f5e05edea32ad16cdde06980c1495c14ec76ed3bd2e65c72bca1fee3384ca12", "state"=>"6fbf9930e68d624766e24745c7a0ce10e0a2accf13113a67"}
|
26963
|
+
Authenticating with gds_sso strategy
|
26964
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26965
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26966
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26967
|
+
- signin
|
26968
|
+
' WHERE "users"."id" = 5
|
26969
|
+
[1m[36m (15.1ms)[0m [1mcommit transaction[0m
|
26970
|
+
[1m[35m (0.0ms)[0m begin transaction
|
26971
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26972
|
+
- signin
|
26973
|
+
' WHERE "users"."id" = 5[0m
|
26974
|
+
[1m[35m (2.5ms)[0m commit transaction
|
26975
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
26976
|
+
Completed 302 Found in 24ms (ActiveRecord: 18.6ms)
|
26977
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26978
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26979
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
26980
|
+
Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
26981
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26982
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
26983
|
+
Authenticating with gds_sso strategy
|
26984
|
+
Completed in 0ms
|
26985
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26986
|
+
Started GET "/auth/gds/callback?code=9b1713cdaabd13143a8ed859a0351388ec9d799b821b09f0ddb7b36051a296e3&state=e3a6c6114af42541942145f93a6342e964be757c041c46b7" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
26987
|
+
Processing by AuthenticationsController#callback as HTML
|
26988
|
+
Parameters: {"code"=>"9b1713cdaabd13143a8ed859a0351388ec9d799b821b09f0ddb7b36051a296e3", "state"=>"e3a6c6114af42541942145f93a6342e964be757c041c46b7"}
|
26989
|
+
Authenticating with gds_sso strategy
|
26990
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
26991
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
26992
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
26993
|
+
- signin
|
26994
|
+
' WHERE "users"."id" = 5
|
26995
|
+
[1m[36m (15.0ms)[0m [1mcommit transaction[0m
|
26996
|
+
[1m[35m (0.1ms)[0m begin transaction
|
26997
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
26998
|
+
- signin
|
26999
|
+
' WHERE "users"."id" = 5[0m
|
27000
|
+
[1m[35m (2.1ms)[0m commit transaction
|
27001
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
27002
|
+
Completed 302 Found in 23ms (ActiveRecord: 18.1ms)
|
27003
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:13:37 +0000
|
27004
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27005
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27006
|
+
Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
27007
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:38 +0000
|
27008
|
+
Processing by ExampleController#restricted as HTML
|
27009
|
+
Authenticating with gds_sso strategy
|
27010
|
+
Completed in 0ms
|
27011
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:38 +0000
|
27012
|
+
Started GET "/auth/gds/callback?code=0119e6701446da3aec4e06185b22e91a75291279d230cc16617437f54241ba83&state=b25f756152bcf6dfa88314d66b1afd404b6cd8571dfa98ef" for 127.0.0.1 at 2013-04-18 13:13:38 +0000
|
27013
|
+
Processing by AuthenticationsController#callback as HTML
|
27014
|
+
Parameters: {"code"=>"0119e6701446da3aec4e06185b22e91a75291279d230cc16617437f54241ba83", "state"=>"b25f756152bcf6dfa88314d66b1afd404b6cd8571dfa98ef"}
|
27015
|
+
Authenticating with gds_sso strategy
|
27016
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27017
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27018
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27019
|
+
- signin
|
27020
|
+
' WHERE "users"."id" = 5
|
27021
|
+
[1m[36m (15.4ms)[0m [1mcommit transaction[0m
|
27022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27023
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27024
|
+
- signin
|
27025
|
+
' WHERE "users"."id" = 5[0m
|
27026
|
+
[1m[35m (1.9ms)[0m commit transaction
|
27027
|
+
Redirected to http://www.example-client.com/restricted
|
27028
|
+
Completed 302 Found in 24ms (ActiveRecord: 18.3ms)
|
27029
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:38 +0000
|
27030
|
+
Processing by ExampleController#restricted as HTML
|
27031
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27032
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
27033
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27035
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
27036
|
+
- signin
|
27037
|
+
' WHERE "users"."id" = 5
|
27038
|
+
[1m[36m (6.2ms)[0m [1mcommit transaction[0m
|
27039
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:38 +0000
|
27040
|
+
Processing by ExampleController#restricted as HTML
|
27041
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27042
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
27043
|
+
Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
27044
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-18 13:13:38 +0000
|
27045
|
+
Processing by AuthenticationsController#sign_out as HTML
|
27046
|
+
Redirected to http://localhost:4567/users/sign_out
|
27047
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.0ms)
|
27048
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27049
|
+
Processing by ExampleController#restricted as HTML
|
27050
|
+
Authenticating with gds_sso strategy
|
27051
|
+
Completed in 0ms
|
27052
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27053
|
+
Started GET "/auth/gds/callback?code=22aecc9976ab861df45a11b40b969ed89c433976cd10669ca40d74dc520be58b&state=3c68463f5b61b1163af1a08c47f4c33ba070ae7f2ca260d7" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27054
|
+
Processing by AuthenticationsController#callback as HTML
|
27055
|
+
Parameters: {"code"=>"22aecc9976ab861df45a11b40b969ed89c433976cd10669ca40d74dc520be58b", "state"=>"3c68463f5b61b1163af1a08c47f4c33ba070ae7f2ca260d7"}
|
27056
|
+
Authenticating with gds_sso strategy
|
27057
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27058
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27059
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27060
|
+
- signin
|
27061
|
+
' WHERE "users"."id" = 5[0m
|
27062
|
+
[1m[35m (10.2ms)[0m commit transaction
|
27063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27064
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
27065
|
+
- signin
|
27066
|
+
' WHERE "users"."id" = 5
|
27067
|
+
[1m[36m (2.0ms)[0m [1mcommit transaction[0m
|
27068
|
+
Redirected to http://www.example-client.com/restricted
|
27069
|
+
Completed 302 Found in 28ms (ActiveRecord: 13.3ms)
|
27070
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27071
|
+
Processing by ExampleController#restricted as HTML
|
27072
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27073
|
+
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
|
27074
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27075
|
+
Processing by ExampleController#restricted as HTML
|
27076
|
+
Authenticating with gds_sso strategy
|
27077
|
+
Completed in 0ms
|
27078
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27079
|
+
Started GET "/auth/gds/callback?code=3df5ac30390c00ef5f783f86c49b51a9cc4afd6a2cd4da027dd33d302a509832&state=b3e09e5e8b8a4a0c03bc1b20be6bc048e63fcb47e2d7f146" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27080
|
+
Processing by AuthenticationsController#callback as HTML
|
27081
|
+
Parameters: {"code"=>"3df5ac30390c00ef5f783f86c49b51a9cc4afd6a2cd4da027dd33d302a509832", "state"=>"b3e09e5e8b8a4a0c03bc1b20be6bc048e63fcb47e2d7f146"}
|
27082
|
+
Authenticating with gds_sso strategy
|
27083
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27084
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27085
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27086
|
+
- signin
|
27087
|
+
' WHERE "users"."id" = 5[0m
|
27088
|
+
[1m[35m (8.2ms)[0m commit transaction
|
27089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27090
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "permissions" = '---
|
27091
|
+
- signin
|
27092
|
+
' WHERE "users"."id" = 5
|
27093
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
27094
|
+
Redirected to http://www.example-client.com/restricted
|
27095
|
+
Completed 302 Found in 29ms (ActiveRecord: 11.7ms)
|
27096
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:39 +0000
|
27097
|
+
Processing by ExampleController#restricted as HTML
|
27098
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27099
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
27100
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:18:39 +0000
|
27101
|
+
Processing by ExampleController#restricted as HTML
|
27102
|
+
Authenticating with gds_sso strategy
|
27103
|
+
Completed in 0ms
|
27104
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-19 09:18:39 +0000
|
27105
|
+
Started GET "/auth/gds/callback?code=afff66f071795d674ed473467b46a655dac0cf468eda34a2acc68ea2ff0454a1&state=83a5faf4a8fcc818c87b3f52a310d0870ed1082cf4d979d7" for 127.0.0.1 at 2013-04-19 09:18:40 +0000
|
27106
|
+
Processing by AuthenticationsController#callback as HTML
|
27107
|
+
Parameters: {"code"=>"afff66f071795d674ed473467b46a655dac0cf468eda34a2acc68ea2ff0454a1", "state"=>"83a5faf4a8fcc818c87b3f52a310d0870ed1082cf4d979d7"}
|
27108
|
+
Authenticating with gds_sso strategy
|
27109
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27111
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27112
|
+
- signin
|
27113
|
+
' WHERE "users"."id" = 5[0m
|
27114
|
+
[1m[35m (10.2ms)[0m commit transaction
|
27115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27116
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27117
|
+
- signin
|
27118
|
+
' WHERE "users"."id" = 5
|
27119
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
27120
|
+
Redirected to http://www.example-client.com/restricted
|
27121
|
+
Completed 302 Found in 29ms (ActiveRecord: 13.1ms)
|
27122
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:18:40 +0000
|
27123
|
+
Processing by ExampleController#restricted as HTML
|
27124
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27125
|
+
Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
27126
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:40 +0000
|
27127
|
+
Processing by ExampleController#restricted as HTML
|
27128
|
+
Authenticating with gds_sso strategy
|
27129
|
+
Completed in 0ms
|
27130
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:13:40 +0000
|
27131
|
+
Started GET "/auth/gds/callback?code=cf807a33bbefd2accae87747295ff12f78c802f2ae113e9ea18c84168b3f9272&state=ffa196e7b03aef80caf1c46f945aad0fa78827ea865cd419" for 127.0.0.1 at 2013-04-18 13:13:40 +0000
|
27132
|
+
Processing by AuthenticationsController#callback as HTML
|
27133
|
+
Parameters: {"code"=>"cf807a33bbefd2accae87747295ff12f78c802f2ae113e9ea18c84168b3f9272", "state"=>"ffa196e7b03aef80caf1c46f945aad0fa78827ea865cd419"}
|
27134
|
+
Authenticating with gds_sso strategy
|
27135
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27136
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27137
|
+
[1m[36m (0.4ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27138
|
+
- signin
|
27139
|
+
' WHERE "users"."id" = 5[0m
|
27140
|
+
[1m[35m (10.2ms)[0m commit transaction
|
27141
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27142
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27143
|
+
- signin
|
27144
|
+
' WHERE "users"."id" = 5
|
27145
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
27146
|
+
Redirected to http://www.example-client.com/restricted
|
27147
|
+
Completed 302 Found in 30ms (ActiveRecord: 13.8ms)
|
27148
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:40 +0000
|
27149
|
+
Processing by ExampleController#restricted as HTML
|
27150
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27151
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
|
27152
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:08:40 +0000
|
27153
|
+
Processing by ExampleController#restricted as HTML
|
27154
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27155
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
27156
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:40 +0000
|
27157
|
+
Processing by ExampleController#restricted as JSON
|
27158
|
+
Authenticating with gds_sso_api_access strategy
|
27159
|
+
Completed in 25ms
|
27160
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:41 +0000
|
27161
|
+
Processing by ExampleController#restricted as JSON
|
27162
|
+
Authenticating with gds_sso_api_access strategy
|
27163
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
27164
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:13:41 +0000
|
27165
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
27166
|
+
Authenticating with gds_sso_api_access strategy
|
27167
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
27168
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:41 +0000
|
27169
|
+
Processing by ExampleController#restricted as JSON
|
27170
|
+
Authenticating with gds_bearer_token strategy
|
27171
|
+
Completed in 20ms
|
27172
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:13:41 +0000
|
27173
|
+
Processing by ExampleController#restricted as JSON
|
27174
|
+
Authenticating with gds_bearer_token strategy
|
27175
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27176
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27177
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27178
|
+
- signin
|
27179
|
+
' WHERE "users"."id" = 5
|
27180
|
+
[1m[36m (19.5ms)[0m [1mcommit transaction[0m
|
27181
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27182
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27183
|
+
- signin
|
27184
|
+
' WHERE "users"."id" = 5[0m
|
27185
|
+
[1m[35m (3.0ms)[0m commit transaction
|
27186
|
+
Completed 200 OK in 98ms (Views: 0.7ms | ActiveRecord: 23.7ms)
|
27187
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:13:41 +0000
|
27188
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
27189
|
+
Authenticating with gds_bearer_token strategy
|
27190
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27192
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27193
|
+
- signin
|
27194
|
+
' WHERE "users"."id" = 5[0m
|
27195
|
+
[1m[35m (10.8ms)[0m commit transaction
|
27196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27197
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27198
|
+
- signin
|
27199
|
+
' WHERE "users"."id" = 5
|
27200
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
27201
|
+
Completed 200 OK in 96ms (Views: 0.7ms | ActiveRecord: 13.5ms)
|
27202
|
+
Connecting to database specified by database.yml
|
27203
|
+
[1m[36m (3.2ms)[0m [1mselect sqlite_version(*)[0m
|
27204
|
+
[1m[35m (12.7ms)[0m DROP TABLE "users"
|
27205
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
27206
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27207
|
+
[1m[36mSQL (18.7ms)[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", "a1s2d36494"]]
|
27208
|
+
[1m[35m (2.2ms)[0m commit transaction
|
27209
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
27210
|
+
Processing by Api::UserController#update as HTML
|
27211
|
+
Parameters: {"uid"=>"a1s2d36494"}
|
27212
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.1ms)
|
27213
|
+
Completed 403 Forbidden in 133ms (Views: 121.6ms | ActiveRecord: 0.0ms)
|
27214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27215
|
+
[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", "a1s2d34704"]]
|
27216
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
27217
|
+
Processing by Api::UserController#update as HTML
|
27218
|
+
Parameters: {"uid"=>"a1s2d34704"}
|
27219
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34704' LIMIT 1
|
27220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27221
|
+
[1m[35m (0.4ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
27222
|
+
- signin
|
27223
|
+
- new permission
|
27224
|
+
' WHERE "users"."id" = 2
|
27225
|
+
[1m[36m (7.4ms)[0m [1mcommit transaction[0m
|
27226
|
+
Completed 200 OK in 27ms (ActiveRecord: 8.1ms)
|
27227
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
27228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27229
|
+
[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", "a1s2d33107"]]
|
27230
|
+
[1m[36m (4.9ms)[0m [1mcommit transaction[0m
|
27231
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
27232
|
+
Processing by Api::UserController#reauth as HTML
|
27233
|
+
Parameters: {"uid"=>"a1s2d33107"}
|
27234
|
+
Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
|
27235
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27236
|
+
[1m[36mSQL (11.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d37321"]]
|
27237
|
+
[1m[35m (2.5ms)[0m commit transaction
|
27238
|
+
Processing by Api::UserController#reauth as HTML
|
27239
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
27240
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
27241
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.2ms)
|
27242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27243
|
+
[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", "a1s2d31530"]]
|
27244
|
+
[1m[35m (2.1ms)[0m commit transaction
|
27245
|
+
Processing by Api::UserController#reauth as HTML
|
27246
|
+
Parameters: {"uid"=>"a1s2d31530"}
|
27247
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d31530' LIMIT 1[0m
|
27248
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27249
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
27250
|
+
- signin
|
27251
|
+
' WHERE "users"."id" = 5[0m
|
27252
|
+
[1m[35m (2.9ms)[0m commit transaction
|
27253
|
+
Completed 200 OK in 6ms (ActiveRecord: 3.4ms)
|
27254
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
27255
|
+
Started GET "/" for 127.0.0.1 at 2013-04-18 13:33:46 +0000
|
27256
|
+
Processing by ExampleController#index as HTML
|
27257
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
27258
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:46 +0000
|
27259
|
+
Processing by ExampleController#restricted as HTML
|
27260
|
+
Authenticating with gds_sso strategy
|
27261
|
+
Completed in 66ms
|
27262
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:46 +0000
|
27263
|
+
Started GET "/auth/gds/callback?code=3a8443984f92e84ab7424919dca5a4ef545125b4ff46eee9a6ee6823745a1d99&state=3d713df52d6af516813d44183c301331c1ea642e9724e8f3" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27264
|
+
Processing by AuthenticationsController#callback as HTML
|
27265
|
+
Parameters: {"code"=>"3a8443984f92e84ab7424919dca5a4ef545125b4ff46eee9a6ee6823745a1d99", "state"=>"3d713df52d6af516813d44183c301331c1ea642e9724e8f3"}
|
27266
|
+
Authenticating with gds_sso strategy
|
27267
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27269
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
27270
|
+
[1m[36m (10.9ms)[0m [1mcommit transaction[0m
|
27271
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27272
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
27273
|
+
- signin
|
27274
|
+
' WHERE "users"."id" = 6[0m
|
27275
|
+
[1m[35m (1.7ms)[0m commit transaction
|
27276
|
+
Redirected to http://www.example-client.com/restricted
|
27277
|
+
Completed 302 Found in 19ms (ActiveRecord: 13.6ms)
|
27278
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27279
|
+
Processing by ExampleController#restricted as HTML
|
27280
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27281
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
27282
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27283
|
+
Processing by ExampleController#restricted as HTML
|
27284
|
+
Authenticating with gds_sso strategy
|
27285
|
+
Completed in 0ms
|
27286
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27287
|
+
Started GET "/auth/gds/callback?code=42c3faf36f8a4a80fda74867f90a1888a55b5429bf7fb32c8a61ffee5bcb4130&state=d8248e2165f6d45096ccce6ce6c87a123afe8fd591988ffe" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27288
|
+
Processing by AuthenticationsController#callback as HTML
|
27289
|
+
Parameters: {"code"=>"42c3faf36f8a4a80fda74867f90a1888a55b5429bf7fb32c8a61ffee5bcb4130", "state"=>"d8248e2165f6d45096ccce6ce6c87a123afe8fd591988ffe"}
|
27290
|
+
Authenticating with gds_sso strategy
|
27291
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27293
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27294
|
+
- signin
|
27295
|
+
' WHERE "users"."id" = 6
|
27296
|
+
[1m[36m (7.0ms)[0m [1mcommit transaction[0m
|
27297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27298
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27299
|
+
- signin
|
27300
|
+
' WHERE "users"."id" = 6[0m
|
27301
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27302
|
+
Redirected to http://www.example-client.com/restricted
|
27303
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
27304
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27305
|
+
Processing by ExampleController#restricted as HTML
|
27306
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27307
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
27308
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27309
|
+
Processing by ExampleController#restricted as HTML
|
27310
|
+
Authenticating with gds_sso strategy
|
27311
|
+
Completed in 0ms
|
27312
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27313
|
+
Started GET "/auth/gds/callback?code=808cb2e8e37f2fd7160727f0cd8b4a2aebb9a01c29c14a6bd0ce5cbd25395a45&state=2dcbb90211288e9ec5f18c02f2cf30eb6d949d2884b0046c" for 127.0.0.1 at 2013-04-18 13:33:48 +0000
|
27314
|
+
Processing by AuthenticationsController#callback as HTML
|
27315
|
+
Parameters: {"code"=>"808cb2e8e37f2fd7160727f0cd8b4a2aebb9a01c29c14a6bd0ce5cbd25395a45", "state"=>"2dcbb90211288e9ec5f18c02f2cf30eb6d949d2884b0046c"}
|
27316
|
+
Authenticating with gds_sso strategy
|
27317
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27319
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27320
|
+
- signin
|
27321
|
+
' WHERE "users"."id" = 6
|
27322
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
27323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27324
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27325
|
+
- signin
|
27326
|
+
' WHERE "users"."id" = 6[0m
|
27327
|
+
[1m[35m (2.8ms)[0m commit transaction
|
27328
|
+
Redirected to http://www.example-client.com/restricted
|
27329
|
+
Completed 302 Found in 18ms (ActiveRecord: 13.0ms)
|
27330
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27331
|
+
Processing by ExampleController#restricted as HTML
|
27332
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27333
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms)
|
27334
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27335
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27336
|
+
Authenticating with gds_sso strategy
|
27337
|
+
Completed in 1ms
|
27338
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27339
|
+
Started GET "/auth/gds/callback?code=d7fa5b332ba9e460cff92620201736737ab3e14c3cc21ea5a87f612e0c820d74&state=ce2e8ac2b5f1db356b48f97ac9f72540c6a22af25d62a19b" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27340
|
+
Processing by AuthenticationsController#callback as HTML
|
27341
|
+
Parameters: {"code"=>"d7fa5b332ba9e460cff92620201736737ab3e14c3cc21ea5a87f612e0c820d74", "state"=>"ce2e8ac2b5f1db356b48f97ac9f72540c6a22af25d62a19b"}
|
27342
|
+
Authenticating with gds_sso strategy
|
27343
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27345
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27346
|
+
- signin
|
27347
|
+
' WHERE "users"."id" = 6
|
27348
|
+
[1m[36m (7.4ms)[0m [1mcommit transaction[0m
|
27349
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27350
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27351
|
+
- signin
|
27352
|
+
' WHERE "users"."id" = 6[0m
|
27353
|
+
[1m[35m (2.0ms)[0m commit transaction
|
27354
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
27355
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.5ms)
|
27356
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27357
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27358
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27359
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
27360
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27361
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27362
|
+
Authenticating with gds_sso strategy
|
27363
|
+
Completed in 0ms
|
27364
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27365
|
+
Started GET "/auth/gds/callback?code=6dd9c4e80575d4018da331cf46d523222fcfd9a5d5b12d41fe6ce4fc85383bf4&state=55bdb410ce56e1d8be7b52d839894219552ae08daad99b9b" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27366
|
+
Processing by AuthenticationsController#callback as HTML
|
27367
|
+
Parameters: {"code"=>"6dd9c4e80575d4018da331cf46d523222fcfd9a5d5b12d41fe6ce4fc85383bf4", "state"=>"55bdb410ce56e1d8be7b52d839894219552ae08daad99b9b"}
|
27368
|
+
Authenticating with gds_sso strategy
|
27369
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27370
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27371
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27372
|
+
- signin
|
27373
|
+
' WHERE "users"."id" = 6
|
27374
|
+
[1m[36m (10.0ms)[0m [1mcommit transaction[0m
|
27375
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27376
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27377
|
+
- signin
|
27378
|
+
' WHERE "users"."id" = 6[0m
|
27379
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27380
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
27381
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.6ms)
|
27382
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27383
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27384
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27385
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
27386
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27387
|
+
Processing by ExampleController#restricted as HTML
|
27388
|
+
Authenticating with gds_sso strategy
|
27389
|
+
Completed in 0ms
|
27390
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:49 +0000
|
27391
|
+
Started GET "/auth/gds/callback?code=bade7f1e338d6f792dc2d4d28f0b10319f7870934cbaf6c1a882065bc7aaba5c&state=e473123560b4a7c23cade712d67181bf09d007351fa00696" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27392
|
+
Processing by AuthenticationsController#callback as HTML
|
27393
|
+
Parameters: {"code"=>"bade7f1e338d6f792dc2d4d28f0b10319f7870934cbaf6c1a882065bc7aaba5c", "state"=>"e473123560b4a7c23cade712d67181bf09d007351fa00696"}
|
27394
|
+
Authenticating with gds_sso strategy
|
27395
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27397
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27398
|
+
- signin
|
27399
|
+
' WHERE "users"."id" = 6
|
27400
|
+
[1m[36m (7.3ms)[0m [1mcommit transaction[0m
|
27401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27402
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27403
|
+
- signin
|
27404
|
+
' WHERE "users"."id" = 6[0m
|
27405
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27406
|
+
Redirected to http://www.example-client.com/restricted
|
27407
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.1ms)
|
27408
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27409
|
+
Processing by ExampleController#restricted as HTML
|
27410
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27411
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
27412
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27413
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27414
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
27415
|
+
- signin
|
27416
|
+
' WHERE "users"."id" = 6
|
27417
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
27418
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27419
|
+
Processing by ExampleController#restricted as HTML
|
27420
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27421
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
27422
|
+
Completed 403 Forbidden in 4ms (Views: 2.9ms | ActiveRecord: 0.1ms)
|
27423
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27424
|
+
Processing by AuthenticationsController#sign_out as HTML
|
27425
|
+
Redirected to http://localhost:4567/users/sign_out
|
27426
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
27427
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27428
|
+
Processing by ExampleController#restricted as HTML
|
27429
|
+
Authenticating with gds_sso strategy
|
27430
|
+
Completed in 0ms
|
27431
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27432
|
+
Started GET "/auth/gds/callback?code=f1ca7f36b8890168be456122438216b0beeb2eeb787b1f48d2af852609f4ccd1&state=7d4f687997e05e1399a7d86b1aec02786d82ad609f6841ab" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27433
|
+
Processing by AuthenticationsController#callback as HTML
|
27434
|
+
Parameters: {"code"=>"f1ca7f36b8890168be456122438216b0beeb2eeb787b1f48d2af852609f4ccd1", "state"=>"7d4f687997e05e1399a7d86b1aec02786d82ad609f6841ab"}
|
27435
|
+
Authenticating with gds_sso strategy
|
27436
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27437
|
+
[1m[35m (0.2ms)[0m begin transaction
|
27438
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27439
|
+
- signin
|
27440
|
+
' WHERE "users"."id" = 6[0m
|
27441
|
+
[1m[35m (9.2ms)[0m commit transaction
|
27442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27443
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
27444
|
+
- signin
|
27445
|
+
' WHERE "users"."id" = 6
|
27446
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
27447
|
+
Redirected to http://www.example-client.com/restricted
|
27448
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.5ms)
|
27449
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27450
|
+
Processing by ExampleController#restricted as HTML
|
27451
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27452
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
27453
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27454
|
+
Processing by ExampleController#restricted as HTML
|
27455
|
+
Authenticating with gds_sso strategy
|
27456
|
+
Completed in 0ms
|
27457
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27458
|
+
Started GET "/auth/gds/callback?code=aab6591415272dd10dc769e20e44c090589002b68fedcf0bd01f8176813bc457&state=bcd7c15adde3db4d050f34b1016a4c5fa4901f02c2df1919" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27459
|
+
Processing by AuthenticationsController#callback as HTML
|
27460
|
+
Parameters: {"code"=>"aab6591415272dd10dc769e20e44c090589002b68fedcf0bd01f8176813bc457", "state"=>"bcd7c15adde3db4d050f34b1016a4c5fa4901f02c2df1919"}
|
27461
|
+
Authenticating with gds_sso strategy
|
27462
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27463
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27464
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27465
|
+
- signin
|
27466
|
+
' WHERE "users"."id" = 6[0m
|
27467
|
+
[1m[35m (7.4ms)[0m commit transaction
|
27468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27469
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27470
|
+
- signin
|
27471
|
+
' WHERE "users"."id" = 6
|
27472
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
27473
|
+
Redirected to http://www.example-client.com/restricted
|
27474
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.1ms)
|
27475
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:50 +0000
|
27476
|
+
Processing by ExampleController#restricted as HTML
|
27477
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27478
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
27479
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:38:50 +0000
|
27480
|
+
Processing by ExampleController#restricted as HTML
|
27481
|
+
Authenticating with gds_sso strategy
|
27482
|
+
Completed in 0ms
|
27483
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-19 09:38:50 +0000
|
27484
|
+
Started GET "/auth/gds/callback?code=f2e3f7f6a94f70b72d1f739a1e51a0c773df83aa8203e4a357c7f7f274f32db9&state=f9cc3ab0906ebf028bd3dad0c6052d389ef77ea621226bde" for 127.0.0.1 at 2013-04-19 09:38:50 +0000
|
27485
|
+
Processing by AuthenticationsController#callback as HTML
|
27486
|
+
Parameters: {"code"=>"f2e3f7f6a94f70b72d1f739a1e51a0c773df83aa8203e4a357c7f7f274f32db9", "state"=>"f9cc3ab0906ebf028bd3dad0c6052d389ef77ea621226bde"}
|
27487
|
+
Authenticating with gds_sso strategy
|
27488
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27490
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27491
|
+
- signin
|
27492
|
+
' WHERE "users"."id" = 6[0m
|
27493
|
+
[1m[35m (9.1ms)[0m commit transaction
|
27494
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27495
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27496
|
+
- signin
|
27497
|
+
' WHERE "users"."id" = 6
|
27498
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
27499
|
+
Redirected to http://www.example-client.com/restricted
|
27500
|
+
Completed 302 Found in 18ms (ActiveRecord: 11.9ms)
|
27501
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:38:51 +0000
|
27502
|
+
Processing by ExampleController#restricted as HTML
|
27503
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27504
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
27505
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27506
|
+
Processing by ExampleController#restricted as HTML
|
27507
|
+
Authenticating with gds_sso strategy
|
27508
|
+
Completed in 0ms
|
27509
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27510
|
+
Started GET "/auth/gds/callback?code=53c3cea1d355032b97a854cbfa32786177cb2020d009318a708d383f4ed646ab&state=8d0d0549947f326841dd10b347371b2f424e6eb87b1c2fa8" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27511
|
+
Processing by AuthenticationsController#callback as HTML
|
27512
|
+
Parameters: {"code"=>"53c3cea1d355032b97a854cbfa32786177cb2020d009318a708d383f4ed646ab", "state"=>"8d0d0549947f326841dd10b347371b2f424e6eb87b1c2fa8"}
|
27513
|
+
Authenticating with gds_sso strategy
|
27514
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27515
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27516
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27517
|
+
- signin
|
27518
|
+
' WHERE "users"."id" = 6[0m
|
27519
|
+
[1m[35m (8.6ms)[0m commit transaction
|
27520
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27521
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27522
|
+
- signin
|
27523
|
+
' WHERE "users"."id" = 6
|
27524
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
27525
|
+
Redirected to http://www.example-client.com/restricted
|
27526
|
+
Completed 302 Found in 18ms (ActiveRecord: 11.9ms)
|
27527
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27528
|
+
Processing by ExampleController#restricted as HTML
|
27529
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27530
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
27531
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:28:51 +0000
|
27532
|
+
Processing by ExampleController#restricted as HTML
|
27533
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27534
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
27535
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27536
|
+
Processing by ExampleController#restricted as JSON
|
27537
|
+
Authenticating with gds_sso_api_access strategy
|
27538
|
+
Completed in 14ms
|
27539
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27540
|
+
Processing by ExampleController#restricted as JSON
|
27541
|
+
Authenticating with gds_sso_api_access strategy
|
27542
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
27543
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27544
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
27545
|
+
Authenticating with gds_sso_api_access strategy
|
27546
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
27547
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27548
|
+
Processing by ExampleController#restricted as JSON
|
27549
|
+
Authenticating with gds_bearer_token strategy
|
27550
|
+
Completed in 9ms
|
27551
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27552
|
+
Processing by ExampleController#restricted as JSON
|
27553
|
+
Authenticating with gds_bearer_token strategy
|
27554
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27556
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27557
|
+
- signin
|
27558
|
+
' WHERE "users"."id" = 6
|
27559
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
27560
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27561
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27562
|
+
- signin
|
27563
|
+
' WHERE "users"."id" = 6[0m
|
27564
|
+
[1m[35m (2.2ms)[0m commit transaction
|
27565
|
+
Completed 200 OK in 56ms (Views: 0.6ms | ActiveRecord: 12.6ms)
|
27566
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:33:51 +0000
|
27567
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
27568
|
+
Authenticating with gds_bearer_token strategy
|
27569
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27570
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27571
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27572
|
+
- signin
|
27573
|
+
' WHERE "users"."id" = 6[0m
|
27574
|
+
[1m[35m (9.7ms)[0m commit transaction
|
27575
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27576
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27577
|
+
- signin
|
27578
|
+
' WHERE "users"."id" = 6
|
27579
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
27580
|
+
Completed 200 OK in 56ms (Views: 0.6ms | ActiveRecord: 13.1ms)
|
27581
|
+
Connecting to database specified by database.yml
|
27582
|
+
[1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
|
27583
|
+
[1m[35m (21.8ms)[0m DROP TABLE "users"
|
27584
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text) [0m
|
27585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27586
|
+
[1m[36mSQL (8.1ms)[0m [1mINSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?)[0m [["email", "old@domain.com"], ["name", "Moshua Jarshall"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "a1s2d3837"]]
|
27587
|
+
[1m[35m (2.5ms)[0m commit transaction
|
27588
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
27589
|
+
Processing by Api::UserController#update as HTML
|
27590
|
+
Parameters: {"uid"=>"a1s2d3837"}
|
27591
|
+
Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (3.7ms)
|
27592
|
+
Completed 403 Forbidden in 57ms (Views: 55.7ms | ActiveRecord: 0.0ms)
|
27593
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
27594
|
+
[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", "a1s2d37199"]]
|
27595
|
+
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
27596
|
+
Processing by Api::UserController#update as HTML
|
27597
|
+
Parameters: {"uid"=>"a1s2d37199"}
|
27598
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d37199' LIMIT 1
|
27599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27600
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
|
27601
|
+
- signin
|
27602
|
+
- new permission
|
27603
|
+
' WHERE "users"."id" = 2
|
27604
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
27605
|
+
Completed 200 OK in 10ms (ActiveRecord: 2.4ms)
|
27606
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
27607
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27608
|
+
[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", "a1s2d36651"]]
|
27609
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
27610
|
+
WARNING: Can't mass-assign protected attributes: uid, name, permissions
|
27611
|
+
Processing by Api::UserController#reauth as HTML
|
27612
|
+
Parameters: {"uid"=>"a1s2d36651"}
|
27613
|
+
Completed 403 Forbidden in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
27614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27615
|
+
[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", "a1s2d37480"]]
|
27616
|
+
[1m[35m (2.2ms)[0m commit transaction
|
27617
|
+
Processing by Api::UserController#reauth as HTML
|
27618
|
+
Parameters: {"uid"=>"nonexistent-user"}
|
27619
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'nonexistent-user' LIMIT 1[0m
|
27620
|
+
Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
|
27621
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27622
|
+
[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", "a1s2d36196"]]
|
27623
|
+
[1m[35m (1.9ms)[0m commit transaction
|
27624
|
+
Processing by Api::UserController#reauth as HTML
|
27625
|
+
Parameters: {"uid"=>"a1s2d36196"}
|
27626
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36196' LIMIT 1[0m
|
27627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27628
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
27629
|
+
- signin
|
27630
|
+
' WHERE "users"."id" = 5[0m
|
27631
|
+
[1m[35m (1.9ms)[0m commit transaction
|
27632
|
+
Completed 200 OK in 4ms (ActiveRecord: 2.3ms)
|
27633
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 5]]
|
27634
|
+
Started GET "/" for 127.0.0.1 at 2013-04-18 13:40:45 +0000
|
27635
|
+
Processing by ExampleController#index as HTML
|
27636
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
27637
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:45 +0000
|
27638
|
+
Processing by ExampleController#restricted as HTML
|
27639
|
+
Authenticating with gds_sso strategy
|
27640
|
+
Completed in 65ms
|
27641
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:45 +0000
|
27642
|
+
Started GET "/auth/gds/callback?code=cedd30b1a4e919c9ce7e48f4487eeb3613de41e39a936e5f84f5a9c208865737&state=c413bc9cce9df17af13aa5754b7148ee84cf080d2427486d" for 127.0.0.1 at 2013-04-18 13:40:46 +0000
|
27643
|
+
Processing by AuthenticationsController#callback as HTML
|
27644
|
+
Parameters: {"code"=>"cedd30b1a4e919c9ce7e48f4487eeb3613de41e39a936e5f84f5a9c208865737", "state"=>"c413bc9cce9df17af13aa5754b7148ee84cf080d2427486d"}
|
27645
|
+
Authenticating with gds_sso strategy
|
27646
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27647
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27648
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("email", "name", "permissions", "remotely_signed_out", "uid") VALUES (?, ?, ?, ?, ?) [["email", "test@example-client.com"], ["name", "Test User"], ["permissions", "--- \n- signin\n"], ["remotely_signed_out", nil], ["uid", "integration-uid"]]
|
27649
|
+
[1m[36m (7.4ms)[0m [1mcommit transaction[0m
|
27650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27651
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
27652
|
+
- signin
|
27653
|
+
' WHERE "users"."id" = 6[0m
|
27654
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27655
|
+
Redirected to http://www.example-client.com/restricted
|
27656
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.1ms)
|
27657
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27658
|
+
Processing by ExampleController#restricted as HTML
|
27659
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27660
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
27661
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27662
|
+
Processing by ExampleController#restricted as HTML
|
27663
|
+
Authenticating with gds_sso strategy
|
27664
|
+
Completed in 0ms
|
27665
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27666
|
+
Started GET "/auth/gds/callback?code=947f05b86ce13cdeb201ae423335fa4a054a83cc714afebe72c92ff0b468dcec&state=84ea70fd9f1144bcd750def75116ed2ba8af48089e0db9d9" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27667
|
+
Processing by AuthenticationsController#callback as HTML
|
27668
|
+
Parameters: {"code"=>"947f05b86ce13cdeb201ae423335fa4a054a83cc714afebe72c92ff0b468dcec", "state"=>"84ea70fd9f1144bcd750def75116ed2ba8af48089e0db9d9"}
|
27669
|
+
Authenticating with gds_sso strategy
|
27670
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27671
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27672
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27673
|
+
- signin
|
27674
|
+
' WHERE "users"."id" = 6
|
27675
|
+
[1m[36m (7.9ms)[0m [1mcommit transaction[0m
|
27676
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27677
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27678
|
+
- signin
|
27679
|
+
' WHERE "users"."id" = 6[0m
|
27680
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27681
|
+
Redirected to http://www.example-client.com/restricted
|
27682
|
+
Completed 302 Found in 16ms (ActiveRecord: 10.7ms)
|
27683
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27684
|
+
Processing by ExampleController#restricted as HTML
|
27685
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27686
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
27687
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27688
|
+
Processing by ExampleController#restricted as HTML
|
27689
|
+
Authenticating with gds_sso strategy
|
27690
|
+
Completed in 0ms
|
27691
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27692
|
+
Started GET "/auth/gds/callback?code=5320f35741f878e97f94d0a5df8155da076dac362218ded70bcf45503b658044&state=9faa0341b67526b9d56b2370be32dc8bdf1a18a8937d8269" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27693
|
+
Processing by AuthenticationsController#callback as HTML
|
27694
|
+
Parameters: {"code"=>"5320f35741f878e97f94d0a5df8155da076dac362218ded70bcf45503b658044", "state"=>"9faa0341b67526b9d56b2370be32dc8bdf1a18a8937d8269"}
|
27695
|
+
Authenticating with gds_sso strategy
|
27696
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27698
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27699
|
+
- signin
|
27700
|
+
' WHERE "users"."id" = 6
|
27701
|
+
[1m[36m (10.1ms)[0m [1mcommit transaction[0m
|
27702
|
+
[1m[35m (0.0ms)[0m begin transaction
|
27703
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27704
|
+
- signin
|
27705
|
+
' WHERE "users"."id" = 6[0m
|
27706
|
+
[1m[35m (1.9ms)[0m commit transaction
|
27707
|
+
Redirected to http://www.example-client.com/restricted
|
27708
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.8ms)
|
27709
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:47 +0000
|
27710
|
+
Processing by ExampleController#restricted as HTML
|
27711
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27712
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
|
27713
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27714
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27715
|
+
Authenticating with gds_sso strategy
|
27716
|
+
Completed in 1ms
|
27717
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27718
|
+
Started GET "/auth/gds/callback?code=f28e12842b1c767fdadb1690c803405a6768ca59a1e3aef519e650ae6403f9f3&state=c75ef1efcdea50a9fd21a5b66980be9490adcfe49e8361bc" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27719
|
+
Processing by AuthenticationsController#callback as HTML
|
27720
|
+
Parameters: {"code"=>"f28e12842b1c767fdadb1690c803405a6768ca59a1e3aef519e650ae6403f9f3", "state"=>"c75ef1efcdea50a9fd21a5b66980be9490adcfe49e8361bc"}
|
27721
|
+
Authenticating with gds_sso strategy
|
27722
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27724
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27725
|
+
- signin
|
27726
|
+
' WHERE "users"."id" = 6
|
27727
|
+
[1m[36m (7.2ms)[0m [1mcommit transaction[0m
|
27728
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27729
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27730
|
+
- signin
|
27731
|
+
' WHERE "users"."id" = 6[0m
|
27732
|
+
[1m[35m (2.0ms)[0m commit transaction
|
27733
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
27734
|
+
Completed 302 Found in 17ms (ActiveRecord: 10.2ms)
|
27735
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27736
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27737
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27738
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)
|
27739
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27740
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27741
|
+
Authenticating with gds_sso strategy
|
27742
|
+
Completed in 0ms
|
27743
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27744
|
+
Started GET "/auth/gds/callback?code=f7403dcc74f134a9aca399d9baec2a27b93320018fe4b87fbb411776891cfca7&state=4b55ed5a45cff9d75e7ef380d380cb5c32a64f34db72939a" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27745
|
+
Processing by AuthenticationsController#callback as HTML
|
27746
|
+
Parameters: {"code"=>"f7403dcc74f134a9aca399d9baec2a27b93320018fe4b87fbb411776891cfca7", "state"=>"4b55ed5a45cff9d75e7ef380d380cb5c32a64f34db72939a"}
|
27747
|
+
Authenticating with gds_sso strategy
|
27748
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27749
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27750
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27751
|
+
- signin
|
27752
|
+
' WHERE "users"."id" = 6
|
27753
|
+
[1m[36m (9.4ms)[0m [1mcommit transaction[0m
|
27754
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27755
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27756
|
+
- signin
|
27757
|
+
' WHERE "users"."id" = 6[0m
|
27758
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27759
|
+
Redirected to http://www.example-client.com/this_requires_signin_permission
|
27760
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.0ms)
|
27761
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27762
|
+
Processing by ExampleController#this_requires_signin_permission as HTML
|
27763
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27764
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
27765
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27766
|
+
Processing by ExampleController#restricted as HTML
|
27767
|
+
Authenticating with gds_sso strategy
|
27768
|
+
Completed in 0ms
|
27769
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:48 +0000
|
27770
|
+
Started GET "/auth/gds/callback?code=b0ef23c9b297480a67099eec2ccbccea9d14c3b24aeaf558ba635a4441c55a2b&state=4dc970d886dbc0bc1d97069e9aa9b10eda2138b7ad563025" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27771
|
+
Processing by AuthenticationsController#callback as HTML
|
27772
|
+
Parameters: {"code"=>"b0ef23c9b297480a67099eec2ccbccea9d14c3b24aeaf558ba635a4441c55a2b", "state"=>"4dc970d886dbc0bc1d97069e9aa9b10eda2138b7ad563025"}
|
27773
|
+
Authenticating with gds_sso strategy
|
27774
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27776
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27777
|
+
- signin
|
27778
|
+
' WHERE "users"."id" = 6
|
27779
|
+
[1m[36m (8.4ms)[0m [1mcommit transaction[0m
|
27780
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27781
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27782
|
+
- signin
|
27783
|
+
' WHERE "users"."id" = 6[0m
|
27784
|
+
[1m[35m (1.8ms)[0m commit transaction
|
27785
|
+
Redirected to http://www.example-client.com/restricted
|
27786
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.2ms)
|
27787
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27788
|
+
Processing by ExampleController#restricted as HTML
|
27789
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27790
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
27791
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27792
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27793
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
|
27794
|
+
- signin
|
27795
|
+
' WHERE "users"."id" = 6
|
27796
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
27797
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27798
|
+
Processing by ExampleController#restricted as HTML
|
27799
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27800
|
+
Filter chain halted as :authenticate_user! rendered or redirected
|
27801
|
+
Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.1ms)
|
27802
|
+
Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27803
|
+
Processing by AuthenticationsController#sign_out as HTML
|
27804
|
+
Redirected to http://localhost:4567/users/sign_out
|
27805
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
27806
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27807
|
+
Processing by ExampleController#restricted as HTML
|
27808
|
+
Authenticating with gds_sso strategy
|
27809
|
+
Completed in 0ms
|
27810
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27811
|
+
Started GET "/auth/gds/callback?code=5fbf5297d7a816577269e81c371025b8825a74d6c2cef126a6be2902d9a30c2f&state=a1b7a9f711167af65a8b375cf3aa07996713571fff2bd763" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27812
|
+
Processing by AuthenticationsController#callback as HTML
|
27813
|
+
Parameters: {"code"=>"5fbf5297d7a816577269e81c371025b8825a74d6c2cef126a6be2902d9a30c2f", "state"=>"a1b7a9f711167af65a8b375cf3aa07996713571fff2bd763"}
|
27814
|
+
Authenticating with gds_sso strategy
|
27815
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27817
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27818
|
+
- signin
|
27819
|
+
' WHERE "users"."id" = 6[0m
|
27820
|
+
[1m[35m (9.6ms)[0m commit transaction
|
27821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27822
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
|
27823
|
+
- signin
|
27824
|
+
' WHERE "users"."id" = 6
|
27825
|
+
[1m[36m (1.7ms)[0m [1mcommit transaction[0m
|
27826
|
+
Redirected to http://www.example-client.com/restricted
|
27827
|
+
Completed 302 Found in 16ms (ActiveRecord: 12.1ms)
|
27828
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27829
|
+
Processing by ExampleController#restricted as HTML
|
27830
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27831
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
|
27832
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27833
|
+
Processing by ExampleController#restricted as HTML
|
27834
|
+
Authenticating with gds_sso strategy
|
27835
|
+
Completed in 0ms
|
27836
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27837
|
+
Started GET "/auth/gds/callback?code=dbec99f136b77175d60135693ded668607ffbbfc216313ab7b0465d5d65112f4&state=b535984fa7ab71709510a5e4b87925a43e6c477cf60271f1" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27838
|
+
Processing by AuthenticationsController#callback as HTML
|
27839
|
+
Parameters: {"code"=>"dbec99f136b77175d60135693ded668607ffbbfc216313ab7b0465d5d65112f4", "state"=>"b535984fa7ab71709510a5e4b87925a43e6c477cf60271f1"}
|
27840
|
+
Authenticating with gds_sso strategy
|
27841
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27842
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27843
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27844
|
+
- signin
|
27845
|
+
' WHERE "users"."id" = 6[0m
|
27846
|
+
[1m[35m (7.0ms)[0m commit transaction
|
27847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27848
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27849
|
+
- signin
|
27850
|
+
' WHERE "users"."id" = 6
|
27851
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
27852
|
+
Redirected to http://www.example-client.com/restricted
|
27853
|
+
Completed 302 Found in 16ms (ActiveRecord: 9.8ms)
|
27854
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:49 +0000
|
27855
|
+
Processing by ExampleController#restricted as HTML
|
27856
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27857
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
|
27858
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:45:49 +0000
|
27859
|
+
Processing by ExampleController#restricted as HTML
|
27860
|
+
Authenticating with gds_sso strategy
|
27861
|
+
Completed in 0ms
|
27862
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-19 09:45:49 +0000
|
27863
|
+
Started GET "/auth/gds/callback?code=e583b4edf4e55fd9a664a01780f34dfec8108cc985aa2ab587df20a9ada79abe&state=503dfc452209a3d5e07ec438afd1e571f1016b058f5fe694" for 127.0.0.1 at 2013-04-19 09:45:49 +0000
|
27864
|
+
Processing by AuthenticationsController#callback as HTML
|
27865
|
+
Parameters: {"code"=>"e583b4edf4e55fd9a664a01780f34dfec8108cc985aa2ab587df20a9ada79abe", "state"=>"503dfc452209a3d5e07ec438afd1e571f1016b058f5fe694"}
|
27866
|
+
Authenticating with gds_sso strategy
|
27867
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27868
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27869
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27870
|
+
- signin
|
27871
|
+
' WHERE "users"."id" = 6[0m
|
27872
|
+
[1m[35m (9.7ms)[0m commit transaction
|
27873
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27874
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27875
|
+
- signin
|
27876
|
+
' WHERE "users"."id" = 6
|
27877
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
27878
|
+
Redirected to http://www.example-client.com/restricted
|
27879
|
+
Completed 302 Found in 17ms (ActiveRecord: 12.5ms)
|
27880
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:45:49 +0000
|
27881
|
+
Processing by ExampleController#restricted as HTML
|
27882
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27883
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.2ms)
|
27884
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27885
|
+
Processing by ExampleController#restricted as HTML
|
27886
|
+
Authenticating with gds_sso strategy
|
27887
|
+
Completed in 0ms
|
27888
|
+
Started GET "/auth/gds" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27889
|
+
Started GET "/auth/gds/callback?code=68fff88f8886c5cb6ba3df359aea787d7bc8834819d5a8bfe14f496d027e4510&state=99be1e5d3f9a172c546202e7b28091e2d52280d7c54a440d" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27890
|
+
Processing by AuthenticationsController#callback as HTML
|
27891
|
+
Parameters: {"code"=>"68fff88f8886c5cb6ba3df359aea787d7bc8834819d5a8bfe14f496d027e4510", "state"=>"99be1e5d3f9a172c546202e7b28091e2d52280d7c54a440d"}
|
27892
|
+
Authenticating with gds_sso strategy
|
27893
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27894
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27895
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27896
|
+
- signin
|
27897
|
+
' WHERE "users"."id" = 6[0m
|
27898
|
+
[1m[35m (8.0ms)[0m commit transaction
|
27899
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
27900
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27901
|
+
- signin
|
27902
|
+
' WHERE "users"."id" = 6
|
27903
|
+
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
27904
|
+
Redirected to http://www.example-client.com/restricted
|
27905
|
+
Completed 302 Found in 17ms (ActiveRecord: 11.6ms)
|
27906
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27907
|
+
Processing by ExampleController#restricted as HTML
|
27908
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27909
|
+
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
|
27910
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-19 09:35:50 +0000
|
27911
|
+
Processing by ExampleController#restricted as HTML
|
27912
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27913
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
27914
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27915
|
+
Processing by ExampleController#restricted as JSON
|
27916
|
+
Authenticating with gds_sso_api_access strategy
|
27917
|
+
Completed in 14ms
|
27918
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27919
|
+
Processing by ExampleController#restricted as JSON
|
27920
|
+
Authenticating with gds_sso_api_access strategy
|
27921
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
27922
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27923
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
27924
|
+
Authenticating with gds_sso_api_access strategy
|
27925
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
27926
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27927
|
+
Processing by ExampleController#restricted as JSON
|
27928
|
+
Authenticating with gds_bearer_token strategy
|
27929
|
+
Completed in 10ms
|
27930
|
+
Started GET "/restricted" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27931
|
+
Processing by ExampleController#restricted as JSON
|
27932
|
+
Authenticating with gds_bearer_token strategy
|
27933
|
+
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
|
27934
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27935
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27936
|
+
- signin
|
27937
|
+
' WHERE "users"."id" = 6
|
27938
|
+
[1m[36m (9.9ms)[0m [1mcommit transaction[0m
|
27939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27940
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27941
|
+
- signin
|
27942
|
+
' WHERE "users"."id" = 6[0m
|
27943
|
+
[1m[35m (2.6ms)[0m commit transaction
|
27944
|
+
Completed 200 OK in 57ms (Views: 0.6ms | ActiveRecord: 13.4ms)
|
27945
|
+
Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-04-18 13:40:50 +0000
|
27946
|
+
Processing by ExampleController#this_requires_signin_permission as JSON
|
27947
|
+
Authenticating with gds_bearer_token strategy
|
27948
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1[0m
|
27949
|
+
[1m[35m (0.1ms)[0m begin transaction
|
27950
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "users" SET "permissions" = '---
|
27951
|
+
- signin
|
27952
|
+
' WHERE "users"."id" = 6[0m
|
27953
|
+
[1m[35m (9.6ms)[0m commit transaction
|
27954
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27955
|
+
[1m[35m (0.3ms)[0m UPDATE "users" SET "permissions" = '---
|
27956
|
+
- signin
|
27957
|
+
' WHERE "users"."id" = 6
|
27958
|
+
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
27959
|
+
Completed 200 OK in 57ms (Views: 0.6ms | ActiveRecord: 13.0ms)
|