bmedia-casserver 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. data/CHANGELOG +325 -0
  2. data/Gemfile +3 -0
  3. data/LICENSE +26 -0
  4. data/README.md +19 -0
  5. data/Rakefile +2 -0
  6. data/bin/rubycas-server +30 -0
  7. data/config/config.example.yml +592 -0
  8. data/config/unicorn.rb +88 -0
  9. data/config.ru +17 -0
  10. data/db/migrate/001_create_initial_structure.rb +47 -0
  11. data/lib/casserver/authenticators/active_directory_ldap.rb +19 -0
  12. data/lib/casserver/authenticators/active_resource.rb +127 -0
  13. data/lib/casserver/authenticators/authlogic_crypto_providers/aes256.rb +43 -0
  14. data/lib/casserver/authenticators/authlogic_crypto_providers/bcrypt.rb +92 -0
  15. data/lib/casserver/authenticators/authlogic_crypto_providers/md5.rb +34 -0
  16. data/lib/casserver/authenticators/authlogic_crypto_providers/sha1.rb +59 -0
  17. data/lib/casserver/authenticators/authlogic_crypto_providers/sha512.rb +50 -0
  18. data/lib/casserver/authenticators/base.rb +67 -0
  19. data/lib/casserver/authenticators/client_certificate.rb +47 -0
  20. data/lib/casserver/authenticators/google.rb +58 -0
  21. data/lib/casserver/authenticators/ldap.rb +147 -0
  22. data/lib/casserver/authenticators/ntlm.rb +88 -0
  23. data/lib/casserver/authenticators/open_id.rb +22 -0
  24. data/lib/casserver/authenticators/sql.rb +133 -0
  25. data/lib/casserver/authenticators/sql_authlogic.rb +93 -0
  26. data/lib/casserver/authenticators/sql_encrypted.rb +75 -0
  27. data/lib/casserver/authenticators/sql_md5.rb +19 -0
  28. data/lib/casserver/authenticators/sql_rest_auth.rb +82 -0
  29. data/lib/casserver/authenticators/test.rb +22 -0
  30. data/lib/casserver/cas.rb +323 -0
  31. data/lib/casserver/localization.rb +13 -0
  32. data/lib/casserver/model.rb +270 -0
  33. data/lib/casserver/server.rb +758 -0
  34. data/lib/casserver/utils.rb +32 -0
  35. data/lib/casserver/views/_login_form.erb +42 -0
  36. data/lib/casserver/views/layout.erb +18 -0
  37. data/lib/casserver/views/login.erb +30 -0
  38. data/lib/casserver/views/proxy.builder +12 -0
  39. data/lib/casserver/views/proxy_validate.builder +25 -0
  40. data/lib/casserver/views/service_validate.builder +18 -0
  41. data/lib/casserver/views/validate.erb +2 -0
  42. data/lib/casserver.rb +11 -0
  43. data/locales/de.yml +27 -0
  44. data/locales/en.yml +26 -0
  45. data/locales/es.yml +26 -0
  46. data/locales/es_ar.yml +26 -0
  47. data/locales/fr.yml +26 -0
  48. data/locales/jp.yml +26 -0
  49. data/locales/pl.yml +26 -0
  50. data/locales/pt.yml +26 -0
  51. data/locales/ru.yml +26 -0
  52. data/locales/zh.yml +26 -0
  53. data/locales/zh_tw.yml +26 -0
  54. data/public/themes/cas.css +126 -0
  55. data/public/themes/notice.png +0 -0
  56. data/public/themes/ok.png +0 -0
  57. data/public/themes/simple/bg.png +0 -0
  58. data/public/themes/simple/favicon.png +0 -0
  59. data/public/themes/simple/login_box_bg.png +0 -0
  60. data/public/themes/simple/logo.png +0 -0
  61. data/public/themes/simple/theme.css +28 -0
  62. data/public/themes/urbacon/bg.png +0 -0
  63. data/public/themes/urbacon/login_box_bg.png +0 -0
  64. data/public/themes/urbacon/logo.png +0 -0
  65. data/public/themes/urbacon/theme.css +33 -0
  66. data/public/themes/warning.png +0 -0
  67. data/resources/init.d.sh +58 -0
  68. data/setup.rb +1585 -0
  69. data/spec/alt_config.yml +50 -0
  70. data/spec/authenticators/active_resource_spec.rb +109 -0
  71. data/spec/authenticators/ldap_spec.rb +53 -0
  72. data/spec/casserver_spec.rb +156 -0
  73. data/spec/default_config.yml +50 -0
  74. data/spec/model_spec.rb +42 -0
  75. data/spec/spec.opts +4 -0
  76. data/spec/spec_helper.rb +89 -0
  77. data/spec/utils_spec.rb +53 -0
  78. data/tasks/bundler.rake +4 -0
  79. data/tasks/db/migrate.rake +12 -0
  80. data/tasks/spec.rake +10 -0
  81. metadata +308 -0
metadata ADDED
@@ -0,0 +1,308 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bmedia-casserver
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Matt Zukowski
9
+ - Patrick Peak
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-05-04 00:00:00.000000000Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activerecord
17
+ requirement: &70238269046880 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 2.3.12
23
+ - - <
24
+ - !ruby/object:Gem::Version
25
+ version: '3.1'
26
+ type: :runtime
27
+ prerelease: false
28
+ version_requirements: *70238269046880
29
+ - !ruby/object:Gem::Dependency
30
+ name: activesupport
31
+ requirement: &70238269046100 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 2.3.12
37
+ - - <
38
+ - !ruby/object:Gem::Version
39
+ version: '3.1'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: *70238269046100
43
+ - !ruby/object:Gem::Dependency
44
+ name: sinatra
45
+ requirement: &70238269045340 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ~>
49
+ - !ruby/object:Gem::Version
50
+ version: '1.0'
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: *70238269045340
54
+ - !ruby/object:Gem::Dependency
55
+ name: sinatra-r18n
56
+ requirement: &70238269044920 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: *70238269044920
65
+ - !ruby/object:Gem::Dependency
66
+ name: crypt-isaac
67
+ requirement: &70238269044360 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ version: 0.9.1
73
+ type: :runtime
74
+ prerelease: false
75
+ version_requirements: *70238269044360
76
+ - !ruby/object:Gem::Dependency
77
+ name: rack-test
78
+ requirement: &70238269043940 !ruby/object:Gem::Requirement
79
+ none: false
80
+ requirements:
81
+ - - ! '>='
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ type: :development
85
+ prerelease: false
86
+ version_requirements: *70238269043940
87
+ - !ruby/object:Gem::Dependency
88
+ name: capybara
89
+ requirement: &70238269043360 !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - =
93
+ - !ruby/object:Gem::Version
94
+ version: 1.1.2
95
+ type: :development
96
+ prerelease: false
97
+ version_requirements: *70238269043360
98
+ - !ruby/object:Gem::Dependency
99
+ name: rspec
100
+ requirement: &70238269042940 !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: *70238269042940
109
+ - !ruby/object:Gem::Dependency
110
+ name: rspec-core
111
+ requirement: &70238269042460 !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: *70238269042460
120
+ - !ruby/object:Gem::Dependency
121
+ name: rake
122
+ requirement: &70238269041960 !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - =
126
+ - !ruby/object:Gem::Version
127
+ version: 0.8.7
128
+ type: :development
129
+ prerelease: false
130
+ version_requirements: *70238269041960
131
+ - !ruby/object:Gem::Dependency
132
+ name: sqlite3
133
+ requirement: &70238269041460 !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: 1.3.1
139
+ type: :development
140
+ prerelease: false
141
+ version_requirements: *70238269041460
142
+ - !ruby/object:Gem::Dependency
143
+ name: net-ldap
144
+ requirement: &70238269040980 !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: 0.1.1
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: *70238269040980
153
+ - !ruby/object:Gem::Dependency
154
+ name: activeresource
155
+ requirement: &70238269040260 !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ! '>='
159
+ - !ruby/object:Gem::Version
160
+ version: 2.3.12
161
+ - - <
162
+ - !ruby/object:Gem::Version
163
+ version: '3.1'
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: *70238269040260
167
+ description: Provides single sign-on authentication for web applications using the
168
+ CAS protocol.
169
+ email:
170
+ - matt@zukowski.ca
171
+ - ppeak@browsermedia.com
172
+ executables:
173
+ - rubycas-server
174
+ extensions: []
175
+ extra_rdoc_files:
176
+ - CHANGELOG
177
+ - LICENSE
178
+ - README.md
179
+ files:
180
+ - CHANGELOG
181
+ - LICENSE
182
+ - README.md
183
+ - Rakefile
184
+ - setup.rb
185
+ - bin/rubycas-server
186
+ - db/migrate/001_create_initial_structure.rb
187
+ - lib/casserver/authenticators/active_directory_ldap.rb
188
+ - lib/casserver/authenticators/active_resource.rb
189
+ - lib/casserver/authenticators/authlogic_crypto_providers/aes256.rb
190
+ - lib/casserver/authenticators/authlogic_crypto_providers/bcrypt.rb
191
+ - lib/casserver/authenticators/authlogic_crypto_providers/md5.rb
192
+ - lib/casserver/authenticators/authlogic_crypto_providers/sha1.rb
193
+ - lib/casserver/authenticators/authlogic_crypto_providers/sha512.rb
194
+ - lib/casserver/authenticators/base.rb
195
+ - lib/casserver/authenticators/client_certificate.rb
196
+ - lib/casserver/authenticators/google.rb
197
+ - lib/casserver/authenticators/ldap.rb
198
+ - lib/casserver/authenticators/ntlm.rb
199
+ - lib/casserver/authenticators/open_id.rb
200
+ - lib/casserver/authenticators/sql.rb
201
+ - lib/casserver/authenticators/sql_authlogic.rb
202
+ - lib/casserver/authenticators/sql_encrypted.rb
203
+ - lib/casserver/authenticators/sql_md5.rb
204
+ - lib/casserver/authenticators/sql_rest_auth.rb
205
+ - lib/casserver/authenticators/test.rb
206
+ - lib/casserver/cas.rb
207
+ - lib/casserver/localization.rb
208
+ - lib/casserver/model.rb
209
+ - lib/casserver/server.rb
210
+ - lib/casserver/utils.rb
211
+ - lib/casserver.rb
212
+ - public/themes/cas.css
213
+ - public/themes/notice.png
214
+ - public/themes/ok.png
215
+ - public/themes/simple/bg.png
216
+ - public/themes/simple/favicon.png
217
+ - public/themes/simple/login_box_bg.png
218
+ - public/themes/simple/logo.png
219
+ - public/themes/simple/theme.css
220
+ - public/themes/urbacon/bg.png
221
+ - public/themes/urbacon/login_box_bg.png
222
+ - public/themes/urbacon/logo.png
223
+ - public/themes/urbacon/theme.css
224
+ - public/themes/warning.png
225
+ - locales/de.yml
226
+ - locales/en.yml
227
+ - locales/es.yml
228
+ - locales/es_ar.yml
229
+ - locales/fr.yml
230
+ - locales/jp.yml
231
+ - locales/pl.yml
232
+ - locales/pt.yml
233
+ - locales/ru.yml
234
+ - locales/zh.yml
235
+ - locales/zh_tw.yml
236
+ - resources/init.d.sh
237
+ - config.ru
238
+ - config/config.example.yml
239
+ - config/unicorn.rb
240
+ - tasks/bundler.rake
241
+ - tasks/db/migrate.rake
242
+ - tasks/spec.rake
243
+ - lib/casserver/views/_login_form.erb
244
+ - lib/casserver/views/layout.erb
245
+ - lib/casserver/views/login.erb
246
+ - lib/casserver/views/validate.erb
247
+ - lib/casserver/views/proxy.builder
248
+ - lib/casserver/views/proxy_validate.builder
249
+ - lib/casserver/views/service_validate.builder
250
+ - Gemfile
251
+ - spec/alt_config.yml
252
+ - spec/authenticators/active_resource_spec.rb
253
+ - spec/authenticators/ldap_spec.rb
254
+ - spec/casserver_spec.rb
255
+ - spec/default_config.yml
256
+ - spec/model_spec.rb
257
+ - spec/spec.opts
258
+ - spec/spec_helper.rb
259
+ - spec/utils_spec.rb
260
+ homepage: https://github.com/browsermedia/rubycas-server
261
+ licenses: []
262
+ post_install_message: ! '
263
+
264
+ For more information on RubyCAS-Server, see http://code.google.com/p/rubycas-server
265
+
266
+
267
+ '
268
+ rdoc_options:
269
+ - --quiet
270
+ - --title
271
+ - RubyCAS-Server Documentation
272
+ - --opname
273
+ - index.html
274
+ - --line-numbers
275
+ - --main
276
+ - README.md
277
+ - --inline-source
278
+ require_paths:
279
+ - lib
280
+ required_ruby_version: !ruby/object:Gem::Requirement
281
+ none: false
282
+ requirements:
283
+ - - ! '>='
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ required_rubygems_version: !ruby/object:Gem::Requirement
287
+ none: false
288
+ requirements:
289
+ - - ! '>='
290
+ - !ruby/object:Gem::Version
291
+ version: '0'
292
+ requirements: []
293
+ rubyforge_project:
294
+ rubygems_version: 1.8.15
295
+ signing_key:
296
+ specification_version: 3
297
+ summary: Provides single sign-on authentication for web applications using the CAS
298
+ protocol.
299
+ test_files:
300
+ - spec/alt_config.yml
301
+ - spec/authenticators/active_resource_spec.rb
302
+ - spec/authenticators/ldap_spec.rb
303
+ - spec/casserver_spec.rb
304
+ - spec/default_config.yml
305
+ - spec/model_spec.rb
306
+ - spec/spec.opts
307
+ - spec/spec_helper.rb
308
+ - spec/utils_spec.rb