omniauth-shibboleth 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/omniauth/strategies/shibboleth.rb +1 -1
- data/lib/omniauth-shibboleth/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -74,7 +74,7 @@ Example shibd.conf:
|
|
74
74
|
require valid-user
|
75
75
|
</Location>
|
76
76
|
|
77
|
-
Shibboleth strategy just checks the existence of Shib-Session-ID.
|
77
|
+
Shibboleth strategy just checks the existence of Shib-Session-ID or Shib-Application-ID.
|
78
78
|
|
79
79
|
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
80
|
|
@@ -30,7 +30,7 @@ module OmniAuth
|
|
30
30
|
[request.env.sort.map {|i| "#{i[0]}: #{i[1]}" }.join("\n")]
|
31
31
|
]
|
32
32
|
end
|
33
|
-
return fail!(:no_shibboleth_session) unless request.env['Shib-Session-ID']
|
33
|
+
return fail!(:no_shibboleth_session) unless (request.env['Shib-Session-ID'] || request.env['Shib-Application-ID'])
|
34
34
|
super
|
35
35
|
end
|
36
36
|
|
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.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-12-
|
12
|
+
date: 2011-12-29 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
16
|
-
requirement: &
|
16
|
+
requirement: &2155076460 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2155076460
|
25
25
|
description: OmniAuth Shibboleth strategies for OmniAuth 1.0
|
26
26
|
email:
|
27
27
|
- toyokazu@gmail.com
|