Thursday, February 17, 2011

Editing the FederationMetadata.xml file

If you have been working with Windows Identity Foundation for any length of time, it is likely that at one time or another, you will need to edit the FederationMetadata.xml file that you have created for your Security Token Service.

This file may need to be edited for a variety of reasons including changing the original Url from http to https or even changing the port number.  Unfortunately, manually editing this file can be extremely prone to error and may not even work in many cases.

Fortunately, a CodePlex project called STS Federation Metadata Editor has been started to provide a GUI interface for editing these FederationMetadata.xml files.  The CodePlex project is located here: http://stsmetadataeditor.codeplex.com/

If you wish to generate a completely fresh/brand-new FederationMetadata.xml file, you can download a similar tool from here: http://weblogs.thinktecture.com/cweyer/2009/05/geneva-based-ws-federation-metadata-document-generation-wizard-or-oops-i-did-it-again.html

No comments:

Post a Comment