soar_sc_core 1.3.1 → 1.4.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 +2 -6
- 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: e39e10363406e58f27a375ca33b7a4fc9a967989
|
4
|
+
data.tar.gz: 08eb86df81dd9926e7e06b469eb8db61ef2b31b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d762147e7327f862f9f2a47b9833cd4a4bfac6e10585afbcb87e20aeaa5ae61332bbaaa7113f071bca2ab7fe3f25ae887a1f281e49d3b8be5e7a91b4dd444977
|
7
|
+
data.tar.gz: 36895828446be6891ff59097f204196c9d4cc9b8c02518b5a0510aac0808a3f42d1525803f5b19424b2209a13908441f2fece78f79bf59944600cf3853da0f9f
|
data/lib/soar_sc_core/version.rb
CHANGED
data/lib/soar_sc_core.rb
CHANGED
@@ -153,12 +153,8 @@ module SoarSc
|
|
153
153
|
if 'development' == ENV['RACK_ENV']
|
154
154
|
SoarSc::auditing.warn("Authentication ignored in development mode.")
|
155
155
|
elsif SoarSc::configuration['auth_token']
|
156
|
-
SoarSc::auditing.info("Using auth tokens for authentication
|
156
|
+
SoarSc::auditing.info("Using auth tokens for authentication with <#{SoarSc::configuration['auth_token']['provider']}> provider.",SoarSc::startup_flow_id)
|
157
157
|
stack.use SoarAuthenticationToken::RackMiddleware, SoarSc::configuration['auth_token'], SoarSc::auditing
|
158
|
-
elsif SoarSc::environment['AUTH_TOKEN_VALIDATION_SERVER']
|
159
|
-
SoarSc::auditing.info("Using AUTH_TOKEN_VALIDATION_SERVER=#{SoarSc::environment['AUTH_TOKEN_VALIDATION_SERVER']} for authentication",SoarSc::startup_flow_id)
|
160
|
-
configuration = { 'mode' => 'remote', 'validator-url' => SoarSc::environment['AUTH_TOKEN_VALIDATION_SERVER'] }
|
161
|
-
stack.use SoarAuthenticationToken::RackMiddleware, configuration, SoarSc::auditing
|
162
158
|
elsif SoarSc::environment['CAS_SERVER']
|
163
159
|
SoarSc::auditing.info("Using CAS_SERVER=#{SoarSc::environment['CAS_SERVER']} for authentication",SoarSc::startup_flow_id)
|
164
160
|
options = SoarAuthenticationCas::configure(SoarSc::environment)
|
@@ -169,7 +165,7 @@ module SoarSc
|
|
169
165
|
[username, password] == [SoarSc::environment['BASIC_AUTH_USER'], SoarSc::environment['BASIC_AUTH_PASSWORD']]
|
170
166
|
end
|
171
167
|
else
|
172
|
-
SoarSc::auditing.warn("Neither CAS_SERVER or BASIC_AUTH_USER specified. Having no authentication is not recommended for production",SoarSc::startup_flow_id)
|
168
|
+
SoarSc::auditing.warn("Neither Authentication Tokens, CAS_SERVER or BASIC_AUTH_USER specified. Having no authentication is not recommended for production",SoarSc::startup_flow_id)
|
173
169
|
end
|
174
170
|
end
|
175
171
|
|
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", "~>5.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.4.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-02-
|
11
|
+
date: 2017-02-17 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: 5.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: 5.0.0
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: soar_authorization
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|