lib/rsaml/protocol/name_id_policy.rb
# Construct an XML fragment representing the name id policy
Construct an XML fragment representing the name id policy
Construct an XML fragment representing the name id policy
def to_xml(xml=Builder::XmlMarkup.new)
        attributes = {}
        attributes['Format'] = format unless format.nil?
        attributes['SPNameQualifier'] = sp_name_qualifier unless sp_name_qualifier.nil?
        attributes['AllowCreate'] = allow_create unless allow_create.nil?
        xml.tag!('samlp:NameIDPolicy', attributes)
      end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { } attributes [ 'Format' ] = format unless format . nil? attributes [ 'SPNameQualifier' ] = sp_name_qualifier unless sp_name_qualifier . nil? attributes [ 'AllowCreate' ] = allow_create unless allow_create . nil? xml . tag! ( 'samlp:NameIDPolicy' , attributes ) end
Construct an XML fragment representing the name id policy
Construct an XML fragment representing the name id policy
xml
new