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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17a63c6aabdf43ad419b5571642cc129d5e47ab6
4
- data.tar.gz: a64a2571d6aec78fe6a4a29eff9415cf3d851e14
3
+ metadata.gz: e39e10363406e58f27a375ca33b7a4fc9a967989
4
+ data.tar.gz: 08eb86df81dd9926e7e06b469eb8db61ef2b31b3
5
5
  SHA512:
6
- metadata.gz: 5b1ef9f675612df3c7d2780580d20fc1617a2b39a656c6988b3103def419852c60446df1afa93dafa609a1fc212421d0982278de8604f49c59072384cbb2b520
7
- data.tar.gz: bf3096e05f89730a7804ea5f49ec63091f51e2f85b590177946a1d0bdbec73c22825f6f1ea99803f530b466e56d695d6ab10d6466fb71eaafbac6fa897405b11
6
+ metadata.gz: d762147e7327f862f9f2a47b9833cd4a4bfac6e10585afbcb87e20aeaa5ae61332bbaaa7113f071bca2ab7fe3f25ae887a1f281e49d3b8be5e7a91b4dd444977
7
+ data.tar.gz: 36895828446be6891ff59097f204196c9d4cc9b8c02518b5a0510aac0808a3f42d1525803f5b19424b2209a13908441f2fece78f79bf59944600cf3853da0f9f
@@ -1,3 +1,3 @@
1
1
  module SoarScCore
2
- VERSION = "1.3.1"
2
+ VERSION = "1.4.0"
3
3
  end
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 in <#{SoarSc::configuration['auth_token']['mode']}> mode.",SoarSc::startup_flow_id)
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", "~>4.0.1"
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.3.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-09 00:00:00.000000000 Z
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: 4.0.1
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: 4.0.1
250
+ version: 5.0.0
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: soar_authorization
253
253
  requirement: !ruby/object:Gem::Requirement