libsaml 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/saml.rb +2 -0
- data/lib/saml/elements/md_extensions.rb +1 -0
- data/lib/saml/elements/publication_info.rb +19 -0
- data/lib/saml/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81a13cb314576536016f612b508d878a2a9d88f7
|
4
|
+
data.tar.gz: 9d0559a6b9c14acbb190c15ef9526ed85d30fa5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af29451a08f4467d0527adb001ad649c3c137700772c6e714fa99b9a3c6886de524cb21cad909e3cca90a1febafe70aca1d480d822adb679f5ede02d2015b35c
|
7
|
+
data.tar.gz: 365600e541bdd2dd46a24fba6c6a9d1f121bd25a2054bc3565ce0b49518c5bd43fb63a4b546e1b66e14c1b756dfe02d08bf7302e867b875648564ca00f44cad5
|
data/lib/saml.rb
CHANGED
@@ -12,6 +12,7 @@ require "uri"
|
|
12
12
|
|
13
13
|
module Saml
|
14
14
|
MD_NAMESPACE = 'urn:oasis:names:tc:SAML:2.0:metadata'
|
15
|
+
MD_RPI_NAMESPACE = 'urn:oasis:names:tc:SAML:metadata:rpi'
|
15
16
|
MD_ATTR_NAMESPACE = 'urn:oasis:names:tc:SAML:metadata:attribute'
|
16
17
|
SAML_NAMESPACE = 'urn:oasis:names:tc:SAML:2.0:assertion'
|
17
18
|
SAMLP_NAMESPACE = 'urn:oasis:names:tc:SAML:2.0:protocol'
|
@@ -111,6 +112,7 @@ module Saml
|
|
111
112
|
require 'saml/elements/attribute'
|
112
113
|
require 'saml/elements/attribute_statement'
|
113
114
|
require 'saml/elements/entity_attributes'
|
115
|
+
require 'saml/elements/publication_info'
|
114
116
|
require 'saml/elements/md_extensions'
|
115
117
|
require 'saml/elements/samlp_extensions'
|
116
118
|
require 'saml/elements/service_name'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
module Saml
|
2
|
+
module Elements
|
3
|
+
class PublicationInfo
|
4
|
+
include Saml::Base
|
5
|
+
include Saml::XMLHelpers
|
6
|
+
|
7
|
+
tag 'PublicationInfo'
|
8
|
+
register_namespace 'mdrpi', Saml::MD_RPI_NAMESPACE
|
9
|
+
namespace 'mdrpi'
|
10
|
+
|
11
|
+
attribute :publisher, String, :tag => 'publisher'
|
12
|
+
attribute :creation_instant, Time, :tag => 'creationInstant', on_save: lambda { |val| val.utc.xmlschema if val.present? }
|
13
|
+
attribute :publication_id, String, :tag => 'publicationId'
|
14
|
+
|
15
|
+
validates :publisher, :presence => true
|
16
|
+
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/lib/saml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libsaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benoist Claassen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -166,6 +166,7 @@ files:
|
|
166
166
|
- lib/saml/elements/organization_display_name.rb
|
167
167
|
- lib/saml/elements/organization_name.rb
|
168
168
|
- lib/saml/elements/organization_url.rb
|
169
|
+
- lib/saml/elements/publication_info.rb
|
169
170
|
- lib/saml/elements/requested_attribute.rb
|
170
171
|
- lib/saml/elements/requested_authn_context.rb
|
171
172
|
- lib/saml/elements/samlp_extensions.rb
|