Class: SAML::Metadata::IDPSSODescriptor

Inherits:
SSODescriptor show all
Defined in:
lib/saml/metadata/idp_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/idp_sso_descriptor.rb', line 5

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

Instance Method Details

#from_xml(xml) ⇒ Object



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

def from_xml(xml)
  super(xml)
  @single_signon_services = xml.get_elements('md:SingleSignOnService').map do |elem|
    Endpoint.from_xml(elem)
  end
  self
end

#single_signon_servicesObject



19
20
21
# File 'lib/saml/metadata/idp_sso_descriptor.rb', line 19

def single_signon_services
  @single_signon_services.clone
end

#want_authn_requests_signed?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/saml/metadata/idp_sso_descriptor.rb', line 15

def want_authn_requests_signed?
  false
end