如何将蒙版密码属性添加到BizTalk自定义文件适配器



我已经使用BTS 2009 SDK中的示例构建了一个自定义文件适配器,但是我需要使用此适配器通过此适配器使用凭据以外的其他凭据来接收文件。我想将2个属性添加到适配器的属性窗口中,以获取用户名和密码(我知道该怎么做),但是我想在密码属性上隐藏密码文本。有人知道该怎么做吗?我可以在属性上的ceartiveLocation.xsd中设置某些内容,以便让它知道它是用于密码的,类似于textbox.passwordchar属性?

我需要使用biztalk适配器框架passworduity passwordypeeditor和passwordTypeconverter组件。

 <xs:element name="Password">
          <xs:simpleType>
            <xs:annotation>
              <xs:appinfo>
                <baf:designer>
                  <baf:displayname _locID="passwordName">Password</baf:displayname>
                  <baf:description _locID="passwordDesc">Enter username for authentication to directory</baf:description>
                  <baf:editor assembly="%BTSROOT%\Developer Tools\Microsoft.BizTalk.Adapter.Framework.dll">Microsoft.BizTalk.Adapter.Framework.ComponentModel.PasswordUITypeEditor</baf:editor>
                  <baf:converter assembly="%BTSROOT%\Developer Tools\Microsoft.BizTalk.Adapter.Framework.dll">Microsoft.BizTalk.Adapter.Framework.ComponentModel.PasswordTypeConverter</baf:converter>
                  <baf:category _locID="authenticationCategory">Endpoint Directory Authentication</baf:category>
                </baf:designer>
              </xs:appinfo>
            </xs:annotation>
            <xs:restriction base="xs:string">
              <xs:maxLength value="22" />
            </xs:restriction>
          </xs:simpleType>
        </xs:element>

最新更新