soar_sc_core 1.1.4 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soar_sc_core/version.rb +1 -1
- data/lib/soar_sc_core.rb +3 -0
- data/soar_sc_core.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2676eaf8cf02c6ca43dc44175ada1b445e4db0d4
|
4
|
+
data.tar.gz: 7ffeb98cef2029759a364775c293767745cbeca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2aed4e3d60392d154163e661a49b5fd257833a19bb15ca5d70430c7cc7329a3b3b6f088743644a9450ff669290169d7a7854202078b10ce7834097db49da5440
|
7
|
+
data.tar.gz: d0678b5effb31da849e07c6af8bd3d0ff79633a6e1912ea4357853582222decdbad24ad48c38e33c0cff4ca92828b0716484aea67135b565dc2c4c7741e4eaaf
|
data/lib/soar_sc_core/version.rb
CHANGED
data/lib/soar_sc_core.rb
CHANGED
@@ -152,6 +152,9 @@ module SoarSc
|
|
152
152
|
def self.bootstrap_authentication(stack)
|
153
153
|
if 'development' == ENV['RACK_ENV']
|
154
154
|
SoarSc::auditing.warn("Authentication ignored in development mode.")
|
155
|
+
elsif SoarSc::configuration['auth_token']
|
156
|
+
SoarSc::auditing.info("Using auth tokens for authentication in <#{SoarSc::configuration['auth_token']['mode']}> mode.",SoarSc::startup_flow_id)
|
157
|
+
stack.use SoarAuthenticationToken::RackMiddleware, SoarSc::configuration['auth_token'], SoarSc::auditing
|
155
158
|
elsif SoarSc::environment['AUTH_TOKEN_VALIDATION_SERVER']
|
156
159
|
SoarSc::auditing.info("Using AUTH_TOKEN_VALIDATION_SERVER=#{SoarSc::environment['AUTH_TOKEN_VALIDATION_SERVER']} for authentication",SoarSc::startup_flow_id)
|
157
160
|
configuration = { 'mode' => 'remote', 'validator-url' => SoarSc::environment['AUTH_TOKEN_VALIDATION_SERVER'] }
|
data/soar_sc_core.gemspec
CHANGED
@@ -50,7 +50,7 @@ Gem::Specification.new do |spec|
|
|
50
50
|
# Identity management
|
51
51
|
spec.add_dependency "soar_authentication", "~>0.1.3"
|
52
52
|
spec.add_dependency "soar_authentication_cas", "~> 0.1.2"
|
53
|
-
spec.add_dependency "soar_authentication_token", "~>
|
53
|
+
spec.add_dependency "soar_authentication_token", "~>3.0.0"
|
54
54
|
spec.add_dependency "soar_authorization", "0.1.7"
|
55
55
|
spec.add_dependency 'smaak', "~> 0.2.2"
|
56
56
|
spec.add_dependency 'soar_smaak', "~> 0.1.19"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soar_sc_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ernst Van Graan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: haml
|
@@ -240,14 +240,14 @@ dependencies:
|
|
240
240
|
requirements:
|
241
241
|
- - "~>"
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version:
|
243
|
+
version: 3.0.0
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
248
|
- - "~>"
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
250
|
+
version: 3.0.0
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: soar_authorization
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|