ruby-saml-idp 0.3.0 → 0.3.1
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 +2 -1
- data/lib/saml_idp/controller.rb +2 -2
- data/lib/saml_idp/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
# Ruby SAML
|
|
1
|
+
# Ruby SAML Identity Provider (IdP)
|
|
2
|
+
[](http://travis-ci.org/lawrencepit/ruby-saml-idp?branch=master) [](https://gemnasium.com/lawrencepit/ruby-saml-idp)
|
|
2
3
|
|
|
3
4
|
The ruby SAML Identity Provider library is for implementing the server side of SAML authentication. It allows your application to act as an IdP (Identity Provider) using the [SAML v2.0](http://en.wikipedia.org/wiki/Security_Assertion_Markup_Language) protocol. It provides a means for managing authentication requests and confirmation responses for SPs (Service Providers).
|
|
4
5
|
|
data/lib/saml_idp/controller.rb
CHANGED
|
@@ -53,8 +53,8 @@ module SamlIdp
|
|
|
53
53
|
@saml_request = zstream.inflate(Base64.decode64(saml_request))
|
|
54
54
|
zstream.finish
|
|
55
55
|
zstream.close
|
|
56
|
-
@saml_request_id = @saml_request[/ID='(.+?)'/, 1]
|
|
57
|
-
@saml_acs_url = @saml_request[/AssertionConsumerServiceURL='(.+?)'/, 1]
|
|
56
|
+
@saml_request_id = @saml_request[/ID=['"](.+?)['"]/, 1]
|
|
57
|
+
@saml_acs_url = @saml_request[/AssertionConsumerServiceURL=['"](.+?)['"]/, 1]
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
def encode_SAMLResponse(nameID, opts = {})
|
data/lib/saml_idp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-saml-idp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.3.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Lawrence Pit
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2012-
|
|
18
|
+
date: 2012-05-08 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: uuid
|