gds-sso 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,12 +24,12 @@ module GDS
24
24
  # No longer used, to be removed. Was generally the app name, e.g. Publisher
25
25
  mattr_accessor :default_scope
26
26
  def self.default_scope=(obj)
27
- if defined?(Rails)
27
+ if defined?(Rails) && Rails.logger
28
28
  Rails.logger.warn "GDS::SSO::Config.default_scope is deprecated and ignored."
29
29
  end
30
30
  end
31
31
  def default_scope=(obj)
32
- if defined?(Rails)
32
+ if defined?(Rails) && Rails.logger
33
33
  Rails.logger.warn "GDS::SSO::Config.default_scope is deprecated and ignored."
34
34
  end
35
35
  end
@@ -1,5 +1,5 @@
1
1
  module GDS
2
2
  module SSO
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
@@ -10320,3 +10320,1164 @@ Authenticating with gds_bearer_token strategy
10320
10320
  ' WHERE "users"."id" = 6
10321
10321
   (2.1ms) commit transaction
10322
10322
  Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.3ms)
10323
+ Connecting to database specified by database.yml
10324
+  (13.8ms) select sqlite_version(*)
10325
+  (27.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text)
10326
+  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
10327
+  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10328
+  (0.1ms) begin transaction
10329
+ SQL (84.2ms) 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", "a1s2d35751"]]
10330
+  (14.2ms) commit transaction
10331
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
10332
+ Processing by Api::UserController#update as HTML
10333
+ Parameters: {"uid"=>"a1s2d35751"}
10334
+ Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.5ms)
10335
+ Completed 403 Forbidden in 122ms (Views: 121.3ms | ActiveRecord: 0.0ms)
10336
+  (0.1ms) begin transaction
10337
+ SQL (0.3ms) 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", "a1s2d3408"]]
10338
+  (2.6ms) commit transaction
10339
+ Processing by Api::UserController#update as HTML
10340
+ Parameters: {"uid"=>"a1s2d3408"}
10341
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3408' LIMIT 1
10342
+  (0.1ms) begin transaction
10343
+  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
10344
+ - signin
10345
+ - new permission
10346
+ ' WHERE "users"."id" = 2
10347
+  (2.2ms) commit transaction
10348
+ Completed 200 OK in 40ms (ActiveRecord: 2.9ms)
10349
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
10350
+  (0.1ms) begin transaction
10351
+ SQL (0.2ms) 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", "a1s2d38544"]]
10352
+  (8.5ms) commit transaction
10353
+ Processing by Api::UserController#update as HTML
10354
+ Parameters: {"uid"=>"a1s2d38544"}
10355
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38544' LIMIT 1
10356
+  (0.0ms) begin transaction
10357
+  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
10358
+ - signin
10359
+ - new permission
10360
+ ' WHERE "users"."id" = 3
10361
+  (4.9ms) commit transaction
10362
+ Completed 200 OK in 8ms (ActiveRecord: 5.4ms)
10363
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
10364
+  (0.1ms) begin transaction
10365
+ SQL (0.2ms) 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", "a1s2d31803"]]
10366
+  (4.1ms) commit transaction
10367
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
10368
+ Processing by Api::UserController#reauth as HTML
10369
+ Parameters: {"uid"=>"a1s2d31803"}
10370
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
10371
+  (0.1ms) begin transaction
10372
+ SQL (0.3ms) 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", "a1s2d38626"]]
10373
+  (9.5ms) commit transaction
10374
+ Processing by Api::UserController#reauth as HTML
10375
+ Parameters: {"uid"=>"a1s2d38626"}
10376
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38626' LIMIT 1
10377
+  (0.0ms) begin transaction
10378
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
10379
+ - signin
10380
+ ' WHERE "users"."id" = 5
10381
+  (4.2ms) commit transaction
10382
+ Completed 200 OK in 7ms (ActiveRecord: 4.7ms)
10383
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
10384
+ Started GET "/" for 127.0.0.1 at 2013-01-14 14:40:15 +0000
10385
+ Processing by ExampleController#index as HTML
10386
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
10387
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:15 +0000
10388
+ Processing by ExampleController#restricted as HTML
10389
+ Authenticating with gds_sso strategy
10390
+ Completed in 63ms
10391
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:15 +0000
10392
+ Started GET "/auth/gds/callback?code=9ea1a28b638b8d7724667eb66b8301c953914a2344e65f0c0a58329ab993ba9d&state=b247ceef00981ba947289c8a0d5c79f9ad4a51156e21274e" for 127.0.0.1 at 2013-01-14 14:40:16 +0000
10393
+ Processing by AuthenticationsController#callback as HTML
10394
+ Parameters: {"code"=>"9ea1a28b638b8d7724667eb66b8301c953914a2344e65f0c0a58329ab993ba9d", "state"=>"b247ceef00981ba947289c8a0d5c79f9ad4a51156e21274e"}
10395
+ Authenticating with gds_sso strategy
10396
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10397
+  (0.1ms) begin transaction
10398
+ SQL (0.3ms) 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"]]
10399
+  (7.3ms) commit transaction
10400
+  (0.0ms) begin transaction
10401
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
10402
+ - signin
10403
+ ' WHERE "users"."id" = 6
10404
+  (2.2ms) commit transaction
10405
+ Redirected to http://www.example-client.com/restricted
10406
+ Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
10407
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:16 +0000
10408
+ Processing by ExampleController#restricted as HTML
10409
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10410
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
10411
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10412
+ Processing by ExampleController#restricted as HTML
10413
+ Authenticating with gds_sso strategy
10414
+ Completed in 0ms
10415
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10416
+ Started GET "/auth/gds/callback?code=f2b3f673be04ca7516106c5beb5fedd098f2132b868c2d429a7d5eb3c7947048&state=427bfbf5b82e0cc9fff6223b08ba45a36b0ef2fd4ba4eb63" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10417
+ Processing by AuthenticationsController#callback as HTML
10418
+ Parameters: {"code"=>"f2b3f673be04ca7516106c5beb5fedd098f2132b868c2d429a7d5eb3c7947048", "state"=>"427bfbf5b82e0cc9fff6223b08ba45a36b0ef2fd4ba4eb63"}
10419
+ Authenticating with gds_sso strategy
10420
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10421
+  (0.1ms) begin transaction
10422
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10423
+ - signin
10424
+ ' WHERE "users"."id" = 6
10425
+  (5.9ms) commit transaction
10426
+  (0.1ms) begin transaction
10427
+  (0.2ms) UPDATE "users" SET "permissions" = '---
10428
+ - signin
10429
+ ' WHERE "users"."id" = 6
10430
+  (2.6ms) commit transaction
10431
+ Redirected to http://www.example-client.com/restricted
10432
+ Completed 302 Found in 15ms (ActiveRecord: 9.4ms)
10433
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10434
+ Processing by ExampleController#restricted as HTML
10435
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10436
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
10437
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10438
+ Processing by ExampleController#restricted as HTML
10439
+ Authenticating with gds_sso strategy
10440
+ Completed in 0ms
10441
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10442
+ Started GET "/auth/gds/callback?code=813cbfec29b289490c28ec93c05a871d3551b35824623631b81100f7928dd375&state=38ae8838b613e4e7296fcae7adab58c082a735958e625e10" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10443
+ Processing by AuthenticationsController#callback as HTML
10444
+ Parameters: {"code"=>"813cbfec29b289490c28ec93c05a871d3551b35824623631b81100f7928dd375", "state"=>"38ae8838b613e4e7296fcae7adab58c082a735958e625e10"}
10445
+ Authenticating with gds_sso strategy
10446
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10447
+  (0.1ms) begin transaction
10448
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10449
+ - signin
10450
+ ' WHERE "users"."id" = 6
10451
+  (8.3ms) commit transaction
10452
+  (0.1ms) begin transaction
10453
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10454
+ - signin
10455
+ ' WHERE "users"."id" = 6
10456
+  (2.2ms) commit transaction
10457
+ Redirected to http://www.example-client.com/restricted
10458
+ Completed 302 Found in 16ms (ActiveRecord: 11.4ms)
10459
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10460
+ Processing by ExampleController#restricted as HTML
10461
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10462
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
10463
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10464
+ Processing by ExampleController#this_requires_signin_permission as HTML
10465
+ Authenticating with gds_sso strategy
10466
+ Completed in 1ms
10467
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:17 +0000
10468
+ Started GET "/auth/gds/callback?code=1853c11a810099918bc1dbd9fd6817a303961f86191051b59cf46c49057a2dcb&state=7e86842423385eee9f38d4a3d604c35b43878c72dc31ba26" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10469
+ Processing by AuthenticationsController#callback as HTML
10470
+ Parameters: {"code"=>"1853c11a810099918bc1dbd9fd6817a303961f86191051b59cf46c49057a2dcb", "state"=>"7e86842423385eee9f38d4a3d604c35b43878c72dc31ba26"}
10471
+ Authenticating with gds_sso strategy
10472
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10473
+  (0.1ms) begin transaction
10474
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10475
+ - signin
10476
+ ' WHERE "users"."id" = 6
10477
+  (6.9ms) commit transaction
10478
+  (0.1ms) begin transaction
10479
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10480
+ - signin
10481
+ ' WHERE "users"."id" = 6
10482
+  (1.9ms) commit transaction
10483
+ Redirected to http://www.example-client.com/this_requires_signin_permission
10484
+ Completed 302 Found in 16ms (ActiveRecord: 9.9ms)
10485
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10486
+ Processing by ExampleController#this_requires_signin_permission as HTML
10487
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10488
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
10489
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10490
+ Processing by ExampleController#this_requires_signin_permission as HTML
10491
+ Authenticating with gds_sso strategy
10492
+ Completed in 0ms
10493
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10494
+ Started GET "/auth/gds/callback?code=bcc483ddf78672f8ab93ad6637c7d3b219b9ae655aa1f6d1ac4538183905f693&state=ca6c1ee66f0cb3a7ccf26c7196146cb1cc46e1997ae4bcb1" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10495
+ Processing by AuthenticationsController#callback as HTML
10496
+ Parameters: {"code"=>"bcc483ddf78672f8ab93ad6637c7d3b219b9ae655aa1f6d1ac4538183905f693", "state"=>"ca6c1ee66f0cb3a7ccf26c7196146cb1cc46e1997ae4bcb1"}
10497
+ Authenticating with gds_sso strategy
10498
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10499
+  (0.1ms) begin transaction
10500
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10501
+ - signin
10502
+ ' WHERE "users"."id" = 6
10503
+  (8.8ms) commit transaction
10504
+  (0.0ms) begin transaction
10505
+  (0.2ms) UPDATE "users" SET "permissions" = '---
10506
+ - signin
10507
+ ' WHERE "users"."id" = 6
10508
+  (2.3ms) commit transaction
10509
+ Redirected to http://www.example-client.com/this_requires_signin_permission
10510
+ Completed 302 Found in 16ms (ActiveRecord: 12.0ms)
10511
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10512
+ Processing by ExampleController#this_requires_signin_permission as HTML
10513
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10514
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
10515
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10516
+ Processing by ExampleController#restricted as HTML
10517
+ Authenticating with gds_sso strategy
10518
+ Completed in 0ms
10519
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10520
+ Started GET "/auth/gds/callback?code=b4d312ccd879e6c6effb5fac4fccfb4437dc21c3b6fc13c2d1a49fb2792825e8&state=3757d7778b43c38043c796119072b97964b16bef7e022408" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10521
+ Processing by AuthenticationsController#callback as HTML
10522
+ Parameters: {"code"=>"b4d312ccd879e6c6effb5fac4fccfb4437dc21c3b6fc13c2d1a49fb2792825e8", "state"=>"3757d7778b43c38043c796119072b97964b16bef7e022408"}
10523
+ Authenticating with gds_sso strategy
10524
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10525
+  (0.1ms) begin transaction
10526
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10527
+ - signin
10528
+ ' WHERE "users"."id" = 6
10529
+  (6.8ms) commit transaction
10530
+  (0.1ms) begin transaction
10531
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10532
+ - signin
10533
+ ' WHERE "users"."id" = 6
10534
+  (2.4ms) commit transaction
10535
+ Redirected to http://www.example-client.com/restricted
10536
+ Completed 302 Found in 16ms (ActiveRecord: 10.2ms)
10537
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10538
+ Processing by ExampleController#restricted as HTML
10539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10540
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
10541
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10542
+  (0.1ms) begin transaction
10543
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
10544
+ - signin
10545
+ ' WHERE "users"."id" = 6
10546
+  (1.9ms) commit transaction
10547
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10548
+ Processing by ExampleController#restricted as HTML
10549
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10550
+ Filter chain halted as :authenticate_user! rendered or redirected
10551
+ Completed 403 Forbidden in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
10552
+ Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-14 14:40:18 +0000
10553
+ Processing by AuthenticationsController#sign_out as HTML
10554
+ Redirected to http://localhost:4567/users/sign_out
10555
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
10556
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10557
+ Processing by ExampleController#restricted as HTML
10558
+ Authenticating with gds_sso strategy
10559
+ Completed in 0ms
10560
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10561
+ Started GET "/auth/gds/callback?code=72bbced761cdbd47f57054c16bff53e63f6f67e9ac0375c905c9c05cb96d9f45&state=d62b5a1e30f9b8882ae2d3c68b8c9b657b53c8551adce0dc" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10562
+ Processing by AuthenticationsController#callback as HTML
10563
+ Parameters: {"code"=>"72bbced761cdbd47f57054c16bff53e63f6f67e9ac0375c905c9c05cb96d9f45", "state"=>"d62b5a1e30f9b8882ae2d3c68b8c9b657b53c8551adce0dc"}
10564
+ Authenticating with gds_sso strategy
10565
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10566
+  (0.1ms) begin transaction
10567
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10568
+ - signin
10569
+ ' WHERE "users"."id" = 6
10570
+  (8.0ms) commit transaction
10571
+  (0.0ms) begin transaction
10572
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
10573
+ - signin
10574
+ ' WHERE "users"."id" = 6
10575
+  (1.8ms) commit transaction
10576
+ Redirected to http://www.example-client.com/restricted
10577
+ Completed 302 Found in 15ms (ActiveRecord: 10.6ms)
10578
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10579
+ Processing by ExampleController#restricted as HTML
10580
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10581
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
10582
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10583
+ Processing by ExampleController#restricted as HTML
10584
+ Authenticating with gds_sso strategy
10585
+ Completed in 0ms
10586
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10587
+ Started GET "/auth/gds/callback?code=5b70b20212eaecc2db477a57d5a5a1effff73746715ba7cf7eca5ec9f353e79c&state=3139d0458796bdb4200a9a95d005f8bfd990bfcf31e2227f" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10588
+ Processing by AuthenticationsController#callback as HTML
10589
+ Parameters: {"code"=>"5b70b20212eaecc2db477a57d5a5a1effff73746715ba7cf7eca5ec9f353e79c", "state"=>"3139d0458796bdb4200a9a95d005f8bfd990bfcf31e2227f"}
10590
+ Authenticating with gds_sso strategy
10591
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10592
+  (0.1ms) begin transaction
10593
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10594
+ - signin
10595
+ ' WHERE "users"."id" = 6
10596
+  (7.4ms) commit transaction
10597
+  (0.0ms) begin transaction
10598
+  (0.2ms) UPDATE "users" SET "permissions" = '---
10599
+ - signin
10600
+ ' WHERE "users"."id" = 6
10601
+  (1.8ms) commit transaction
10602
+ Redirected to http://www.example-client.com/restricted
10603
+ Completed 302 Found in 15ms (ActiveRecord: 10.1ms)
10604
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:19 +0000
10605
+ Processing by ExampleController#restricted as HTML
10606
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10607
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
10608
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:45:19 +0000
10609
+ Processing by ExampleController#restricted as HTML
10610
+ Authenticating with gds_sso strategy
10611
+ Completed in 0ms
10612
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 10:45:19 +0000
10613
+ Started GET "/auth/gds/callback?code=ba19af687e6ac5c08e247447d26da0fe13244573bfa5a7222a16fd6514498134&state=36feb850cc1137923b30c90fddfa261332a49803bec4fbf6" for 127.0.0.1 at 2013-01-15 10:45:19 +0000
10614
+ Processing by AuthenticationsController#callback as HTML
10615
+ Parameters: {"code"=>"ba19af687e6ac5c08e247447d26da0fe13244573bfa5a7222a16fd6514498134", "state"=>"36feb850cc1137923b30c90fddfa261332a49803bec4fbf6"}
10616
+ Authenticating with gds_sso strategy
10617
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10618
+  (0.1ms) begin transaction
10619
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10620
+ - signin
10621
+ ' WHERE "users"."id" = 6
10622
+  (9.0ms) commit transaction
10623
+  (0.1ms) begin transaction
10624
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10625
+ - signin
10626
+ ' WHERE "users"."id" = 6
10627
+  (1.8ms) commit transaction
10628
+ Redirected to http://www.example-client.com/restricted
10629
+ Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
10630
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:45:19 +0000
10631
+ Processing by ExampleController#restricted as HTML
10632
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10633
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
10634
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10635
+ Processing by ExampleController#restricted as HTML
10636
+ Authenticating with gds_sso strategy
10637
+ Completed in 0ms
10638
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10639
+ Started GET "/auth/gds/callback?code=4544c2b83fa642607e1484d3d5213a998b9756c9ddd00474101b4cb9c6afeb52&state=599f228426a9c7a5e73aa08cd97d5e3e717326db8fde1643" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10640
+ Processing by AuthenticationsController#callback as HTML
10641
+ Parameters: {"code"=>"4544c2b83fa642607e1484d3d5213a998b9756c9ddd00474101b4cb9c6afeb52", "state"=>"599f228426a9c7a5e73aa08cd97d5e3e717326db8fde1643"}
10642
+ Authenticating with gds_sso strategy
10643
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10644
+  (0.1ms) begin transaction
10645
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10646
+ - signin
10647
+ ' WHERE "users"."id" = 6
10648
+  (6.7ms) commit transaction
10649
+  (0.1ms) begin transaction
10650
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10651
+ - signin
10652
+ ' WHERE "users"."id" = 6
10653
+  (1.8ms) commit transaction
10654
+ Redirected to http://www.example-client.com/restricted
10655
+ Completed 302 Found in 15ms (ActiveRecord: 9.4ms)
10656
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10657
+ Processing by ExampleController#restricted as HTML
10658
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10659
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
10660
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:35:20 +0000
10661
+ Processing by ExampleController#restricted as HTML
10662
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10663
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
10664
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10665
+ Processing by ExampleController#restricted as JSON
10666
+ Authenticating with gds_sso_api_access strategy
10667
+ Completed in 65ms
10668
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10669
+ Processing by ExampleController#restricted as JSON
10670
+ Authenticating with gds_sso_api_access strategy
10671
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
10672
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10673
+ Processing by ExampleController#this_requires_signin_permission as JSON
10674
+ Authenticating with gds_sso_api_access strategy
10675
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
10676
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10677
+ Processing by ExampleController#restricted as JSON
10678
+ Authenticating with gds_bearer_token strategy
10679
+ Completed in 10ms
10680
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10681
+ Processing by ExampleController#restricted as JSON
10682
+ Authenticating with gds_bearer_token strategy
10683
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10684
+  (0.1ms) begin transaction
10685
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10686
+ - signin
10687
+ ' WHERE "users"."id" = 6
10688
+  (8.8ms) commit transaction
10689
+  (0.1ms) begin transaction
10690
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10691
+ - signin
10692
+ ' WHERE "users"."id" = 6
10693
+  (1.8ms) commit transaction
10694
+ Completed 200 OK in 47ms (Views: 0.6ms | ActiveRecord: 11.5ms)
10695
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 14:40:20 +0000
10696
+ Processing by ExampleController#this_requires_signin_permission as JSON
10697
+ Authenticating with gds_bearer_token strategy
10698
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10699
+  (0.7ms) begin transaction
10700
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10701
+ - signin
10702
+ ' WHERE "users"."id" = 6
10703
+  (8.1ms) commit transaction
10704
+  (0.1ms) begin transaction
10705
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10706
+ - signin
10707
+ ' WHERE "users"."id" = 6
10708
+  (1.9ms) commit transaction
10709
+ Completed 200 OK in 57ms (Views: 0.6ms | ActiveRecord: 11.6ms)
10710
+ Connecting to database specified by database.yml
10711
+  (3.2ms) select sqlite_version(*)
10712
+  (6.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text)
10713
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
10714
+  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10715
+  (0.1ms) begin transaction
10716
+ SQL (83.5ms) 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", "a1s2d35528"]]
10717
+  (7.0ms) commit transaction
10718
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
10719
+ Processing by Api::UserController#update as HTML
10720
+ Parameters: {"uid"=>"a1s2d35528"}
10721
+ Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (14.0ms)
10722
+ Completed 403 Forbidden in 181ms (Views: 179.9ms | ActiveRecord: 0.0ms)
10723
+  (0.1ms) begin transaction
10724
+ SQL (0.3ms) 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", "a1s2d3621"]]
10725
+  (6.0ms) commit transaction
10726
+ Processing by Api::UserController#update as HTML
10727
+ Parameters: {"uid"=>"a1s2d3621"}
10728
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d3621' LIMIT 1
10729
+  (0.1ms) begin transaction
10730
+  (0.4ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
10731
+ - signin
10732
+ - new permission
10733
+ ' WHERE "users"."id" = 2
10734
+  (2.0ms) commit transaction
10735
+ Completed 200 OK in 40ms (ActiveRecord: 2.8ms)
10736
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
10737
+  (0.1ms) begin transaction
10738
+ SQL (0.2ms) 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", "a1s2d32668"]]
10739
+  (12.1ms) commit transaction
10740
+ Processing by Api::UserController#update as HTML
10741
+ Parameters: {"uid"=>"a1s2d32668"}
10742
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d32668' LIMIT 1
10743
+  (0.1ms) begin transaction
10744
+  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
10745
+ - signin
10746
+ - new permission
10747
+ ' WHERE "users"."id" = 3
10748
+  (4.8ms) commit transaction
10749
+ Completed 200 OK in 8ms (ActiveRecord: 5.4ms)
10750
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
10751
+  (0.1ms) begin transaction
10752
+ SQL (0.2ms) 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", "a1s2d38886"]]
10753
+  (5.4ms) commit transaction
10754
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
10755
+ Processing by Api::UserController#reauth as HTML
10756
+ Parameters: {"uid"=>"a1s2d38886"}
10757
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
10758
+  (0.1ms) begin transaction
10759
+ SQL (0.2ms) 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", "a1s2d38143"]]
10760
+  (9.7ms) commit transaction
10761
+ Processing by Api::UserController#reauth as HTML
10762
+ Parameters: {"uid"=>"a1s2d38143"}
10763
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d38143' LIMIT 1
10764
+  (0.0ms) begin transaction
10765
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
10766
+ - signin
10767
+ ' WHERE "users"."id" = 5
10768
+  (4.6ms) commit transaction
10769
+ Completed 200 OK in 7ms (ActiveRecord: 5.1ms)
10770
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
10771
+ Started GET "/" for 127.0.0.1 at 2013-01-14 15:04:16 +0000
10772
+ Processing by ExampleController#index as HTML
10773
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
10774
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:16 +0000
10775
+ Processing by ExampleController#restricted as HTML
10776
+ Authenticating with gds_sso strategy
10777
+ Completed in 70ms
10778
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:16 +0000
10779
+ Started GET "/auth/gds/callback?code=6c08320126c861579af23632f526b24417d53b46d53c134520aab84941550a74&state=da02d04873e64881d71eadac04ce7dd1e35ddb24b3ee526d" for 127.0.0.1 at 2013-01-14 15:04:17 +0000
10780
+ Processing by AuthenticationsController#callback as HTML
10781
+ Parameters: {"code"=>"6c08320126c861579af23632f526b24417d53b46d53c134520aab84941550a74", "state"=>"da02d04873e64881d71eadac04ce7dd1e35ddb24b3ee526d"}
10782
+ Authenticating with gds_sso strategy
10783
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10784
+  (0.1ms) begin transaction
10785
+ SQL (0.3ms) 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"]]
10786
+  (7.0ms) commit transaction
10787
+  (0.0ms) begin transaction
10788
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
10789
+ - signin
10790
+ ' WHERE "users"."id" = 6
10791
+  (2.5ms) commit transaction
10792
+ Redirected to http://www.example-client.com/restricted
10793
+ Completed 302 Found in 16ms (ActiveRecord: 10.4ms)
10794
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:17 +0000
10795
+ Processing by ExampleController#restricted as HTML
10796
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10797
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms)
10798
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:17 +0000
10799
+ Processing by ExampleController#restricted as HTML
10800
+ Authenticating with gds_sso strategy
10801
+ Completed in 0ms
10802
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:17 +0000
10803
+ Started GET "/auth/gds/callback?code=ca8bc39076959ded4847beb2ed2d4c2df830d140e49cfa1343c103d43cf8a02a&state=f6fe08c36e4106d638fbc451ff562728a690b5338a868b00" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10804
+ Processing by AuthenticationsController#callback as HTML
10805
+ Parameters: {"code"=>"ca8bc39076959ded4847beb2ed2d4c2df830d140e49cfa1343c103d43cf8a02a", "state"=>"f6fe08c36e4106d638fbc451ff562728a690b5338a868b00"}
10806
+ Authenticating with gds_sso strategy
10807
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10808
+  (0.1ms) begin transaction
10809
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10810
+ - signin
10811
+ ' WHERE "users"."id" = 6
10812
+  (12.3ms) commit transaction
10813
+  (0.1ms) begin transaction
10814
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10815
+ - signin
10816
+ ' WHERE "users"."id" = 6
10817
+  (2.3ms) commit transaction
10818
+ Redirected to http://www.example-client.com/restricted
10819
+ Completed 302 Found in 22ms (ActiveRecord: 15.7ms)
10820
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10821
+ Processing by ExampleController#restricted as HTML
10822
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10823
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
10824
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10825
+ Processing by ExampleController#restricted as HTML
10826
+ Authenticating with gds_sso strategy
10827
+ Completed in 0ms
10828
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10829
+ Started GET "/auth/gds/callback?code=6bd5274424eece2ab53fe2e39db06fc2515d4adfc9a5b8b1ef08865774602756&state=0883bec642efbbd3efc24ae21da0dcac0bb3884fc039fda5" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10830
+ Processing by AuthenticationsController#callback as HTML
10831
+ Parameters: {"code"=>"6bd5274424eece2ab53fe2e39db06fc2515d4adfc9a5b8b1ef08865774602756", "state"=>"0883bec642efbbd3efc24ae21da0dcac0bb3884fc039fda5"}
10832
+ Authenticating with gds_sso strategy
10833
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10834
+  (0.1ms) begin transaction
10835
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10836
+ - signin
10837
+ ' WHERE "users"."id" = 6
10838
+  (8.5ms) commit transaction
10839
+  (0.1ms) begin transaction
10840
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10841
+ - signin
10842
+ ' WHERE "users"."id" = 6
10843
+  (2.0ms) commit transaction
10844
+ Redirected to http://www.example-client.com/restricted
10845
+ Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
10846
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10847
+ Processing by ExampleController#restricted as HTML
10848
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10849
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
10850
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10851
+ Processing by ExampleController#this_requires_signin_permission as HTML
10852
+ Authenticating with gds_sso strategy
10853
+ Completed in 1ms
10854
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10855
+ Started GET "/auth/gds/callback?code=6c7cf13a4487348f57b8f40d522c93ffeb4d1575a161cee98753c8bf0509dd83&state=9e2a46a8d2ff81547dc91e804e7f849725edd74db3305924" for 127.0.0.1 at 2013-01-14 15:04:18 +0000
10856
+ Processing by AuthenticationsController#callback as HTML
10857
+ Parameters: {"code"=>"6c7cf13a4487348f57b8f40d522c93ffeb4d1575a161cee98753c8bf0509dd83", "state"=>"9e2a46a8d2ff81547dc91e804e7f849725edd74db3305924"}
10858
+ Authenticating with gds_sso strategy
10859
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10860
+  (0.1ms) begin transaction
10861
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10862
+ - signin
10863
+ ' WHERE "users"."id" = 6
10864
+  (6.9ms) commit transaction
10865
+  (0.1ms) begin transaction
10866
+  (0.6ms) UPDATE "users" SET "permissions" = '---
10867
+ - signin
10868
+ ' WHERE "users"."id" = 6
10869
+  (2.3ms) commit transaction
10870
+ Redirected to http://www.example-client.com/this_requires_signin_permission
10871
+ Completed 302 Found in 69ms (ActiveRecord: 10.5ms)
10872
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10873
+ Processing by ExampleController#this_requires_signin_permission as HTML
10874
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10875
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.2ms)
10876
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10877
+ Processing by ExampleController#this_requires_signin_permission as HTML
10878
+ Authenticating with gds_sso strategy
10879
+ Completed in 0ms
10880
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10881
+ Started GET "/auth/gds/callback?code=aa1dd5cbeb50453c56741a7f2d4905f08937403fcda0b8082731217e8cfb657d&state=bc7c29482578baf7d5a0d7dc0627d4d50b22357da615f1c0" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10882
+ Processing by AuthenticationsController#callback as HTML
10883
+ Parameters: {"code"=>"aa1dd5cbeb50453c56741a7f2d4905f08937403fcda0b8082731217e8cfb657d", "state"=>"bc7c29482578baf7d5a0d7dc0627d4d50b22357da615f1c0"}
10884
+ Authenticating with gds_sso strategy
10885
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10886
+  (0.1ms) begin transaction
10887
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10888
+ - signin
10889
+ ' WHERE "users"."id" = 6
10890
+  (8.3ms) commit transaction
10891
+  (0.0ms) begin transaction
10892
+  (0.2ms) UPDATE "users" SET "permissions" = '---
10893
+ - signin
10894
+ ' WHERE "users"."id" = 6
10895
+  (1.8ms) commit transaction
10896
+ Redirected to http://www.example-client.com/this_requires_signin_permission
10897
+ Completed 302 Found in 15ms (ActiveRecord: 10.9ms)
10898
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10899
+ Processing by ExampleController#this_requires_signin_permission as HTML
10900
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10901
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
10902
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10903
+ Processing by ExampleController#restricted as HTML
10904
+ Authenticating with gds_sso strategy
10905
+ Completed in 0ms
10906
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10907
+ Started GET "/auth/gds/callback?code=d4c2c9c9b6e4a29d1a2fecaf4713acfe222c7f85df94a73887424f61ad0952cb&state=ff4cc73f17b6943752324009ce5c3b0759e2f0dccec0c95d" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10908
+ Processing by AuthenticationsController#callback as HTML
10909
+ Parameters: {"code"=>"d4c2c9c9b6e4a29d1a2fecaf4713acfe222c7f85df94a73887424f61ad0952cb", "state"=>"ff4cc73f17b6943752324009ce5c3b0759e2f0dccec0c95d"}
10910
+ Authenticating with gds_sso strategy
10911
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10912
+  (0.1ms) begin transaction
10913
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10914
+ - signin
10915
+ ' WHERE "users"."id" = 6
10916
+  (6.6ms) commit transaction
10917
+  (0.0ms) begin transaction
10918
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10919
+ - signin
10920
+ ' WHERE "users"."id" = 6
10921
+  (2.2ms) commit transaction
10922
+ Redirected to http://www.example-client.com/restricted
10923
+ Completed 302 Found in 16ms (ActiveRecord: 9.7ms)
10924
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10925
+ Processing by ExampleController#restricted as HTML
10926
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10927
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.2ms)
10928
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10929
+  (0.1ms) begin transaction
10930
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
10931
+ - signin
10932
+ ' WHERE "users"."id" = 6
10933
+  (1.9ms) commit transaction
10934
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10935
+ Processing by ExampleController#restricted as HTML
10936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10937
+ Filter chain halted as :authenticate_user! rendered or redirected
10938
+ Completed 403 Forbidden in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
10939
+ Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-14 15:04:19 +0000
10940
+ Processing by AuthenticationsController#sign_out as HTML
10941
+ Redirected to http://localhost:4567/users/sign_out
10942
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
10943
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10944
+ Processing by ExampleController#restricted as HTML
10945
+ Authenticating with gds_sso strategy
10946
+ Completed in 0ms
10947
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10948
+ Started GET "/auth/gds/callback?code=84c8cceff7c5d753c4eb2024498febe4d4c544b76989bd5ee28911e643eef47b&state=370f5aea0b81a7615829693d485f9bc571fbb8e09d06b7a4" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10949
+ Processing by AuthenticationsController#callback as HTML
10950
+ Parameters: {"code"=>"84c8cceff7c5d753c4eb2024498febe4d4c544b76989bd5ee28911e643eef47b", "state"=>"370f5aea0b81a7615829693d485f9bc571fbb8e09d06b7a4"}
10951
+ Authenticating with gds_sso strategy
10952
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10953
+  (0.1ms) begin transaction
10954
+  (5.3ms) UPDATE "users" SET "permissions" = '---
10955
+ - signin
10956
+ ' WHERE "users"."id" = 6
10957
+  (12.2ms) commit transaction
10958
+  (0.0ms) begin transaction
10959
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
10960
+ - signin
10961
+ ' WHERE "users"."id" = 6
10962
+  (2.0ms) commit transaction
10963
+ Redirected to http://www.example-client.com/restricted
10964
+ Completed 302 Found in 25ms (ActiveRecord: 20.1ms)
10965
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10966
+ Processing by ExampleController#restricted as HTML
10967
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10968
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
10969
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10970
+ Processing by ExampleController#restricted as HTML
10971
+ Authenticating with gds_sso strategy
10972
+ Completed in 0ms
10973
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10974
+ Started GET "/auth/gds/callback?code=3b0db65bae613e3bcd895ce22524ba6c4d14ccddbce31b781941ab3315523a64&state=d646cf6ee6f094e8321056eabf61ff8ae855a8c858849ffa" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10975
+ Processing by AuthenticationsController#callback as HTML
10976
+ Parameters: {"code"=>"3b0db65bae613e3bcd895ce22524ba6c4d14ccddbce31b781941ab3315523a64", "state"=>"d646cf6ee6f094e8321056eabf61ff8ae855a8c858849ffa"}
10977
+ Authenticating with gds_sso strategy
10978
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10979
+  (0.1ms) begin transaction
10980
+  (0.3ms) UPDATE "users" SET "permissions" = '---
10981
+ - signin
10982
+ ' WHERE "users"."id" = 6
10983
+  (6.8ms) commit transaction
10984
+  (0.0ms) begin transaction
10985
+  (0.2ms) UPDATE "users" SET "permissions" = '---
10986
+ - signin
10987
+ ' WHERE "users"."id" = 6
10988
+  (1.9ms) commit transaction
10989
+ Redirected to http://www.example-client.com/restricted
10990
+ Completed 302 Found in 15ms (ActiveRecord: 9.6ms)
10991
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
10992
+ Processing by ExampleController#restricted as HTML
10993
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
10994
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms)
10995
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 11:09:20 +0000
10996
+ Processing by ExampleController#restricted as HTML
10997
+ Authenticating with gds_sso strategy
10998
+ Completed in 0ms
10999
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 11:09:20 +0000
11000
+ Started GET "/auth/gds/callback?code=69c663cd8e79c5b3cca64f7a1c7cad06e6a3577a6f3abd941a9ea0c30b85ada1&state=ff7146dddaeafc6492cc00231360e1a6058857aee928c246" for 127.0.0.1 at 2013-01-15 11:09:20 +0000
11001
+ Processing by AuthenticationsController#callback as HTML
11002
+ Parameters: {"code"=>"69c663cd8e79c5b3cca64f7a1c7cad06e6a3577a6f3abd941a9ea0c30b85ada1", "state"=>"ff7146dddaeafc6492cc00231360e1a6058857aee928c246"}
11003
+ Authenticating with gds_sso strategy
11004
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11005
+  (0.3ms) begin transaction
11006
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11007
+ - signin
11008
+ ' WHERE "users"."id" = 6
11009
+  (9.1ms) commit transaction
11010
+  (0.1ms) begin transaction
11011
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11012
+ - signin
11013
+ ' WHERE "users"."id" = 6
11014
+  (2.1ms) commit transaction
11015
+ Redirected to http://www.example-client.com/restricted
11016
+ Completed 302 Found in 16ms (ActiveRecord: 12.2ms)
11017
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 11:09:20 +0000
11018
+ Processing by ExampleController#restricted as HTML
11019
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11020
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.1ms)
11021
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
11022
+ Processing by ExampleController#restricted as HTML
11023
+ Authenticating with gds_sso strategy
11024
+ Completed in 0ms
11025
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 15:04:20 +0000
11026
+ Started GET "/auth/gds/callback?code=5d7807ddbfe160e276b3463c0b519f22ceb578a4a32e89f82ef33a7a94b5badd&state=f5f16cf4f0a0ba922b5ae45405b8392cfdb187e91848b91b" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11027
+ Processing by AuthenticationsController#callback as HTML
11028
+ Parameters: {"code"=>"5d7807ddbfe160e276b3463c0b519f22ceb578a4a32e89f82ef33a7a94b5badd", "state"=>"f5f16cf4f0a0ba922b5ae45405b8392cfdb187e91848b91b"}
11029
+ Authenticating with gds_sso strategy
11030
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11031
+  (0.1ms) begin transaction
11032
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11033
+ - signin
11034
+ ' WHERE "users"."id" = 6
11035
+  (6.1ms) commit transaction
11036
+  (0.0ms) begin transaction
11037
+  (0.2ms) UPDATE "users" SET "permissions" = '---
11038
+ - signin
11039
+ ' WHERE "users"."id" = 6
11040
+  (2.4ms) commit transaction
11041
+ Redirected to http://www.example-client.com/restricted
11042
+ Completed 302 Found in 15ms (ActiveRecord: 9.4ms)
11043
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11044
+ Processing by ExampleController#restricted as HTML
11045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11046
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
11047
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 10:59:21 +0000
11048
+ Processing by ExampleController#restricted as HTML
11049
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11050
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
11051
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11052
+ Processing by ExampleController#restricted as JSON
11053
+ Authenticating with gds_sso_api_access strategy
11054
+ Completed in 65ms
11055
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11056
+ Processing by ExampleController#restricted as JSON
11057
+ Authenticating with gds_sso_api_access strategy
11058
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
11059
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11060
+ Processing by ExampleController#this_requires_signin_permission as JSON
11061
+ Authenticating with gds_sso_api_access strategy
11062
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
11063
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11064
+ Processing by ExampleController#restricted as JSON
11065
+ Authenticating with gds_bearer_token strategy
11066
+ Completed in 9ms
11067
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11068
+ Processing by ExampleController#restricted as JSON
11069
+ Authenticating with gds_bearer_token strategy
11070
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11071
+  (0.3ms) begin transaction
11072
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11073
+ - signin
11074
+ ' WHERE "users"."id" = 6
11075
+  (8.7ms) commit transaction
11076
+  (0.1ms) begin transaction
11077
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11078
+ - signin
11079
+ ' WHERE "users"."id" = 6
11080
+  (2.3ms) commit transaction
11081
+ Completed 200 OK in 48ms (Views: 0.6ms | ActiveRecord: 12.2ms)
11082
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 15:04:21 +0000
11083
+ Processing by ExampleController#this_requires_signin_permission as JSON
11084
+ Authenticating with gds_bearer_token strategy
11085
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11086
+  (0.1ms) begin transaction
11087
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11088
+ - signin
11089
+ ' WHERE "users"."id" = 6
11090
+  (8.9ms) commit transaction
11091
+  (0.1ms) begin transaction
11092
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11093
+ - signin
11094
+ ' WHERE "users"."id" = 6
11095
+  (2.6ms) commit transaction
11096
+ Completed 200 OK in 58ms (Views: 0.7ms | ActiveRecord: 12.5ms)
11097
+ Connecting to database specified by database.yml
11098
+  (3.1ms) select sqlite_version(*)
11099
+  (32.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "uid" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "remotely_signed_out" boolean, "permissions" text)
11100
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
11101
+  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11102
+  (0.1ms) begin transaction
11103
+ SQL (147.6ms) 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", "a1s2d3328"]]
11104
+  (4.7ms) commit transaction
11105
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
11106
+ Processing by Api::UserController#update as HTML
11107
+ Parameters: {"uid"=>"a1s2d3328"}
11108
+ Rendered /mnt/jenkins/workspace/gds-sso/app/views/authorisations/unauthorised.html.erb within layouts/unauthorised (24.9ms)
11109
+ Completed 403 Forbidden in 182ms (Views: 180.9ms | ActiveRecord: 0.0ms)
11110
+  (0.1ms) begin transaction
11111
+ SQL (0.3ms) 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", "a1s2d34671"]]
11112
+  (25.4ms) commit transaction
11113
+ Processing by Api::UserController#update as HTML
11114
+ Parameters: {"uid"=>"a1s2d34671"}
11115
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d34671' LIMIT 1
11116
+  (0.1ms) begin transaction
11117
+  (0.5ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
11118
+ - signin
11119
+ - new permission
11120
+ ' WHERE "users"."id" = 2
11121
+  (5.3ms) commit transaction
11122
+ Completed 200 OK in 46ms (ActiveRecord: 6.1ms)
11123
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
11124
+  (0.1ms) begin transaction
11125
+ SQL (0.3ms) 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", "a1s2d36941"]]
11126
+  (4.4ms) commit transaction
11127
+ Processing by Api::UserController#update as HTML
11128
+ Parameters: {"uid"=>"a1s2d36941"}
11129
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d36941' LIMIT 1
11130
+  (0.0ms) begin transaction
11131
+  (0.3ms) UPDATE "users" SET "email" = 'user@domain.com', "name" = 'Joshua Marshall', "permissions" = '---
11132
+ - signin
11133
+ - new permission
11134
+ ' WHERE "users"."id" = 3
11135
+  (14.0ms) commit transaction
11136
+ Completed 200 OK in 17ms (ActiveRecord: 14.5ms)
11137
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
11138
+  (0.1ms) begin transaction
11139
+ SQL (0.3ms) 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", "a1s2d38851"]]
11140
+  (6.0ms) commit transaction
11141
+ WARNING: Can't mass-assign protected attributes: uid, name, permissions
11142
+ Processing by Api::UserController#reauth as HTML
11143
+ Parameters: {"uid"=>"a1s2d38851"}
11144
+ Completed 403 Forbidden in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)
11145
+  (0.1ms) begin transaction
11146
+ SQL (0.3ms) 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", "a1s2d39549"]]
11147
+  (9.6ms) commit transaction
11148
+ Processing by Api::UserController#reauth as HTML
11149
+ Parameters: {"uid"=>"a1s2d39549"}
11150
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'a1s2d39549' LIMIT 1
11151
+  (0.0ms) begin transaction
11152
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
11153
+ - signin
11154
+ ' WHERE "users"."id" = 5
11155
+  (5.1ms) commit transaction
11156
+ Completed 200 OK in 8ms (ActiveRecord: 5.6ms)
11157
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 5]]
11158
+ Started GET "/" for 127.0.0.1 at 2013-01-14 17:22:31 +0000
11159
+ Processing by ExampleController#index as HTML
11160
+ Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms)
11161
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:31 +0000
11162
+ Processing by ExampleController#restricted as HTML
11163
+ Authenticating with gds_sso strategy
11164
+ Completed in 134ms
11165
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:32 +0000
11166
+ Started GET "/auth/gds/callback?code=b2bf6ec452c13b76d39e15d7d2a87a6bc169d5470c4de761a979eacf735b702a&state=6c0188c0e159d4837b8f219d063a0fa323238a1de2138dcd" for 127.0.0.1 at 2013-01-14 17:22:33 +0000
11167
+ Processing by AuthenticationsController#callback as HTML
11168
+ Parameters: {"code"=>"b2bf6ec452c13b76d39e15d7d2a87a6bc169d5470c4de761a979eacf735b702a", "state"=>"6c0188c0e159d4837b8f219d063a0fa323238a1de2138dcd"}
11169
+ Authenticating with gds_sso strategy
11170
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11171
+  (0.1ms) begin transaction
11172
+ SQL (0.3ms) 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"]]
11173
+  (7.2ms) commit transaction
11174
+  (0.0ms) begin transaction
11175
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
11176
+ - signin
11177
+ ' WHERE "users"."id" = 6
11178
+  (2.2ms) commit transaction
11179
+ Redirected to http://www.example-client.com/restricted
11180
+ Completed 302 Found in 16ms (ActiveRecord: 10.3ms)
11181
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11182
+ Processing by ExampleController#restricted as HTML
11183
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11184
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
11185
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11186
+ Processing by ExampleController#restricted as HTML
11187
+ Authenticating with gds_sso strategy
11188
+ Completed in 0ms
11189
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11190
+ Started GET "/auth/gds/callback?code=9bbba8ddc0ce93cbefc8673a0663788b419698f8e6494010e26ab5d626ff8f02&state=25045f2302920d60fb3aeaf9b9715fbf4d72ba4275af35f5" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11191
+ Processing by AuthenticationsController#callback as HTML
11192
+ Parameters: {"code"=>"9bbba8ddc0ce93cbefc8673a0663788b419698f8e6494010e26ab5d626ff8f02", "state"=>"25045f2302920d60fb3aeaf9b9715fbf4d72ba4275af35f5"}
11193
+ Authenticating with gds_sso strategy
11194
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11195
+  (0.1ms) begin transaction
11196
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11197
+ - signin
11198
+ ' WHERE "users"."id" = 6
11199
+  (6.5ms) commit transaction
11200
+  (0.1ms) begin transaction
11201
+  (0.2ms) UPDATE "users" SET "permissions" = '---
11202
+ - signin
11203
+ ' WHERE "users"."id" = 6
11204
+  (1.9ms) commit transaction
11205
+ Redirected to http://www.example-client.com/restricted
11206
+ Completed 302 Found in 15ms (ActiveRecord: 9.3ms)
11207
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11208
+ Processing by ExampleController#restricted as HTML
11209
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11210
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
11211
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11212
+ Processing by ExampleController#restricted as HTML
11213
+ Authenticating with gds_sso strategy
11214
+ Completed in 0ms
11215
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11216
+ Started GET "/auth/gds/callback?code=e2fbc2772c006a36199e19bd332345269b58d236443d97c497ed199a9be3873f&state=0821f638fb0250cfe47b591c4e293a98cb184d4254b3b081" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11217
+ Processing by AuthenticationsController#callback as HTML
11218
+ Parameters: {"code"=>"e2fbc2772c006a36199e19bd332345269b58d236443d97c497ed199a9be3873f", "state"=>"0821f638fb0250cfe47b591c4e293a98cb184d4254b3b081"}
11219
+ Authenticating with gds_sso strategy
11220
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11221
+  (0.1ms) begin transaction
11222
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11223
+ - signin
11224
+ ' WHERE "users"."id" = 6
11225
+  (7.7ms) commit transaction
11226
+  (0.1ms) begin transaction
11227
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11228
+ - signin
11229
+ ' WHERE "users"."id" = 6
11230
+  (1.9ms) commit transaction
11231
+ Redirected to http://www.example-client.com/restricted
11232
+ Completed 302 Found in 15ms (ActiveRecord: 10.5ms)
11233
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11234
+ Processing by ExampleController#restricted as HTML
11235
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11236
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
11237
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11238
+ Processing by ExampleController#this_requires_signin_permission as HTML
11239
+ Authenticating with gds_sso strategy
11240
+ Completed in 1ms
11241
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:34 +0000
11242
+ Started GET "/auth/gds/callback?code=d29832af47b27100e6c3504de5647d2fee4fdf6ea05b82c65eaa45f1e240bb9c&state=0f5f6e87cb19547a106cd1af31f5a670e0f97eb614c526bb" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11243
+ Processing by AuthenticationsController#callback as HTML
11244
+ Parameters: {"code"=>"d29832af47b27100e6c3504de5647d2fee4fdf6ea05b82c65eaa45f1e240bb9c", "state"=>"0f5f6e87cb19547a106cd1af31f5a670e0f97eb614c526bb"}
11245
+ Authenticating with gds_sso strategy
11246
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11247
+  (0.1ms) begin transaction
11248
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11249
+ - signin
11250
+ ' WHERE "users"."id" = 6
11251
+  (7.1ms) commit transaction
11252
+  (0.0ms) begin transaction
11253
+  (0.2ms) UPDATE "users" SET "permissions" = '---
11254
+ - signin
11255
+ ' WHERE "users"."id" = 6
11256
+  (1.8ms) commit transaction
11257
+ Redirected to http://www.example-client.com/this_requires_signin_permission
11258
+ Completed 302 Found in 15ms (ActiveRecord: 9.8ms)
11259
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11260
+ Processing by ExampleController#this_requires_signin_permission as HTML
11261
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11262
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
11263
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11264
+ Processing by ExampleController#this_requires_signin_permission as HTML
11265
+ Authenticating with gds_sso strategy
11266
+ Completed in 0ms
11267
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11268
+ Started GET "/auth/gds/callback?code=859ec90fc0ad8f4c56d8075f48e3a5750b63f4eb88c77a4f380409dd219eaf09&state=29cd3350447ae97b21aa142da63606a631dfd793f1ef8536" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11269
+ Processing by AuthenticationsController#callback as HTML
11270
+ Parameters: {"code"=>"859ec90fc0ad8f4c56d8075f48e3a5750b63f4eb88c77a4f380409dd219eaf09", "state"=>"29cd3350447ae97b21aa142da63606a631dfd793f1ef8536"}
11271
+ Authenticating with gds_sso strategy
11272
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11273
+  (0.1ms) begin transaction
11274
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11275
+ - signin
11276
+ ' WHERE "users"."id" = 6
11277
+  (9.0ms) commit transaction
11278
+  (0.0ms) begin transaction
11279
+  (0.2ms) UPDATE "users" SET "permissions" = '---
11280
+ - signin
11281
+ ' WHERE "users"."id" = 6
11282
+  (1.9ms) commit transaction
11283
+ Redirected to http://www.example-client.com/this_requires_signin_permission
11284
+ Completed 302 Found in 16ms (ActiveRecord: 11.6ms)
11285
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11286
+ Processing by ExampleController#this_requires_signin_permission as HTML
11287
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11288
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.1ms)
11289
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11290
+ Processing by ExampleController#restricted as HTML
11291
+ Authenticating with gds_sso strategy
11292
+ Completed in 0ms
11293
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11294
+ Started GET "/auth/gds/callback?code=c183ffabe825631bae90a9e89aed223c73d1f51775baa6940cb7aea582af554b&state=2ade73e0daba2f7b3d7fb13a3e5234946b28f3cd1cc3d588" for 127.0.0.1 at 2013-01-14 17:22:35 +0000
11295
+ Processing by AuthenticationsController#callback as HTML
11296
+ Parameters: {"code"=>"c183ffabe825631bae90a9e89aed223c73d1f51775baa6940cb7aea582af554b", "state"=>"2ade73e0daba2f7b3d7fb13a3e5234946b28f3cd1cc3d588"}
11297
+ Authenticating with gds_sso strategy
11298
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11299
+  (0.1ms) begin transaction
11300
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11301
+ - signin
11302
+ ' WHERE "users"."id" = 6
11303
+  (7.6ms) commit transaction
11304
+  (0.1ms) begin transaction
11305
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11306
+ - signin
11307
+ ' WHERE "users"."id" = 6
11308
+  (2.0ms) commit transaction
11309
+ Redirected to http://www.example-client.com/restricted
11310
+ Completed 302 Found in 17ms (ActiveRecord: 10.6ms)
11311
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11312
+ Processing by ExampleController#restricted as HTML
11313
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11314
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
11315
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11316
+  (0.1ms) begin transaction
11317
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 't', "permissions" = '---
11318
+ - signin
11319
+ ' WHERE "users"."id" = 6
11320
+  (1.9ms) commit transaction
11321
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11322
+ Processing by ExampleController#restricted as HTML
11323
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11324
+ Filter chain halted as :authenticate_user! rendered or redirected
11325
+ Completed 403 Forbidden in 4ms (Views: 3.0ms | ActiveRecord: 0.1ms)
11326
+ Started GET "/auth/gds/sign_out" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11327
+ Processing by AuthenticationsController#sign_out as HTML
11328
+ Redirected to http://localhost:4567/users/sign_out
11329
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
11330
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11331
+ Processing by ExampleController#restricted as HTML
11332
+ Authenticating with gds_sso strategy
11333
+ Completed in 0ms
11334
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11335
+ Started GET "/auth/gds/callback?code=0a4b591542faa6c5254642e8f4bb88d520a5bc871bfbd9b56023b1f1e2ddec8e&state=e2e3f8792347a1a83f001efb7cb46e462e215b60d2166b10" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11336
+ Processing by AuthenticationsController#callback as HTML
11337
+ Parameters: {"code"=>"0a4b591542faa6c5254642e8f4bb88d520a5bc871bfbd9b56023b1f1e2ddec8e", "state"=>"e2e3f8792347a1a83f001efb7cb46e462e215b60d2166b10"}
11338
+ Authenticating with gds_sso strategy
11339
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11340
+  (0.1ms) begin transaction
11341
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11342
+ - signin
11343
+ ' WHERE "users"."id" = 6
11344
+  (13.1ms) commit transaction
11345
+  (0.1ms) begin transaction
11346
+  (0.3ms) UPDATE "users" SET "remotely_signed_out" = 'f', "permissions" = '---
11347
+ - signin
11348
+ ' WHERE "users"."id" = 6
11349
+  (4.3ms) commit transaction
11350
+ Redirected to http://www.example-client.com/restricted
11351
+ Completed 302 Found in 23ms (ActiveRecord: 18.3ms)
11352
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11353
+ Processing by ExampleController#restricted as HTML
11354
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11355
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.2ms)
11356
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11357
+ Processing by ExampleController#restricted as HTML
11358
+ Authenticating with gds_sso strategy
11359
+ Completed in 0ms
11360
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:36 +0000
11361
+ Started GET "/auth/gds/callback?code=042e08c840de796982d7f7c080c0bad6533632b8595f715156b60784d8c44ef9&state=fcd51f07698942c33c0af42fc260360c9ed01778350a2a77" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11362
+ Processing by AuthenticationsController#callback as HTML
11363
+ Parameters: {"code"=>"042e08c840de796982d7f7c080c0bad6533632b8595f715156b60784d8c44ef9", "state"=>"fcd51f07698942c33c0af42fc260360c9ed01778350a2a77"}
11364
+ Authenticating with gds_sso strategy
11365
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11366
+  (0.1ms) begin transaction
11367
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11368
+ - signin
11369
+ ' WHERE "users"."id" = 6
11370
+  (8.2ms) commit transaction
11371
+  (0.0ms) begin transaction
11372
+  (0.2ms) UPDATE "users" SET "permissions" = '---
11373
+ - signin
11374
+ ' WHERE "users"."id" = 6
11375
+  (2.7ms) commit transaction
11376
+ Redirected to http://www.example-client.com/restricted
11377
+ Completed 302 Found in 18ms (ActiveRecord: 11.7ms)
11378
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11379
+ Processing by ExampleController#restricted as HTML
11380
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11381
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
11382
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 13:27:37 +0000
11383
+ Processing by ExampleController#restricted as HTML
11384
+ Authenticating with gds_sso strategy
11385
+ Completed in 0ms
11386
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-15 13:27:37 +0000
11387
+ Started GET "/auth/gds/callback?code=331411a7dcced9a827be78977ede52bee040450532c773f64ad2700e1ff0fbf3&state=32f820bcf77234a13978f78685f7cb676b91c05bb781c9bc" for 127.0.0.1 at 2013-01-15 13:27:37 +0000
11388
+ Processing by AuthenticationsController#callback as HTML
11389
+ Parameters: {"code"=>"331411a7dcced9a827be78977ede52bee040450532c773f64ad2700e1ff0fbf3", "state"=>"32f820bcf77234a13978f78685f7cb676b91c05bb781c9bc"}
11390
+ Authenticating with gds_sso strategy
11391
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11392
+  (0.1ms) begin transaction
11393
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11394
+ - signin
11395
+ ' WHERE "users"."id" = 6
11396
+  (9.1ms) commit transaction
11397
+  (0.1ms) begin transaction
11398
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11399
+ - signin
11400
+ ' WHERE "users"."id" = 6
11401
+  (2.1ms) commit transaction
11402
+ Redirected to http://www.example-client.com/restricted
11403
+ Completed 302 Found in 17ms (ActiveRecord: 12.0ms)
11404
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 13:27:37 +0000
11405
+ Processing by ExampleController#restricted as HTML
11406
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11407
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
11408
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11409
+ Processing by ExampleController#restricted as HTML
11410
+ Authenticating with gds_sso strategy
11411
+ Completed in 0ms
11412
+ Started GET "/auth/gds" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11413
+ Started GET "/auth/gds/callback?code=9cfb231611e6e87c68206104660a090a5fa32fd05e287c3bee9d1678fa29ddb4&state=d8a41d65c57870f32ee7a2a0868422a9727ceda650e3c59b" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11414
+ Processing by AuthenticationsController#callback as HTML
11415
+ Parameters: {"code"=>"9cfb231611e6e87c68206104660a090a5fa32fd05e287c3bee9d1678fa29ddb4", "state"=>"d8a41d65c57870f32ee7a2a0868422a9727ceda650e3c59b"}
11416
+ Authenticating with gds_sso strategy
11417
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11418
+  (0.1ms) begin transaction
11419
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11420
+ - signin
11421
+ ' WHERE "users"."id" = 6
11422
+  (6.2ms) commit transaction
11423
+  (0.1ms) begin transaction
11424
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11425
+ - signin
11426
+ ' WHERE "users"."id" = 6
11427
+  (1.8ms) commit transaction
11428
+ Redirected to http://www.example-client.com/restricted
11429
+ Completed 302 Found in 15ms (ActiveRecord: 8.9ms)
11430
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11431
+ Processing by ExampleController#restricted as HTML
11432
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11433
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
11434
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-15 13:17:37 +0000
11435
+ Processing by ExampleController#restricted as HTML
11436
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11437
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.2ms)
11438
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11439
+ Processing by ExampleController#restricted as JSON
11440
+ Authenticating with gds_sso_api_access strategy
11441
+ Completed in 69ms
11442
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11443
+ Processing by ExampleController#restricted as JSON
11444
+ Authenticating with gds_sso_api_access strategy
11445
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
11446
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 17:22:37 +0000
11447
+ Processing by ExampleController#this_requires_signin_permission as JSON
11448
+ Authenticating with gds_sso_api_access strategy
11449
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
11450
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:38 +0000
11451
+ Processing by ExampleController#restricted as JSON
11452
+ Authenticating with gds_bearer_token strategy
11453
+ Completed in 10ms
11454
+ Started GET "/restricted" for 127.0.0.1 at 2013-01-14 17:22:38 +0000
11455
+ Processing by ExampleController#restricted as JSON
11456
+ Authenticating with gds_bearer_token strategy
11457
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11458
+  (0.1ms) begin transaction
11459
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11460
+ - signin
11461
+ ' WHERE "users"."id" = 6
11462
+  (9.3ms) commit transaction
11463
+  (0.1ms) begin transaction
11464
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11465
+ - signin
11466
+ ' WHERE "users"."id" = 6
11467
+  (4.3ms) commit transaction
11468
+ Completed 200 OK in 61ms (Views: 0.8ms | ActiveRecord: 14.7ms)
11469
+ Started GET "/this_requires_signin_permission" for 127.0.0.1 at 2013-01-14 17:22:38 +0000
11470
+ Processing by ExampleController#this_requires_signin_permission as JSON
11471
+ Authenticating with gds_bearer_token strategy
11472
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."uid" = 'integration-uid' LIMIT 1
11473
+  (0.1ms) begin transaction
11474
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11475
+ - signin
11476
+ ' WHERE "users"."id" = 6
11477
+  (8.3ms) commit transaction
11478
+  (0.1ms) begin transaction
11479
+  (0.3ms) UPDATE "users" SET "permissions" = '---
11480
+ - signin
11481
+ ' WHERE "users"."id" = 6
11482
+  (2.5ms) commit transaction
11483
+ Completed 200 OK in 57ms (Views: 0.7ms | ActiveRecord: 11.8ms)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gds-sso
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.0.0
5
+ version: 3.0.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Matt Patterson
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2013-01-10 00:00:00 Z
14
+ date: 2013-01-14 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -232,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
232
  requirements:
233
233
  - - ">="
234
234
  - !ruby/object:Gem::Version
235
- hash: -3378109903545009667
235
+ hash: 2934560296825510897
236
236
  segments:
237
237
  - 0
238
238
  version: "0"
@@ -241,7 +241,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  requirements:
242
242
  - - ">="
243
243
  - !ruby/object:Gem::Version
244
- hash: -3378109903545009667
244
+ hash: 2934560296825510897
245
245
  segments:
246
246
  - 0
247
247
  version: "0"