<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nief.org/index.php?action=history&amp;feed=atom&amp;title=Editing_SAML2_Metadata</id>
	<title>Editing SAML2 Metadata - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nief.org/index.php?action=history&amp;feed=atom&amp;title=Editing_SAML2_Metadata"/>
	<link rel="alternate" type="text/html" href="https://wiki.nief.org/index.php?title=Editing_SAML2_Metadata&amp;action=history"/>
	<updated>2026-04-29T15:13:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://wiki.nief.org/index.php?title=Editing_SAML2_Metadata&amp;diff=46&amp;oldid=prev</id>
		<title>Jeff.Krug: Created page with &quot;This provides a brief overview of how to edit SAML2 Metadata.  ==Editor== It is generally a very good idea to have an XML aware editor when you are editing XML.  It does not n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.nief.org/index.php?title=Editing_SAML2_Metadata&amp;diff=46&amp;oldid=prev"/>
		<updated>2019-01-22T20:22:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This provides a brief overview of how to edit SAML2 Metadata.  ==Editor== It is generally a very good idea to have an XML aware editor when you are editing XML.  It does not n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This provides a brief overview of how to edit SAML2 Metadata.&lt;br /&gt;
&lt;br /&gt;
==Editor==&lt;br /&gt;
It is generally a very good idea to have an XML aware editor when you are editing XML.  It does not need to be so smart that it includes built-in schema validation (although this can be useful), but at a minimum you want syntax coloring, basic XML format checking, and what not.  A couple of popular and free choices:&lt;br /&gt;
&lt;br /&gt;
 * [http://notepad-plus-plus.org/ Notepad++] - Generally light weight.  It is a very useful editor to have handy on any machine you use.&lt;br /&gt;
 * [https://www.eclipse.org/ Eclipse] - Eclipse is a major IDE and typically you would only install it on a development machine.&lt;br /&gt;
 * If you are doing lots of XML work, you way want a tool that is designed specifically for XML such as [http://www.altova.com/xmlspy.html XMLSpy].&lt;br /&gt;
&lt;br /&gt;
==Namespaces==&lt;br /&gt;
The primary namespaces used within SAML2 Metadata are:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;urn:oasis:names:tc:SAML:2.0:metadata&amp;#039;&amp;#039;&amp;#039; - (abbreviated &amp;#039;&amp;#039;&amp;#039;md&amp;#039;&amp;#039;&amp;#039;) Always required&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;http://www.w3.org/2000/09/xmldsig#&amp;#039;&amp;#039;&amp;#039; - (abbreviated &amp;#039;&amp;#039;&amp;#039;ds&amp;#039;&amp;#039;&amp;#039;) Always required&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;urn:oasis:names:tc:SAML:metadata:attribute&amp;#039;&amp;#039;&amp;#039; - (abbreviated &amp;#039;&amp;#039;&amp;#039;mdattr&amp;#039;&amp;#039;&amp;#039;) Used when SAML attributes are included.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;urn:oasis:names:tc:SAML:2.0:assertion&amp;#039;&amp;#039;&amp;#039; - (abbreviated &amp;#039;&amp;#039;&amp;#039;saml&amp;#039;&amp;#039;&amp;#039;) Used when SAML attributes about entities are included and when available SAML Attributes are published for Identity Providers.&lt;br /&gt;
&lt;br /&gt;
The following are additional namespaces you may encounter but are only for very special use cases:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;xmlns:gfipmws=&amp;quot;http://gfipm.net/standards/metadata/2.1/webservices&amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;#039; - For GFIPM Web Services.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;xmlns:fed=&amp;quot;http://docs.oasis-open.org/wsfed/federation/200706&amp;quot;&amp;#039;&amp;#039;&amp;#039; - For WS Federation (very commonly included in ADFS generated SAML2 Metadata)&lt;br /&gt;
&lt;br /&gt;
It is recommended by GFIPM that all namespaces be declared with a prefix to make the XML more explicit instead of using default namespaces.&lt;br /&gt;
&lt;br /&gt;
==Samples==&lt;br /&gt;
Defaulting the md namespace, declaring the ds namespace at the entity descriptor:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;EntityDescriptor xmlns=&amp;quot;urn:oasis:names:tc:SAML:2.0:metadata&amp;quot; xmlns:ds=&amp;quot;http://www.w3.org/2000/09/xmldsig#&amp;quot;&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
       &amp;lt;ds:KeyInfo&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
       &amp;lt;/ds:KeyInfo&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;/EntityDescriptor&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Defaulting the md namespace, declaring the ds namespace when it is used:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;EntityDescriptor xmlns=&amp;quot;urn:oasis:names:tc:SAML:2.0:metadata&amp;quot;&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
       &amp;lt;ds:KeyInfo xmlns:ds=&amp;quot;http://www.w3.org/2000/09/xmldsig#&amp;quot;&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
       &amp;lt;/ds:KeyInfo&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;/EntityDescriptor&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Defaulting all namespaces:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;EntityDescriptor xmlns=&amp;quot;urn:oasis:names:tc:SAML:2.0:metadata&amp;quot;&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
       &amp;lt;KeyInfo xmlns=&amp;quot;http://www.w3.org/2000/09/xmldsig#&amp;quot;&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
       &amp;lt;/KeyInfo&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;/EntityDescriptor&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Recommended way with explicit namespaces and declared in the opening tag:&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;md:EntityDescriptor xmlns:md=&amp;quot;urn:oasis:names:tc:SAML:2.0:metadata&amp;quot; xmlns:ds=&amp;quot;http://www.w3.org/2000/09/xmldsig#&amp;quot;&amp;gt;&lt;br /&gt;
 ...&lt;br /&gt;
       &amp;lt;ds:KeyInfo&amp;gt;&lt;br /&gt;
           ...&lt;br /&gt;
       &amp;lt;/ds:KeyInfo&lt;br /&gt;
 ... &lt;br /&gt;
 &amp;lt;/md:EntityDescriptor&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeff.Krug</name></author>
	</entry>
</feed>