omniauth-shibboleth 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +6 -4
- data/lib/omniauth-shibboleth/version.rb +1 -1
- data/omniauth-shibboleth.gemspec +1 -3
- metadata +6 -7
data/README.md
CHANGED
@@ -20,14 +20,12 @@ https://github.com/toyokazu/omniauth-shibboleth/issues
|
|
20
20
|
|
21
21
|
### Installation
|
22
22
|
|
23
|
-
% gem install omniauth
|
24
23
|
% gem install omniauth-shibboleth
|
25
24
|
|
26
25
|
### Setup Gemfile
|
27
26
|
|
28
27
|
% cd rails-app
|
29
28
|
% vi Gemfile
|
30
|
-
gem 'omniauth'
|
31
29
|
gem 'omniauth-shibboleth'
|
32
30
|
|
33
31
|
### Setup Shibboleth Strategy
|
@@ -74,7 +72,11 @@ Example shibd.conf:
|
|
74
72
|
require valid-user
|
75
73
|
</Location>
|
76
74
|
|
77
|
-
Shibboleth strategy just checks the existence of Shib-Session-ID or Shib-Application-ID.
|
75
|
+
Shibboleth strategy just checks the existence of Shib-Session-ID or Shib-Application-ID.
|
76
|
+
|
77
|
+
If you want to use omniauth-shibboleth without Apache or IIS, you can try **rack-saml**. It supports a part of Shibboleth SP functions.
|
78
|
+
|
79
|
+
https://github.com/toyokazu/rack-saml
|
78
80
|
|
79
81
|
Shibboleth strategy assumes the attributes are provided via environment variables because the use of ShibUseHeaders option may cause some problems. The details are discussed in the following page:
|
80
82
|
|
@@ -91,7 +93,7 @@ When you deploy a new application, you may want to confirm the assumed attribute
|
|
91
93
|
provider :shibboleth, { :dev_mode => true }
|
92
94
|
end
|
93
95
|
|
94
|
-
## License
|
96
|
+
## License (MIT License)
|
95
97
|
|
96
98
|
Copyright (C) 2011 by Toyokazu Akiyama.
|
97
99
|
|
data/omniauth-shibboleth.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
require File.expand_path('../lib/omniauth-shibboleth/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
|
-
gem.add_dependency 'omniauth', '
|
5
|
+
gem.add_dependency 'omniauth', '>= 1.0.0'
|
6
6
|
|
7
7
|
gem.authors = ["Toyokazu Akiyama"]
|
8
8
|
gem.email = ["toyokazu@gmail.com"]
|
@@ -11,9 +11,7 @@ Gem::Specification.new do |gem|
|
|
11
11
|
gem.homepage = ""
|
12
12
|
|
13
13
|
gem.files = `find . -not \\( -regex ".*\\.git.*" -o -regex "\\./pkg.*" -o -regex "\\./spec.*" \\)`.split("\n").map{ |f| f.gsub(/^.\//, '') }
|
14
|
-
#gem.files = `find .`.split("\n").map{ |f| f.gsub(/^.\//, '') }
|
15
14
|
gem.test_files = `find spec/*`.split("\n")
|
16
|
-
#gem.test_files = `find test/* spec/* features/*`.split("\n")
|
17
15
|
gem.name = "omniauth-shibboleth"
|
18
16
|
gem.require_paths = ["lib"]
|
19
17
|
gem.version = OmniAuth::Shibboleth::VERSION
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-shibboleth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,19 +9,19 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-05-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
16
|
-
requirement: &
|
16
|
+
requirement: &70318358752680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70318358752680
|
25
25
|
description: OmniAuth Shibboleth strategies for OmniAuth 1.0
|
26
26
|
email:
|
27
27
|
- toyokazu@gmail.com
|
@@ -58,11 +58,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.8.
|
61
|
+
rubygems_version: 1.8.17
|
62
62
|
signing_key:
|
63
63
|
specification_version: 3
|
64
64
|
summary: OmniAuth Shibboleth strategies for OmniAuth 1.0
|
65
65
|
test_files:
|
66
66
|
- spec/omniauth/strategies/shibboleth_spec.rb
|
67
67
|
- spec/spec_helper.rb
|
68
|
-
has_rdoc:
|