Class: SAML::Metadata::SPSSODescriptor

Inherits:
SSODescriptor show all
Defined in:
lib/saml/metadata/sp_sso_descriptor.rb

Instance Attribute Summary

Attributes inherited from RoleDescriptor

#key_descriptors, #protocol_support_enumeration

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SSODescriptor

#single_logout_services

Methods inherited from RoleDescriptor

#signing_key_descriptor

Class Method Details

.from_xml(xml) ⇒ Object



5
# File 'lib/saml/metadata/sp_sso_descriptor.rb', line 5

def self.from_xml(xml); new.from_xml(xml); end

Instance Method Details

#assertion_consumer_servicesObject



17
18
19
# File 'lib/saml/metadata/sp_sso_descriptor.rb', line 17

def assertion_consumer_services
  @assertion_consumer_services.clone
end

#from_xml(xml) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/saml/metadata/sp_sso_descriptor.rb', line 7

def from_xml(xml)
  super(xml)

  @assertion_consumer_services = xml.get_elements('md:AssertionConsumerService').map do |elem|
    IndexedEndpoint.from_xml(elem)
  end

  self
end