aker 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,20 @@
1
1
  Aker History
2
2
  ============
3
3
 
4
+ 3.0.4
5
+ -----
6
+
7
+ - Added: The LDAP authority now implements `#amplify!`. (#21)
8
+
9
+ - Fixed: Documentation for `Aker::Cas::ServiceMode` referenced
10
+ incorrect parameter names.
11
+
12
+ - Verified compatibility with ActiveSupport 3.1. (ActiveSupport 3.2 seems to
13
+ work also, but is incompatible with part of the test infrastructure.) (#17)
14
+
4
15
  3.0.3
5
16
  -----
17
+
6
18
  - Added: search_domain configuration option to LDAP authority. (#15)
7
19
  This new option is mandatory; the lack of this option in prior
8
20
  versions of the authority meant that they would not work with LDAP
@@ -10,26 +22,34 @@ Aker History
10
22
 
11
23
  3.0.2
12
24
  -----
25
+
13
26
  - Added missing LICENSE file. Aker is made available under the MIT
14
27
  license. (#9)
28
+
15
29
  - Fixed: `Aker::Cas::Middleware::TicketRemover` now sets its response's
16
30
  Content-Type. `TicketRemover` also now returns a link to the cleaned URI,
17
31
  following recommendations set forth in RFC 2616. (#10)
32
+
18
33
  - Added: `Aker::User#permit?` accepts an `:affiliate_ids` option. (#11)
19
34
 
20
35
  3.0.1
21
36
  -----
37
+
22
38
  - Fixed: with AS3, using `active_support/core_ext` requires the i18n
23
39
  gem, so add a dependency on it (#5).
24
40
 
25
41
  3.0.0
26
42
  -----
43
+
27
44
  - First open-source version.
45
+
28
46
  - Project renamed from "Bcsec" (short for Bioinformatics Core
29
47
  security) to "Aker" (ancient Egyptian god of the horizon).
48
+
30
49
  - Bcsec contained several authorities which were specific to NUBIC;
31
50
  those have been removed and purged from the git history for the
32
51
  project.
52
+
33
53
  - Added :custom_form mode (#1).
34
54
 
35
55
  Bcsec History
@@ -41,27 +61,37 @@ removed from the open source version have been removed.
41
61
 
42
62
  2.2.0
43
63
  -----
64
+
44
65
  - Introduced the concept of "configuration slices" so that extensions
45
66
  may add default configuration values. (#5875)
67
+
46
68
  - Introduced mode registration and authority aliases so that named
47
69
  modes and authorities can have arbitrary class names. (#5875)
70
+
48
71
  - Introduced the ability to configure rack middleware to be installed
49
72
  relative to bcsec (outside of modes). (#5875)
73
+
50
74
  - Bcsec now has a 30 minute session timeout. (#5156)
75
+
51
76
  - It is now possible to customize the login and logout pages when using the
52
77
  `form` mode. (#5469)
78
+
53
79
  - Added a generic LDAP authority. (#5876)
80
+
54
81
  - Send a permanent redirect after a successful CAS authentication in
55
82
  order to prevent the service ticket from showing up in the user's
56
83
  browsing history. (#2725)
84
+
57
85
  - Extract and expose the method for determining the CAS service URL
58
86
  for a particular request. (See `Bcsec::Cas::ServiceUrl`.)
87
+
59
88
  - Updated JRuby tested version to 1.6.2.
60
89
 
61
90
  2.1.0
62
91
  -----
63
92
 
64
93
  - ActiveRecord / ActiveSupport 3 compatibility. (#2804)
94
+
65
95
  - Fixed: user information is no longer saved in the session in
66
96
  non-interactive modes. (#2757)
67
97
 
@@ -79,9 +109,11 @@ removed from the open source version have been removed.
79
109
  joined using a logical OR. All the built-in authorities have been
80
110
  updated to support this; custom authorities may need to be updated
81
111
  as well. (#4027)
112
+
82
113
  - Added: `Bcsec::Authorities::Static#load!` will now load arbitrary
83
114
  `Bcsec::User` attributes from the YAML file, not just the username,
84
115
  password, and authorization information. (#4297)
116
+
85
117
  - Changed: Depend on net-ldap 0.1.1 instead of ruby-net-ldap 0.0.4.
86
118
  This new version of the net/ldap library is backwards compatible,
87
119
  interface-wise, but it trades 1.8.6- support for 1.9+ support.
@@ -109,13 +141,16 @@ removed from the open source version have been removed.
109
141
 
110
142
  - Correct MockAuthenticator-authorized users so that they reflect the
111
143
  appropriate group memberships when logging in with CAS (bug #2221)
144
+
112
145
  - Prevent nil dereference in User#in_group? when the user has no groups at all
113
146
 
114
147
  1.6.0
115
148
  -----
116
149
 
117
150
  - Fix nil-sensitivity bug in Bcsec.use_cas (#1994)
151
+
118
152
  - Remove explicit `gem` invocations from library code
153
+
119
154
  - Make minor changes to allow bcsec to run under jruby 1.4.0
120
155
 
121
156
  1.5.2
@@ -153,7 +188,9 @@ removed from the open source version have been removed.
153
188
 
154
189
  - Added Bcsec::AuthenticateOnlyAuthenticator for when you only need to
155
190
  authenticate. It responds to allow_access? and always returns true.
191
+
156
192
  - Added ability to add authenticators with may_access? method only.
193
+
157
194
  - Added rspec-rails version to use when running specs.
158
195
 
159
196
  1.2.2
@@ -173,6 +210,7 @@ removed from the open source version have been removed.
173
210
 
174
211
  - Add Bcsec::portal_set? and similar to allow querying whether certain
175
212
  config attributes are set without throwing an exception when they aren't.
213
+
176
214
  - Add adapter code in rspec_helper.rb so that rspec-rails can be used as a gem.
177
215
 
178
216
  1.1.0
@@ -191,8 +229,10 @@ removed from the open source version have been removed.
191
229
 
192
230
  - A user's security groups are cached in the current user object in the
193
231
  session.
232
+
194
233
  - In group checks are handled in memory instead of hitting the database every
195
234
  time.
235
+
196
236
  - Added dependency on RubyTree gem
197
237
 
198
238
  0.1.1
@@ -206,6 +246,7 @@ removed from the open source version have been removed.
206
246
  -----
207
247
 
208
248
  - Add CAS support
249
+
209
250
  - Add MockAuthenticator#load_credentials! to support loading test credentials
210
251
  from a file.
211
252
 
@@ -213,19 +254,24 @@ removed from the open source version have been removed.
213
254
  -----
214
255
 
215
256
  - Adapt deploy task to be multi-developer friendly
257
+
216
258
  - Add separate uninstall task to return to published version
217
259
 
218
260
  0.0.1
219
261
  -----
220
262
 
221
263
  - Fix rake tasks for deploy, local install
264
+
222
265
  - Integrate ci_reporter
266
+
223
267
  - Add rudimentary environment support in order to build in hudson
268
+
224
269
  - Made site affiliate portal foreign key explicit
225
270
 
226
271
  0.0.0
227
272
  -----
228
273
 
229
274
  - Extract non-rails-specific bcsec elements from bcsec engine.
275
+
230
276
  - Convert test/unit tests moved from bcsec plugin into rspec specs. (Shallow
231
277
  conversion only so far.)
@@ -47,7 +47,7 @@ module Aker
47
47
  ##
48
48
  # Extracts the service ticket from the request parameters.
49
49
  #
50
- # The service ticket is assumed to be a parameter named ST in either GET
50
+ # The service ticket is assumed to be a parameter named ticket in either GET
51
51
  # or POST data.
52
52
  #
53
53
  # @return [Array<String>,nil] a two-item array containing the
@@ -14,7 +14,7 @@ module Aker
14
14
  # user: cn=foo
15
15
  # password: 13635;nefvqerg35245gk
16
16
  # policy:
17
- # session_timeout_seconds: 1500
17
+ # session-timeout-seconds: 1500
18
18
  #
19
19
  # The top level keys in this file correspond to parameter groups in
20
20
  # a {Aker::Configuration}. If this file were loaded like so,
@@ -29,7 +29,7 @@ module Aker
29
29
  # ldap_parameters :server => 'ldap.example.org',
30
30
  # :user => 'cn=foo',
31
31
  # :password => '13635;nefvqerg35245gk'
32
- # policy_parameters :session_timeout_seconds => 1500
32
+ # policy_parameters %s(session-timeout-seconds) => 1500
33
33
  # }
34
34
  #
35
35
  # The `central` approach has several benefits:
@@ -325,6 +325,23 @@ module Aker::Ldap
325
325
  end
326
326
  include ::Aker::Authorities::Support::FindSoleUser
327
327
 
328
+ ##
329
+ # Merges in the authorization information in this authority for the
330
+ # given user.
331
+ #
332
+ # @param [Aker::User] user the target user
333
+ #
334
+ # @return [Aker::User] the input user, modified
335
+ def amplify!(user)
336
+ base = self.find_user(user.username)
337
+ return user unless base
338
+
339
+ user.extend UserExt
340
+ user.ldap_attributes = base.ldap_attributes
341
+
342
+ user.merge!(base)
343
+ end
344
+
328
345
  protected
329
346
 
330
347
  def create_user(ldap_entry)
@@ -7,7 +7,7 @@ module Aker::Rack
7
7
  # particular action.
8
8
  #
9
9
  # An instance of this class is available in the rack environment
10
- # under the `"aker"` key.
10
+ # under the `"aker.check"` key.
11
11
  class Facade
12
12
  ##
13
13
  # The current authenticated user.
@@ -1,3 +1,3 @@
1
1
  module Aker
2
- VERSION = '3.0.3'
2
+ VERSION = '3.0.4'
3
3
  end
@@ -418,5 +418,46 @@ module Aker::Ldap
418
418
  actual.valid_credentials?(:retina_scan, 1701).should == :unsupported
419
419
  end
420
420
  end
421
+
422
+ describe "#amplify!" do
423
+ before do
424
+ @server.start
425
+ @user = Aker::User.new('wakibbe')
426
+ end
427
+
428
+ def amplified
429
+ actual.amplify!(@user)
430
+ end
431
+
432
+ it "does nothing for an unknown user" do
433
+ lambda { actual.amplify!(Aker::User.new("joe")) }.should_not raise_error
434
+ end
435
+
436
+ describe "on a blank instance" do
437
+ it "copies simple attributes" do
438
+ amplified.first_name.should == "Warren"
439
+ end
440
+
441
+ it "has a last name" do
442
+ amplified.last_name.should == "Kibbe"
443
+ end
444
+
445
+ it "has a title" do
446
+ amplified.title.should == "Research Associate Professor"
447
+ end
448
+
449
+ it "has a business phone" do
450
+ amplified.business_phone.should == "+1 312 555 3229"
451
+ end
452
+
453
+ it 'mixes in UserExt' do
454
+ amplified.should respond_to(:ldap_attributes)
455
+ end
456
+
457
+ it 'has the original ldap attributes' do
458
+ amplified.ldap_attributes[:givenname].should == ['Warren']
459
+ end
460
+ end
461
+ end
421
462
  end
422
463
  end
@@ -32,23 +32,33 @@ RSpec.configure do |config|
32
32
  end
33
33
  end
34
34
 
35
+ # TODO: uses of this should probably be replaced with something that
36
+ # finds a random open port instead
35
37
  def port_offset
36
38
  base = case ENV['CI_RUBY']
39
+ when nil
40
+ 0
37
41
  when /jruby/
38
42
  17
39
43
  when /1.9/
40
- 26
44
+ 13
41
45
  when /1.8/
42
46
  31
43
47
  else
44
- 0
48
+ fail "Unexpected CI_RUBY value: #{ENV['CI_RUBY'].inspect}"
45
49
  end
46
50
  case ENV["ACTIVESUPPORT_VERSION"]
51
+ when nil
52
+ base * 1
53
+ when /3.2/
54
+ base * 23
55
+ when /3.1/
56
+ base * 19
47
57
  when /3.0/
48
58
  base * 5
49
59
  when /2.3/
50
60
  base * 7
51
61
  else
52
- base * 1
62
+ fail "Unsupported ActiveSupport version #{ENV['ACTIVESUPPORT_VERSION'].inspect}"
53
63
  end
54
64
  end
metadata CHANGED
@@ -1,118 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
4
  prerelease:
6
- segments:
7
- - 3
8
- - 0
9
- - 3
10
- version: 3.0.3
5
+ version: 3.0.4
11
6
  platform: ruby
12
7
  authors:
13
- - Rhett Sutphin
14
- - David Yip
15
- - William Dix
8
+ - Rhett Sutphin
9
+ - David Yip
10
+ - William Dix
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
14
 
20
- date: 2011-10-31 00:00:00 Z
15
+ date: 2012-09-06 00:00:00 Z
21
16
  dependencies:
22
- - !ruby/object:Gem::Dependency
23
- name: rubytree
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 3
31
- segments:
32
- - 0
33
- - 7
34
- - 0
35
- version: 0.7.0
36
- type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: activesupport
40
- prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 2
49
- - 3
50
- - 0
51
- version: 2.3.0
52
- type: :runtime
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: i18n
56
- prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ~>
61
- - !ruby/object:Gem::Version
62
- hash: 3
63
- segments:
64
- - 0
65
- - 4
66
- version: "0.4"
67
- type: :runtime
68
- version_requirements: *id003
69
- - !ruby/object:Gem::Dependency
70
- name: net-ldap
71
- prerelease: false
72
- requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- hash: 25
78
- segments:
79
- - 0
80
- - 1
81
- - 1
82
- version: 0.1.1
83
- type: :runtime
84
- version_requirements: *id004
85
- - !ruby/object:Gem::Dependency
86
- name: castanet
87
- prerelease: false
88
- requirement: &id005 !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- hash: 23
94
- segments:
95
- - 1
96
- - 0
97
- - 0
98
- version: 1.0.0
99
- type: :runtime
100
- version_requirements: *id005
101
- - !ruby/object:Gem::Dependency
102
- name: warden
103
- prerelease: false
104
- requirement: &id006 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ~>
108
- - !ruby/object:Gem::Version
109
- hash: 15
110
- segments:
111
- - 1
112
- - 0
113
- version: "1.0"
114
- type: :runtime
115
- version_requirements: *id006
17
+ - !ruby/object:Gem::Dependency
18
+ name: rubytree
19
+ version_requirements: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: 0.7.0
25
+ requirement: *id001
26
+ prerelease: false
27
+ type: :runtime
28
+ - !ruby/object:Gem::Dependency
29
+ name: activesupport
30
+ version_requirements: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: 2.3.0
36
+ requirement: *id002
37
+ prerelease: false
38
+ type: :runtime
39
+ - !ruby/object:Gem::Dependency
40
+ name: i18n
41
+ version_requirements: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: "0.4"
47
+ requirement: *id003
48
+ prerelease: false
49
+ type: :runtime
50
+ - !ruby/object:Gem::Dependency
51
+ name: net-ldap
52
+ version_requirements: &id004 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ version: 0.1.1
58
+ requirement: *id004
59
+ prerelease: false
60
+ type: :runtime
61
+ - !ruby/object:Gem::Dependency
62
+ name: castanet
63
+ version_requirements: &id005 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.0
69
+ requirement: *id005
70
+ prerelease: false
71
+ type: :runtime
72
+ - !ruby/object:Gem::Dependency
73
+ name: warden
74
+ version_requirements: &id006 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: "1.0"
80
+ requirement: *id006
81
+ prerelease: false
82
+ type: :runtime
116
83
  description:
117
84
  email: r-sutphin@northwestern.edu
118
85
  executables: []
@@ -122,123 +89,123 @@ extensions: []
122
89
  extra_rdoc_files: []
123
90
 
124
91
  files:
125
- - CHANGELOG.md
126
- - README.md
127
- - assets/aker/form/login.css
128
- - assets/aker/form/login.html.erb
129
- - lib/aker/authorities/automatic_access.rb
130
- - lib/aker/authorities/composite.rb
131
- - lib/aker/authorities/static.rb
132
- - lib/aker/authorities/support/find_sole_user.rb
133
- - lib/aker/authorities/support.rb
134
- - lib/aker/authorities.rb
135
- - lib/aker/cas/authority.rb
136
- - lib/aker/cas/configuration_helper.rb
137
- - lib/aker/cas/middleware/logout_responder.rb
138
- - lib/aker/cas/middleware/ticket_remover.rb
139
- - lib/aker/cas/middleware.rb
140
- - lib/aker/cas/proxy_mode.rb
141
- - lib/aker/cas/rack_proxy_callback.rb
142
- - lib/aker/cas/service_mode.rb
143
- - lib/aker/cas/service_url.rb
144
- - lib/aker/cas/user_ext.rb
145
- - lib/aker/cas.rb
146
- - lib/aker/central_parameters.rb
147
- - lib/aker/configuration.rb
148
- - lib/aker/deprecation.rb
149
- - lib/aker/form/custom_views_mode.rb
150
- - lib/aker/form/login_form_asset_provider.rb
151
- - lib/aker/form/middleware/custom_view_login_responder.rb
152
- - lib/aker/form/middleware/login_renderer.rb
153
- - lib/aker/form/middleware/login_responder.rb
154
- - lib/aker/form/middleware/logout_responder.rb
155
- - lib/aker/form/middleware.rb
156
- - lib/aker/form/mode.rb
157
- - lib/aker/form.rb
158
- - lib/aker/group.rb
159
- - lib/aker/group_membership.rb
160
- - lib/aker/ldap/authority.rb
161
- - lib/aker/ldap/user_ext.rb
162
- - lib/aker/ldap.rb
163
- - lib/aker/modes/base.rb
164
- - lib/aker/modes/http_basic.rb
165
- - lib/aker/modes/support/attempted_path.rb
166
- - lib/aker/modes/support/rfc_2617.rb
167
- - lib/aker/modes/support.rb
168
- - lib/aker/modes.rb
169
- - lib/aker/rack/authenticate.rb
170
- - lib/aker/rack/configuration_helper.rb
171
- - lib/aker/rack/default_logout_responder.rb
172
- - lib/aker/rack/environment_helper.rb
173
- - lib/aker/rack/facade.rb
174
- - lib/aker/rack/failure.rb
175
- - lib/aker/rack/logout.rb
176
- - lib/aker/rack/request_ext.rb
177
- - lib/aker/rack/session_timer.rb
178
- - lib/aker/rack/setup.rb
179
- - lib/aker/rack.rb
180
- - lib/aker/test/helpers.rb
181
- - lib/aker/test.rb
182
- - lib/aker/user.rb
183
- - lib/aker/version.rb
184
- - lib/aker.rb
185
- - spec/aker/aker-sample.yml
186
- - spec/aker/authorities/automatic_access_spec.rb
187
- - spec/aker/authorities/composite_spec.rb
188
- - spec/aker/authorities/nu-schema.jar
189
- - spec/aker/authorities/static_spec.rb
190
- - spec/aker/authorities/support/find_sole_user_spec.rb
191
- - spec/aker/authorities_spec.rb
192
- - spec/aker/cas/authority_spec.rb
193
- - spec/aker/cas/configuration_helper_spec.rb
194
- - spec/aker/cas/middleware/logout_responder_spec.rb
195
- - spec/aker/cas/middleware/ticket_remover_spec.rb
196
- - spec/aker/cas/proxy_mode_spec.rb
197
- - spec/aker/cas/rack_proxy_callback_spec.rb
198
- - spec/aker/cas/service_mode_spec.rb
199
- - spec/aker/cas/service_url_spec.rb
200
- - spec/aker/cas/user_ext_spec.rb
201
- - spec/aker/cas_spec.rb
202
- - spec/aker/central_parameters_spec.rb
203
- - spec/aker/configuration_spec.rb
204
- - spec/aker/deprecation_spec.rb
205
- - spec/aker/form/a_form_mode.rb
206
- - spec/aker/form/custom_views_mode_spec.rb
207
- - spec/aker/form/login_form_asset_provider_spec.rb
208
- - spec/aker/form/middleware/a_form_login_responder.rb
209
- - spec/aker/form/middleware/custom_view_login_responder_spec.rb
210
- - spec/aker/form/middleware/login_renderer_spec.rb
211
- - spec/aker/form/middleware/login_responder_spec.rb
212
- - spec/aker/form/middleware/logout_responder_spec.rb
213
- - spec/aker/form/mode_spec.rb
214
- - spec/aker/form_spec.rb
215
- - spec/aker/group_membership_spec.rb
216
- - spec/aker/group_spec.rb
217
- - spec/aker/ldap/authority_spec.rb
218
- - spec/aker/ldap/ldap-users.ldif
219
- - spec/aker/ldap_spec.rb
220
- - spec/aker/modes/a_aker_mode.rb
221
- - spec/aker/modes/http_basic_spec.rb
222
- - spec/aker/modes/support/attempted_path_spec.rb
223
- - spec/aker/modes_spec.rb
224
- - spec/aker/rack/authenticate_spec.rb
225
- - spec/aker/rack/default_logout_responder_spec.rb
226
- - spec/aker/rack/facade_spec.rb
227
- - spec/aker/rack/failure_spec.rb
228
- - spec/aker/rack/logout_spec.rb
229
- - spec/aker/rack/request_ext_spec.rb
230
- - spec/aker/rack/session_timer_spec.rb
231
- - spec/aker/rack/setup_spec.rb
232
- - spec/aker/rack_spec.rb
233
- - spec/aker/test/helpers_spec.rb
234
- - spec/aker/user_spec.rb
235
- - spec/aker_spec.rb
236
- - spec/deprecation_helper.rb
237
- - spec/java_helper.rb
238
- - spec/logger_helper.rb
239
- - spec/matchers.rb
240
- - spec/mock_builder.rb
241
- - spec/spec_helper.rb
92
+ - CHANGELOG.md
93
+ - README.md
94
+ - assets/aker/form/login.css
95
+ - assets/aker/form/login.html.erb
96
+ - lib/aker.rb
97
+ - lib/aker/authorities.rb
98
+ - lib/aker/cas.rb
99
+ - lib/aker/central_parameters.rb
100
+ - lib/aker/configuration.rb
101
+ - lib/aker/deprecation.rb
102
+ - lib/aker/form.rb
103
+ - lib/aker/group.rb
104
+ - lib/aker/group_membership.rb
105
+ - lib/aker/ldap.rb
106
+ - lib/aker/modes.rb
107
+ - lib/aker/rack.rb
108
+ - lib/aker/test.rb
109
+ - lib/aker/user.rb
110
+ - lib/aker/version.rb
111
+ - lib/aker/authorities/automatic_access.rb
112
+ - lib/aker/authorities/composite.rb
113
+ - lib/aker/authorities/static.rb
114
+ - lib/aker/authorities/support.rb
115
+ - lib/aker/authorities/support/find_sole_user.rb
116
+ - lib/aker/cas/authority.rb
117
+ - lib/aker/cas/configuration_helper.rb
118
+ - lib/aker/cas/middleware.rb
119
+ - lib/aker/cas/proxy_mode.rb
120
+ - lib/aker/cas/rack_proxy_callback.rb
121
+ - lib/aker/cas/service_mode.rb
122
+ - lib/aker/cas/service_url.rb
123
+ - lib/aker/cas/user_ext.rb
124
+ - lib/aker/cas/middleware/logout_responder.rb
125
+ - lib/aker/cas/middleware/ticket_remover.rb
126
+ - lib/aker/form/custom_views_mode.rb
127
+ - lib/aker/form/login_form_asset_provider.rb
128
+ - lib/aker/form/middleware.rb
129
+ - lib/aker/form/mode.rb
130
+ - lib/aker/form/middleware/custom_view_login_responder.rb
131
+ - lib/aker/form/middleware/login_renderer.rb
132
+ - lib/aker/form/middleware/login_responder.rb
133
+ - lib/aker/form/middleware/logout_responder.rb
134
+ - lib/aker/ldap/authority.rb
135
+ - lib/aker/ldap/user_ext.rb
136
+ - lib/aker/modes/base.rb
137
+ - lib/aker/modes/http_basic.rb
138
+ - lib/aker/modes/support.rb
139
+ - lib/aker/modes/support/attempted_path.rb
140
+ - lib/aker/modes/support/rfc_2617.rb
141
+ - lib/aker/rack/authenticate.rb
142
+ - lib/aker/rack/configuration_helper.rb
143
+ - lib/aker/rack/default_logout_responder.rb
144
+ - lib/aker/rack/environment_helper.rb
145
+ - lib/aker/rack/facade.rb
146
+ - lib/aker/rack/failure.rb
147
+ - lib/aker/rack/logout.rb
148
+ - lib/aker/rack/request_ext.rb
149
+ - lib/aker/rack/session_timer.rb
150
+ - lib/aker/rack/setup.rb
151
+ - lib/aker/test/helpers.rb
152
+ - spec/aker_spec.rb
153
+ - spec/deprecation_helper.rb
154
+ - spec/java_helper.rb
155
+ - spec/logger_helper.rb
156
+ - spec/matchers.rb
157
+ - spec/mock_builder.rb
158
+ - spec/spec_helper.rb
159
+ - spec/aker/aker-sample.yml
160
+ - spec/aker/authorities_spec.rb
161
+ - spec/aker/cas_spec.rb
162
+ - spec/aker/central_parameters_spec.rb
163
+ - spec/aker/configuration_spec.rb
164
+ - spec/aker/deprecation_spec.rb
165
+ - spec/aker/form_spec.rb
166
+ - spec/aker/group_membership_spec.rb
167
+ - spec/aker/group_spec.rb
168
+ - spec/aker/ldap_spec.rb
169
+ - spec/aker/modes_spec.rb
170
+ - spec/aker/rack_spec.rb
171
+ - spec/aker/user_spec.rb
172
+ - spec/aker/authorities/automatic_access_spec.rb
173
+ - spec/aker/authorities/composite_spec.rb
174
+ - spec/aker/authorities/nu-schema.jar
175
+ - spec/aker/authorities/static_spec.rb
176
+ - spec/aker/authorities/support/find_sole_user_spec.rb
177
+ - spec/aker/cas/authority_spec.rb
178
+ - spec/aker/cas/configuration_helper_spec.rb
179
+ - spec/aker/cas/proxy_mode_spec.rb
180
+ - spec/aker/cas/rack_proxy_callback_spec.rb
181
+ - spec/aker/cas/service_mode_spec.rb
182
+ - spec/aker/cas/service_url_spec.rb
183
+ - spec/aker/cas/user_ext_spec.rb
184
+ - spec/aker/cas/middleware/logout_responder_spec.rb
185
+ - spec/aker/cas/middleware/ticket_remover_spec.rb
186
+ - spec/aker/form/a_form_mode.rb
187
+ - spec/aker/form/custom_views_mode_spec.rb
188
+ - spec/aker/form/login_form_asset_provider_spec.rb
189
+ - spec/aker/form/mode_spec.rb
190
+ - spec/aker/form/middleware/a_form_login_responder.rb
191
+ - spec/aker/form/middleware/custom_view_login_responder_spec.rb
192
+ - spec/aker/form/middleware/login_renderer_spec.rb
193
+ - spec/aker/form/middleware/login_responder_spec.rb
194
+ - spec/aker/form/middleware/logout_responder_spec.rb
195
+ - spec/aker/ldap/authority_spec.rb
196
+ - spec/aker/ldap/ldap-users.ldif
197
+ - spec/aker/modes/a_aker_mode.rb
198
+ - spec/aker/modes/http_basic_spec.rb
199
+ - spec/aker/modes/support/attempted_path_spec.rb
200
+ - spec/aker/rack/authenticate_spec.rb
201
+ - spec/aker/rack/default_logout_responder_spec.rb
202
+ - spec/aker/rack/facade_spec.rb
203
+ - spec/aker/rack/failure_spec.rb
204
+ - spec/aker/rack/logout_spec.rb
205
+ - spec/aker/rack/request_ext_spec.rb
206
+ - spec/aker/rack/session_timer_spec.rb
207
+ - spec/aker/rack/setup_spec.rb
208
+ - spec/aker/test/helpers_spec.rb
242
209
  homepage: https://github.com/NUBIC/aker
243
210
  licenses: []
244
211
 
@@ -246,29 +213,29 @@ post_install_message:
246
213
  rdoc_options: []
247
214
 
248
215
  require_paths:
249
- - lib
216
+ - lib
250
217
  required_ruby_version: !ruby/object:Gem::Requirement
251
218
  none: false
252
219
  requirements:
253
- - - ">="
254
- - !ruby/object:Gem::Version
255
- hash: 3
256
- segments:
257
- - 0
258
- version: "0"
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ hash: 2
223
+ segments:
224
+ - 0
225
+ version: "0"
259
226
  required_rubygems_version: !ruby/object:Gem::Requirement
260
227
  none: false
261
228
  requirements:
262
- - - ">="
263
- - !ruby/object:Gem::Version
264
- hash: 3
265
- segments:
266
- - 0
267
- version: "0"
229
+ - - ">="
230
+ - !ruby/object:Gem::Version
231
+ hash: 2
232
+ segments:
233
+ - 0
234
+ version: "0"
268
235
  requirements: []
269
236
 
270
237
  rubyforge_project:
271
- rubygems_version: 1.8.10
238
+ rubygems_version: 1.8.24
272
239
  signing_key:
273
240
  specification_version: 3
274
241
  summary: A flexible authentication and authorization framework for Rack applications.