WIF手动生成federationmetadata.xml [英] WIF manually generate federationmetadata.xml
问题描述
我玩的Windows标识基础,我试图创建一个基于安全令牌服务的MVC.NET,并用它作为单点登录的应用程序。
I am playing with windows identity foundation and I am trying to create an MVC.NET based Security Token Service and use it as the Single Sign On application.
我唯一的问题是,我不知道如何生成federationmetadata.xml文件。
My only problem is that I don't know how to generate the federationmetadata.xml file.
有没有什么工具来手动生成此文件?
Is there any tool to generate this file manually?
推荐答案
我创建了不会在创建STS项目VS做什么的自定义元数据生成。 我不得不使用反射来调用code,因为像往常一样一切有用的是内部在微软的组件。
I created a custom metadata generator that does what VS does when you create the STS project. I had to use Reflection to call the code because as usual everything useful is internal in Microsoft's assemblies.
More about it here
这篇关于WIF手动生成federationmetadata.xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!