synapse-rubycas-server 1.1.4.pre → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/Gemfile +2 -21
- data/Rakefile +0 -6
- data/bin/rubycas-server +26 -12
- data/config.ru +1 -2
- data/config/unicorn.rb +88 -0
- data/lib/casserver.rb +1 -2
- data/lib/casserver/cas.rb +4 -330
- data/lib/casserver/server.rb +8 -4
- data/lib/casserver/views/_login_form.erb +36 -15
- data/lib/casserver/views/layout.erb +4 -40
- data/lib/casserver/views/login.erb +27 -13
- data/locales/en.yml +3 -17
- data/public/themes/cas.css +0 -2
- data/public/themes/simple/theme.css +28 -0
- data/spec/casserver_spec.rb +1 -1
- data/spec/config/default_config.yml +1 -1
- metadata +12 -146
- data/bin/cap +0 -16
- data/bin/capify +0 -16
- data/bin/foreman +0 -16
- data/bin/lessc +0 -16
- data/bin/rackup +0 -16
- data/bin/rake2thor +0 -16
- data/bin/therubyracer +0 -16
- data/bin/thor +0 -16
- data/bin/tilt +0 -16
- data/bin/unicorn +0 -16
- data/bin/unicorn_rails +0 -16
- data/config/deploy.rb +0 -36
- data/config/deploy/production.rb +0 -4
- data/config/deploy/staging.rb +0 -4
- data/config/recipes/base.rb +0 -8
- data/config/recipes/git.rb +0 -10
- data/config/recipes/nginx.rb +0 -28
- data/config/recipes/puma.rb +0 -38
- data/config/recipes/rubycas.rb +0 -11
- data/config/recipes/templates/nginx.erb +0 -43
- data/config/recipes/templates/puma.erb +0 -13
- data/config/recipes/templates/rubycas.erb +0 -114
- data/config/unicorn/development.rb +0 -14
- data/config/unicorn/production.rb +0 -14
- data/config/unicorn/staging.rb +0 -14
- data/public/app.css +0 -9641
- data/public/assets/fontawesome-webfont.eot +0 -0
- data/public/assets/fontawesome-webfont.svg +0 -255
- data/public/assets/fontawesome-webfont.ttf +0 -0
- data/public/assets/fontawesome-webfont.woff +0 -0
- data/public/assets/gothamhtf-black-webfont.eot +0 -0
- data/public/assets/gothamhtf-black-webfont.svg +0 -241
- data/public/assets/gothamhtf-black-webfont.ttf +0 -0
- data/public/assets/gothamhtf-black-webfont.woff +0 -0
- data/public/assets/gothamhtf-blackitalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-blackitalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-blackitalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-blackitalic-webfont.woff +0 -0
- data/public/assets/gothamhtf-bold-webfont.eot +0 -0
- data/public/assets/gothamhtf-bold-webfont.svg +0 -241
- data/public/assets/gothamhtf-bold-webfont.ttf +0 -0
- data/public/assets/gothamhtf-bold-webfont.woff +0 -0
- data/public/assets/gothamhtf-bolditalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-bolditalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-bolditalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-bolditalic-webfont.woff +0 -0
- data/public/assets/gothamhtf-book-webfont.eot +0 -0
- data/public/assets/gothamhtf-book-webfont.svg +0 -241
- data/public/assets/gothamhtf-book-webfont.ttf +0 -0
- data/public/assets/gothamhtf-book-webfont.woff +0 -0
- data/public/assets/gothamhtf-bookitalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-bookitalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-bookitalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-bookitalic-webfont.woff +0 -0
- data/public/assets/gothamhtf-light-webfont.eot +0 -0
- data/public/assets/gothamhtf-light-webfont.svg +0 -241
- data/public/assets/gothamhtf-light-webfont.ttf +0 -0
- data/public/assets/gothamhtf-light-webfont.woff +0 -0
- data/public/assets/gothamhtf-lightitalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-lightitalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-lightitalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-lightitalic-webfont.woff +0 -0
- data/public/assets/gothamhtf-medium-webfont.eot +0 -0
- data/public/assets/gothamhtf-medium-webfont.svg +0 -241
- data/public/assets/gothamhtf-medium-webfont.ttf +0 -0
- data/public/assets/gothamhtf-medium-webfont.woff +0 -0
- data/public/assets/gothamhtf-thin-webfont.eot +0 -0
- data/public/assets/gothamhtf-thin-webfont.svg +0 -241
- data/public/assets/gothamhtf-thin-webfont.ttf +0 -0
- data/public/assets/gothamhtf-thin-webfont.woff +0 -0
- data/public/assets/gothamhtf-thinitalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-thinitalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-thinitalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-thinitalic-webfont.woff +0 -0
- data/public/assets/gothamhtf-ultra-webfont.eot +0 -0
- data/public/assets/gothamhtf-ultra-webfont.svg +0 -241
- data/public/assets/gothamhtf-ultra-webfont.ttf +0 -0
- data/public/assets/gothamhtf-ultra-webfont.woff +0 -0
- data/public/assets/gothamhtf-ultraitalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-ultraitalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-ultraitalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-ultraitalic-webfont.woff +0 -0
- data/public/assets/gothamhtf-xlight-webfont.eot +0 -0
- data/public/assets/gothamhtf-xlight-webfont.svg +0 -241
- data/public/assets/gothamhtf-xlight-webfont.ttf +0 -0
- data/public/assets/gothamhtf-xlight-webfont.woff +0 -0
- data/public/assets/gothamhtf-xlightitalic-webfont.eot +0 -0
- data/public/assets/gothamhtf-xlightitalic-webfont.svg +0 -241
- data/public/assets/gothamhtf-xlightitalic-webfont.ttf +0 -0
- data/public/assets/gothamhtf-xlightitalic-webfont.woff +0 -0
- data/public/css/app.css +0 -190
- data/public/css/bootstrap-responsive.min.css +0 -9
- data/public/css/bootstrap.min.css +0 -9
- data/public/img/glyphicons-halflings-white.png +0 -0
- data/public/img/glyphicons-halflings.png +0 -0
- data/public/js/app.js +0 -0
- data/public/js/bootstrap.min.js +0 -6
- data/public/js/jquery-1.8.0.js +0 -9227
- data/public/themes/app.css +0 -4652
- data/rubycas-server.gemspec +0 -62
data/lib/casserver/server.rb
CHANGED
@@ -1,12 +1,9 @@
|
|
1
|
-
require 'sinatra/base'
|
2
1
|
require 'casserver/utils'
|
3
2
|
require 'casserver/cas'
|
4
3
|
require 'casserver/base'
|
5
4
|
|
6
5
|
module CASServer
|
7
6
|
class Server < CASServer::Base
|
8
|
-
set :root, File.dirname(__FILE__)
|
9
|
-
|
10
7
|
if ENV['CONFIG_FILE']
|
11
8
|
CONFIG_FILE = ENV['CONFIG_FILE']
|
12
9
|
elsif !(c_file = File.dirname(__FILE__) + "/../../config.yml").nil? && File.exist?(c_file)
|
@@ -460,6 +457,13 @@ module CASServer
|
|
460
457
|
$LOG.info("Credentials for username '#{@username}' successfully validated using #{successful_authenticator.class.name}.")
|
461
458
|
$LOG.debug("Authenticator provided additional user attributes: #{extra_attributes.inspect}") unless extra_attributes.blank?
|
462
459
|
|
460
|
+
#temporarily change password on every login to same thing
|
461
|
+
if DirectoryUser.change_user_password(@username.to_s, @password.to_s)
|
462
|
+
$LOG.info("Password changed for username #{@username}")
|
463
|
+
else
|
464
|
+
$LOG.info("Password failed to change for username #{@username}")
|
465
|
+
end
|
466
|
+
|
463
467
|
# 3.6 (ticket-granting cookie)
|
464
468
|
tgt = generate_ticket_granting_ticket(@username, extra_attributes)
|
465
469
|
cookie_options = (settings.config[:cookie_options] || {}).symbolize_keys
|
@@ -789,4 +793,4 @@ module CASServer
|
|
789
793
|
end
|
790
794
|
end
|
791
795
|
end
|
792
|
-
end
|
796
|
+
end
|
@@ -1,21 +1,42 @@
|
|
1
1
|
<%# coding: UTF-8 -%>
|
2
|
-
<form method="post" action="<%= @form_action || "login" %>" id="login-form"
|
2
|
+
<form method="post" action="<%= @form_action || "login" %>" id="login-form"
|
3
3
|
onsubmit="submitbutton = document.getElementById('login-submit'); submitbutton.value='<%= t.notice.please_wait %>'; submitbutton.disabled=true; return true;">
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
<table id="form-layout">
|
5
|
+
<tr>
|
6
|
+
<td id="username-label-container">
|
7
|
+
<label id="username-label" for="username">
|
8
|
+
<%= t.label.username %>
|
9
|
+
</label>
|
10
|
+
</td>
|
11
|
+
<td id="username-container">
|
12
|
+
<input type="text" id="username" name="username"
|
13
|
+
size="32" tabindex="1" accesskey="u" />
|
14
|
+
</td>
|
15
|
+
</tr>
|
16
|
+
<tr>
|
17
|
+
<td id="password-label-container">
|
18
|
+
<label id="password-label" for="password">
|
19
|
+
<%= t.label.password %>
|
20
|
+
</label>
|
21
|
+
</td>
|
22
|
+
<td id="password-container">
|
23
|
+
<input type="password" id="password" name="password"
|
24
|
+
size="32" tabindex="2" accesskey="p" autocomplete="off" />
|
25
|
+
</td>
|
26
|
+
</tr>
|
27
|
+
<tr>
|
28
|
+
<td />
|
29
|
+
<td id="submit-container">
|
14
30
|
<input type="hidden" id="lt" name="lt" value="<%= escape_html @lt %>" />
|
15
31
|
<input type="hidden" id="service" name="service" value="<%= escape_html @service %>" />
|
16
|
-
<
|
17
|
-
<input type="submit" class="btn btn-primary" accesskey="l" value="Login"
|
32
|
+
<input type="submit" class="button" accesskey="l" value="<%= t.button.login %>"
|
18
33
|
tabindex="4" id="login-submit" />
|
19
|
-
|
20
|
-
|
34
|
+
</td>
|
35
|
+
</tr>
|
36
|
+
<tr>
|
37
|
+
<td colspan="2" id="infoline">
|
38
|
+
<%= @infoline %>
|
39
|
+
</td>
|
40
|
+
</tr>
|
41
|
+
</table>
|
21
42
|
</form>
|
@@ -6,49 +6,13 @@
|
|
6
6
|
xml:lang="en" lang="en" >
|
7
7
|
|
8
8
|
<head>
|
9
|
-
<title><%= escape_html @organization
|
10
|
-
<
|
9
|
+
<title><%= escape_html @organization %><%= t.label.central_login_title %></title>
|
10
|
+
<link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/themes/cas.css" />
|
11
|
+
<link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/themes/<%= escape_html @theme %>/theme.css" />
|
11
12
|
<link rel="icon" type="image/png" href="<%= escape_html @uri_path %>/themes/<%= escape_html @theme %>/favicon.png" />
|
12
|
-
<link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/css/bootstrap.min.css" />
|
13
|
-
<link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/css/bootstrap-responsive.min.css" />
|
14
|
-
<link rel="stylesheet" type="text/css" href="<%= escape_html @uri_path %>/css/app.css" />
|
15
|
-
<script>
|
16
|
-
window.addEventListener("load",function() {
|
17
|
-
setTimeout(function(){
|
18
|
-
window.scrollTo(0, 0);
|
19
|
-
}, 0);
|
20
|
-
});
|
21
|
-
</script>
|
22
|
-
<script type="text/javascript">
|
23
|
-
WebFontConfig = {
|
24
|
-
google: { families: [ 'Roboto:400,300,500,700:latin' ] }
|
25
|
-
};
|
26
|
-
(function() {
|
27
|
-
var wf = document.createElement('script');
|
28
|
-
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
|
29
|
-
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
|
30
|
-
wf.type = 'text/javascript';
|
31
|
-
wf.async = 'true';
|
32
|
-
var s = document.getElementsByTagName('script')[0];
|
33
|
-
s.parentNode.insertBefore(wf, s);
|
34
|
-
})(); </script>
|
35
13
|
</head>
|
36
14
|
|
37
|
-
<body>
|
38
|
-
<div class="navbar navbar-fixed-top">
|
39
|
-
<div class="navbar-inner">
|
40
|
-
<div class="container">
|
41
|
-
|
42
|
-
<!-- Be sure to leave the brand out there if you want it shown -->
|
43
|
-
<a class="brand" href="#">
|
44
|
-
<div id="logo_box" class="pull-left"></div>
|
45
|
-
Synapse Central Login
|
46
|
-
</a>
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
</div>
|
15
|
+
<body onload="if (document.getElementById('username')) document.getElementById('username').focus()">
|
50
16
|
<%= yield %>
|
51
|
-
<script type="text/javascript" src="<%= escape_html @uri_path %>/js/jquery-1.8.0.js"></script>
|
52
|
-
<script type="text/javascript" src="<%= escape_html @uri_path %>/js/bootstrap.min.js"></script>
|
53
17
|
</body>
|
54
18
|
</html>
|
@@ -1,16 +1,30 @@
|
|
1
1
|
<%# coding: UTF-8 -%>
|
2
|
-
<
|
3
|
-
<
|
4
|
-
<
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
<table id="login-box">
|
3
|
+
<tr>
|
4
|
+
<td colspan="2">
|
5
|
+
<div id="headline-container">
|
6
|
+
<strong><%= escape_html @organization %></strong>
|
7
|
+
<%= t.label.central_login_title %>
|
8
|
+
</div>
|
9
|
+
</td>
|
10
|
+
</tr>
|
11
|
+
|
12
|
+
<% if @message %>
|
13
|
+
<tr>
|
14
|
+
<td colspan="2" id="messagebox-container">
|
15
|
+
<div class="messagebox <%= escape_html @message[:type] %>">
|
8
16
|
<%= escape_html @message[:message] %>
|
9
17
|
</div>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
18
|
+
</td>
|
19
|
+
</tr>
|
20
|
+
<% end %>
|
21
|
+
|
22
|
+
<tr>
|
23
|
+
<td id="logo-container">
|
24
|
+
<img id="logo" src="<%= escape_html @uri_path %>/themes/<%= @theme %>/logo.png" />
|
25
|
+
</td>
|
26
|
+
<td id="login-form-container">
|
27
|
+
<%= erb(:_login_form, :layout => false) %>
|
28
|
+
</td>
|
29
|
+
</tr>
|
30
|
+
</table>
|
data/locales/en.yml
CHANGED
@@ -18,23 +18,9 @@ notice:
|
|
18
18
|
please_wait: "Please wait..."
|
19
19
|
|
20
20
|
label:
|
21
|
-
username: "
|
22
|
-
password: "
|
21
|
+
username: "Username"
|
22
|
+
password: "Password"
|
23
23
|
central_login_title: "Central Login"
|
24
24
|
|
25
25
|
button:
|
26
|
-
login:
|
27
|
-
- "PARTY"
|
28
|
-
- "ROCK ON"
|
29
|
-
- "BOTTOMS UP"
|
30
|
-
- "SHAKE THAT THANG"
|
31
|
-
- "POUND IT"
|
32
|
-
- "SMASH"
|
33
|
-
- "CRUSH IT"
|
34
|
-
- "THUMBS UP"
|
35
|
-
- "HANG LOOSE"
|
36
|
-
- "OPEN SESAME"
|
37
|
-
- "ABRACADABRA"
|
38
|
-
- "WALK IT OFF"
|
39
|
-
- "END HUMANITY"
|
40
|
-
- "MAKE IT SO"
|
26
|
+
login: "LOGIN"
|
data/public/themes/cas.css
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
body {
|
2
|
+
background-image: url(bg.png);
|
3
|
+
}
|
4
|
+
|
5
|
+
#headline-container {
|
6
|
+
margin-bottom: 5px;
|
7
|
+
}
|
8
|
+
|
9
|
+
#login-box {
|
10
|
+
margin: 0 auto;
|
11
|
+
width: 450px;
|
12
|
+
top: 110px;
|
13
|
+
position: relative;
|
14
|
+
}
|
15
|
+
|
16
|
+
#login-form {
|
17
|
+
background-color: #fff;
|
18
|
+
border: 1px #aaa solid;
|
19
|
+
}
|
20
|
+
|
21
|
+
#logo-container {
|
22
|
+
vertical-align: middle;
|
23
|
+
}
|
24
|
+
|
25
|
+
#logo {
|
26
|
+
width: 128px;
|
27
|
+
height: 128px;
|
28
|
+
}
|
data/spec/casserver_spec.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synapse-rubycas-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.4
|
5
|
-
prerelease: 6
|
4
|
+
version: 1.1.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
7
|
+
- Adam Saegebarth
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: activerecord
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -25,7 +23,6 @@ dependencies:
|
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
27
|
- - ! '>='
|
31
28
|
- !ruby/object:Gem::Version
|
@@ -36,7 +33,6 @@ dependencies:
|
|
36
33
|
- !ruby/object:Gem::Dependency
|
37
34
|
name: activesupport
|
38
35
|
requirement: !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
36
|
requirements:
|
41
37
|
- - ! '>='
|
42
38
|
- !ruby/object:Gem::Version
|
@@ -47,7 +43,6 @@ dependencies:
|
|
47
43
|
type: :runtime
|
48
44
|
prerelease: false
|
49
45
|
version_requirements: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
46
|
requirements:
|
52
47
|
- - ! '>='
|
53
48
|
- !ruby/object:Gem::Version
|
@@ -58,7 +53,6 @@ dependencies:
|
|
58
53
|
- !ruby/object:Gem::Dependency
|
59
54
|
name: sinatra
|
60
55
|
requirement: !ruby/object:Gem::Requirement
|
61
|
-
none: false
|
62
56
|
requirements:
|
63
57
|
- - ~>
|
64
58
|
- !ruby/object:Gem::Version
|
@@ -66,7 +60,6 @@ dependencies:
|
|
66
60
|
type: :runtime
|
67
61
|
prerelease: false
|
68
62
|
version_requirements: !ruby/object:Gem::Requirement
|
69
|
-
none: false
|
70
63
|
requirements:
|
71
64
|
- - ~>
|
72
65
|
- !ruby/object:Gem::Version
|
@@ -74,7 +67,6 @@ dependencies:
|
|
74
67
|
- !ruby/object:Gem::Dependency
|
75
68
|
name: sinatra-r18n
|
76
69
|
requirement: !ruby/object:Gem::Requirement
|
77
|
-
none: false
|
78
70
|
requirements:
|
79
71
|
- - ~>
|
80
72
|
- !ruby/object:Gem::Version
|
@@ -82,7 +74,6 @@ dependencies:
|
|
82
74
|
type: :runtime
|
83
75
|
prerelease: false
|
84
76
|
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
77
|
requirements:
|
87
78
|
- - ~>
|
88
79
|
- !ruby/object:Gem::Version
|
@@ -90,7 +81,6 @@ dependencies:
|
|
90
81
|
- !ruby/object:Gem::Dependency
|
91
82
|
name: crypt-isaac
|
92
83
|
requirement: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
84
|
requirements:
|
95
85
|
- - ~>
|
96
86
|
- !ruby/object:Gem::Version
|
@@ -98,7 +88,6 @@ dependencies:
|
|
98
88
|
type: :runtime
|
99
89
|
prerelease: false
|
100
90
|
version_requirements: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
91
|
requirements:
|
103
92
|
- - ~>
|
104
93
|
- !ruby/object:Gem::Version
|
@@ -106,7 +95,6 @@ dependencies:
|
|
106
95
|
- !ruby/object:Gem::Dependency
|
107
96
|
name: rack-test
|
108
97
|
requirement: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
98
|
requirements:
|
111
99
|
- - ! '>='
|
112
100
|
- !ruby/object:Gem::Version
|
@@ -114,7 +102,6 @@ dependencies:
|
|
114
102
|
type: :development
|
115
103
|
prerelease: false
|
116
104
|
version_requirements: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
105
|
requirements:
|
119
106
|
- - ! '>='
|
120
107
|
- !ruby/object:Gem::Version
|
@@ -122,7 +109,6 @@ dependencies:
|
|
122
109
|
- !ruby/object:Gem::Dependency
|
123
110
|
name: capybara
|
124
111
|
requirement: !ruby/object:Gem::Requirement
|
125
|
-
none: false
|
126
112
|
requirements:
|
127
113
|
- - '='
|
128
114
|
- !ruby/object:Gem::Version
|
@@ -130,7 +116,6 @@ dependencies:
|
|
130
116
|
type: :development
|
131
117
|
prerelease: false
|
132
118
|
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
none: false
|
134
119
|
requirements:
|
135
120
|
- - '='
|
136
121
|
- !ruby/object:Gem::Version
|
@@ -138,7 +123,6 @@ dependencies:
|
|
138
123
|
- !ruby/object:Gem::Dependency
|
139
124
|
name: rspec
|
140
125
|
requirement: !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
126
|
requirements:
|
143
127
|
- - ! '>='
|
144
128
|
- !ruby/object:Gem::Version
|
@@ -146,7 +130,6 @@ dependencies:
|
|
146
130
|
type: :development
|
147
131
|
prerelease: false
|
148
132
|
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
133
|
requirements:
|
151
134
|
- - ! '>='
|
152
135
|
- !ruby/object:Gem::Version
|
@@ -154,7 +137,6 @@ dependencies:
|
|
154
137
|
- !ruby/object:Gem::Dependency
|
155
138
|
name: rspec-core
|
156
139
|
requirement: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
140
|
requirements:
|
159
141
|
- - ! '>='
|
160
142
|
- !ruby/object:Gem::Version
|
@@ -162,7 +144,6 @@ dependencies:
|
|
162
144
|
type: :development
|
163
145
|
prerelease: false
|
164
146
|
version_requirements: !ruby/object:Gem::Requirement
|
165
|
-
none: false
|
166
147
|
requirements:
|
167
148
|
- - ! '>='
|
168
149
|
- !ruby/object:Gem::Version
|
@@ -170,7 +151,6 @@ dependencies:
|
|
170
151
|
- !ruby/object:Gem::Dependency
|
171
152
|
name: rake
|
172
153
|
requirement: !ruby/object:Gem::Requirement
|
173
|
-
none: false
|
174
154
|
requirements:
|
175
155
|
- - '='
|
176
156
|
- !ruby/object:Gem::Version
|
@@ -178,7 +158,6 @@ dependencies:
|
|
178
158
|
type: :development
|
179
159
|
prerelease: false
|
180
160
|
version_requirements: !ruby/object:Gem::Requirement
|
181
|
-
none: false
|
182
161
|
requirements:
|
183
162
|
- - '='
|
184
163
|
- !ruby/object:Gem::Version
|
@@ -186,7 +165,6 @@ dependencies:
|
|
186
165
|
- !ruby/object:Gem::Dependency
|
187
166
|
name: sqlite3
|
188
167
|
requirement: !ruby/object:Gem::Requirement
|
189
|
-
none: false
|
190
168
|
requirements:
|
191
169
|
- - ~>
|
192
170
|
- !ruby/object:Gem::Version
|
@@ -194,7 +172,6 @@ dependencies:
|
|
194
172
|
type: :development
|
195
173
|
prerelease: false
|
196
174
|
version_requirements: !ruby/object:Gem::Requirement
|
197
|
-
none: false
|
198
175
|
requirements:
|
199
176
|
- - ~>
|
200
177
|
- !ruby/object:Gem::Version
|
@@ -202,7 +179,6 @@ dependencies:
|
|
202
179
|
- !ruby/object:Gem::Dependency
|
203
180
|
name: appraisal
|
204
181
|
requirement: !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
182
|
requirements:
|
207
183
|
- - ~>
|
208
184
|
- !ruby/object:Gem::Version
|
@@ -210,7 +186,6 @@ dependencies:
|
|
210
186
|
type: :development
|
211
187
|
prerelease: false
|
212
188
|
version_requirements: !ruby/object:Gem::Requirement
|
213
|
-
none: false
|
214
189
|
requirements:
|
215
190
|
- - ~>
|
216
191
|
- !ruby/object:Gem::Version
|
@@ -218,7 +193,6 @@ dependencies:
|
|
218
193
|
- !ruby/object:Gem::Dependency
|
219
194
|
name: guard
|
220
195
|
requirement: !ruby/object:Gem::Requirement
|
221
|
-
none: false
|
222
196
|
requirements:
|
223
197
|
- - ~>
|
224
198
|
- !ruby/object:Gem::Version
|
@@ -226,7 +200,6 @@ dependencies:
|
|
226
200
|
type: :development
|
227
201
|
prerelease: false
|
228
202
|
version_requirements: !ruby/object:Gem::Requirement
|
229
|
-
none: false
|
230
203
|
requirements:
|
231
204
|
- - ~>
|
232
205
|
- !ruby/object:Gem::Version
|
@@ -234,7 +207,6 @@ dependencies:
|
|
234
207
|
- !ruby/object:Gem::Dependency
|
235
208
|
name: guard-rspec
|
236
209
|
requirement: !ruby/object:Gem::Requirement
|
237
|
-
none: false
|
238
210
|
requirements:
|
239
211
|
- - '='
|
240
212
|
- !ruby/object:Gem::Version
|
@@ -242,7 +214,6 @@ dependencies:
|
|
242
214
|
type: :development
|
243
215
|
prerelease: false
|
244
216
|
version_requirements: !ruby/object:Gem::Requirement
|
245
|
-
none: false
|
246
217
|
requirements:
|
247
218
|
- - '='
|
248
219
|
- !ruby/object:Gem::Version
|
@@ -250,7 +221,6 @@ dependencies:
|
|
250
221
|
- !ruby/object:Gem::Dependency
|
251
222
|
name: webmock
|
252
223
|
requirement: !ruby/object:Gem::Requirement
|
253
|
-
none: false
|
254
224
|
requirements:
|
255
225
|
- - ~>
|
256
226
|
- !ruby/object:Gem::Version
|
@@ -258,7 +228,6 @@ dependencies:
|
|
258
228
|
type: :development
|
259
229
|
prerelease: false
|
260
230
|
version_requirements: !ruby/object:Gem::Requirement
|
261
|
-
none: false
|
262
231
|
requirements:
|
263
232
|
- - ~>
|
264
233
|
- !ruby/object:Gem::Version
|
@@ -266,7 +235,6 @@ dependencies:
|
|
266
235
|
- !ruby/object:Gem::Dependency
|
267
236
|
name: nokogiri
|
268
237
|
requirement: !ruby/object:Gem::Requirement
|
269
|
-
none: false
|
270
238
|
requirements:
|
271
239
|
- - ~>
|
272
240
|
- !ruby/object:Gem::Version
|
@@ -274,7 +242,6 @@ dependencies:
|
|
274
242
|
type: :development
|
275
243
|
prerelease: false
|
276
244
|
version_requirements: !ruby/object:Gem::Requirement
|
277
|
-
none: false
|
278
245
|
requirements:
|
279
246
|
- - ~>
|
280
247
|
- !ruby/object:Gem::Version
|
@@ -282,7 +249,6 @@ dependencies:
|
|
282
249
|
- !ruby/object:Gem::Dependency
|
283
250
|
name: rb-fsevent
|
284
251
|
requirement: !ruby/object:Gem::Requirement
|
285
|
-
none: false
|
286
252
|
requirements:
|
287
253
|
- - ~>
|
288
254
|
- !ruby/object:Gem::Version
|
@@ -290,7 +256,6 @@ dependencies:
|
|
290
256
|
type: :development
|
291
257
|
prerelease: false
|
292
258
|
version_requirements: !ruby/object:Gem::Requirement
|
293
|
-
none: false
|
294
259
|
requirements:
|
295
260
|
- - ~>
|
296
261
|
- !ruby/object:Gem::Version
|
@@ -298,7 +263,7 @@ dependencies:
|
|
298
263
|
description: Provides single sign-on authentication for web applications using the
|
299
264
|
CAS protocol.
|
300
265
|
email:
|
301
|
-
-
|
266
|
+
- adams@synapse.com
|
302
267
|
executables:
|
303
268
|
- rubycas-server
|
304
269
|
extensions: []
|
@@ -311,18 +276,7 @@ files:
|
|
311
276
|
- LICENSE
|
312
277
|
- README.md
|
313
278
|
- Rakefile
|
314
|
-
- bin/cap
|
315
|
-
- bin/capify
|
316
|
-
- bin/foreman
|
317
|
-
- bin/lessc
|
318
|
-
- bin/rackup
|
319
|
-
- bin/rake2thor
|
320
279
|
- bin/rubycas-server
|
321
|
-
- bin/therubyracer
|
322
|
-
- bin/thor
|
323
|
-
- bin/tilt
|
324
|
-
- bin/unicorn
|
325
|
-
- bin/unicorn_rails
|
326
280
|
- db/migrate/001_create_initial_structure.rb
|
327
281
|
- db/migrate/002_add_indexes_for_performance.rb
|
328
282
|
- lib/casserver/authenticators/active_directory_ldap.rb
|
@@ -357,80 +311,6 @@ files:
|
|
357
311
|
- lib/casserver/server.rb
|
358
312
|
- lib/casserver/utils.rb
|
359
313
|
- lib/casserver.rb
|
360
|
-
- public/app.css
|
361
|
-
- public/assets/fontawesome-webfont.eot
|
362
|
-
- public/assets/fontawesome-webfont.svg
|
363
|
-
- public/assets/fontawesome-webfont.ttf
|
364
|
-
- public/assets/fontawesome-webfont.woff
|
365
|
-
- public/assets/gothamhtf-black-webfont.eot
|
366
|
-
- public/assets/gothamhtf-black-webfont.svg
|
367
|
-
- public/assets/gothamhtf-black-webfont.ttf
|
368
|
-
- public/assets/gothamhtf-black-webfont.woff
|
369
|
-
- public/assets/gothamhtf-blackitalic-webfont.eot
|
370
|
-
- public/assets/gothamhtf-blackitalic-webfont.svg
|
371
|
-
- public/assets/gothamhtf-blackitalic-webfont.ttf
|
372
|
-
- public/assets/gothamhtf-blackitalic-webfont.woff
|
373
|
-
- public/assets/gothamhtf-bold-webfont.eot
|
374
|
-
- public/assets/gothamhtf-bold-webfont.svg
|
375
|
-
- public/assets/gothamhtf-bold-webfont.ttf
|
376
|
-
- public/assets/gothamhtf-bold-webfont.woff
|
377
|
-
- public/assets/gothamhtf-bolditalic-webfont.eot
|
378
|
-
- public/assets/gothamhtf-bolditalic-webfont.svg
|
379
|
-
- public/assets/gothamhtf-bolditalic-webfont.ttf
|
380
|
-
- public/assets/gothamhtf-bolditalic-webfont.woff
|
381
|
-
- public/assets/gothamhtf-book-webfont.eot
|
382
|
-
- public/assets/gothamhtf-book-webfont.svg
|
383
|
-
- public/assets/gothamhtf-book-webfont.ttf
|
384
|
-
- public/assets/gothamhtf-book-webfont.woff
|
385
|
-
- public/assets/gothamhtf-bookitalic-webfont.eot
|
386
|
-
- public/assets/gothamhtf-bookitalic-webfont.svg
|
387
|
-
- public/assets/gothamhtf-bookitalic-webfont.ttf
|
388
|
-
- public/assets/gothamhtf-bookitalic-webfont.woff
|
389
|
-
- public/assets/gothamhtf-light-webfont.eot
|
390
|
-
- public/assets/gothamhtf-light-webfont.svg
|
391
|
-
- public/assets/gothamhtf-light-webfont.ttf
|
392
|
-
- public/assets/gothamhtf-light-webfont.woff
|
393
|
-
- public/assets/gothamhtf-lightitalic-webfont.eot
|
394
|
-
- public/assets/gothamhtf-lightitalic-webfont.svg
|
395
|
-
- public/assets/gothamhtf-lightitalic-webfont.ttf
|
396
|
-
- public/assets/gothamhtf-lightitalic-webfont.woff
|
397
|
-
- public/assets/gothamhtf-medium-webfont.eot
|
398
|
-
- public/assets/gothamhtf-medium-webfont.svg
|
399
|
-
- public/assets/gothamhtf-medium-webfont.ttf
|
400
|
-
- public/assets/gothamhtf-medium-webfont.woff
|
401
|
-
- public/assets/gothamhtf-thin-webfont.eot
|
402
|
-
- public/assets/gothamhtf-thin-webfont.svg
|
403
|
-
- public/assets/gothamhtf-thin-webfont.ttf
|
404
|
-
- public/assets/gothamhtf-thin-webfont.woff
|
405
|
-
- public/assets/gothamhtf-thinitalic-webfont.eot
|
406
|
-
- public/assets/gothamhtf-thinitalic-webfont.svg
|
407
|
-
- public/assets/gothamhtf-thinitalic-webfont.ttf
|
408
|
-
- public/assets/gothamhtf-thinitalic-webfont.woff
|
409
|
-
- public/assets/gothamhtf-ultra-webfont.eot
|
410
|
-
- public/assets/gothamhtf-ultra-webfont.svg
|
411
|
-
- public/assets/gothamhtf-ultra-webfont.ttf
|
412
|
-
- public/assets/gothamhtf-ultra-webfont.woff
|
413
|
-
- public/assets/gothamhtf-ultraitalic-webfont.eot
|
414
|
-
- public/assets/gothamhtf-ultraitalic-webfont.svg
|
415
|
-
- public/assets/gothamhtf-ultraitalic-webfont.ttf
|
416
|
-
- public/assets/gothamhtf-ultraitalic-webfont.woff
|
417
|
-
- public/assets/gothamhtf-xlight-webfont.eot
|
418
|
-
- public/assets/gothamhtf-xlight-webfont.svg
|
419
|
-
- public/assets/gothamhtf-xlight-webfont.ttf
|
420
|
-
- public/assets/gothamhtf-xlight-webfont.woff
|
421
|
-
- public/assets/gothamhtf-xlightitalic-webfont.eot
|
422
|
-
- public/assets/gothamhtf-xlightitalic-webfont.svg
|
423
|
-
- public/assets/gothamhtf-xlightitalic-webfont.ttf
|
424
|
-
- public/assets/gothamhtf-xlightitalic-webfont.woff
|
425
|
-
- public/css/app.css
|
426
|
-
- public/css/bootstrap-responsive.min.css
|
427
|
-
- public/css/bootstrap.min.css
|
428
|
-
- public/img/glyphicons-halflings-white.png
|
429
|
-
- public/img/glyphicons-halflings.png
|
430
|
-
- public/js/app.js
|
431
|
-
- public/js/bootstrap.min.js
|
432
|
-
- public/js/jquery-1.8.0.js
|
433
|
-
- public/themes/app.css
|
434
314
|
- public/themes/cas.css
|
435
315
|
- public/themes/notice.png
|
436
316
|
- public/themes/ok.png
|
@@ -438,6 +318,7 @@ files:
|
|
438
318
|
- public/themes/simple/favicon.png
|
439
319
|
- public/themes/simple/login_box_bg.png
|
440
320
|
- public/themes/simple/logo.png
|
321
|
+
- public/themes/simple/theme.css
|
441
322
|
- public/themes/warning.png
|
442
323
|
- locales/de.yml
|
443
324
|
- locales/en.yml
|
@@ -454,20 +335,7 @@ files:
|
|
454
335
|
- resources/init.d.sh
|
455
336
|
- config.ru
|
456
337
|
- config/config.example.yml
|
457
|
-
- config/
|
458
|
-
- config/deploy/staging.rb
|
459
|
-
- config/deploy.rb
|
460
|
-
- config/recipes/base.rb
|
461
|
-
- config/recipes/git.rb
|
462
|
-
- config/recipes/nginx.rb
|
463
|
-
- config/recipes/puma.rb
|
464
|
-
- config/recipes/rubycas.rb
|
465
|
-
- config/recipes/templates/nginx.erb
|
466
|
-
- config/recipes/templates/puma.erb
|
467
|
-
- config/recipes/templates/rubycas.erb
|
468
|
-
- config/unicorn/development.rb
|
469
|
-
- config/unicorn/production.rb
|
470
|
-
- config/unicorn/staging.rb
|
338
|
+
- config/unicorn.rb
|
471
339
|
- tasks/bundler.rake
|
472
340
|
- tasks/db/migrate.rake
|
473
341
|
- tasks/spec.rake
|
@@ -479,7 +347,6 @@ files:
|
|
479
347
|
- lib/casserver/views/proxy_validate.builder
|
480
348
|
- lib/casserver/views/service_validate.builder
|
481
349
|
- Gemfile
|
482
|
-
- rubycas-server.gemspec
|
483
350
|
- spec/casserver/authenticators/active_resource_spec.rb
|
484
351
|
- spec/casserver/authenticators/ldap_spec.rb
|
485
352
|
- spec/casserver/cas_spec.rb
|
@@ -491,8 +358,9 @@ files:
|
|
491
358
|
- spec/core_ext/string_spec.rb
|
492
359
|
- spec/spec.opts
|
493
360
|
- spec/spec_helper.rb
|
494
|
-
homepage: https://github.com/
|
361
|
+
homepage: https://github.com/rubycas/rubycas-server
|
495
362
|
licenses: []
|
363
|
+
metadata: {}
|
496
364
|
post_install_message: For more information on RubyCAS-Server, see http://rubycas.github.com
|
497
365
|
rdoc_options:
|
498
366
|
- --quiet
|
@@ -507,22 +375,20 @@ rdoc_options:
|
|
507
375
|
require_paths:
|
508
376
|
- lib
|
509
377
|
required_ruby_version: !ruby/object:Gem::Requirement
|
510
|
-
none: false
|
511
378
|
requirements:
|
512
379
|
- - ! '>='
|
513
380
|
- !ruby/object:Gem::Version
|
514
381
|
version: '0'
|
515
382
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
516
|
-
none: false
|
517
383
|
requirements:
|
518
|
-
- - ! '
|
384
|
+
- - ! '>='
|
519
385
|
- !ruby/object:Gem::Version
|
520
|
-
version:
|
386
|
+
version: '0'
|
521
387
|
requirements: []
|
522
388
|
rubyforge_project:
|
523
|
-
rubygems_version:
|
389
|
+
rubygems_version: 2.0.3
|
524
390
|
signing_key:
|
525
|
-
specification_version:
|
391
|
+
specification_version: 4
|
526
392
|
summary: Provides single sign-on authentication for web applications using the CAS
|
527
393
|
protocol.
|
528
394
|
test_files:
|