次の方法で共有


<authenticationModules> の <add> 要素

認証モジュールをアプリケーションに追加します。

<configuration>
   <system.net>
      <authenticationModules>
         <add>

<add
   type = "Assembly, Class"
/>

必須属性

属性 説明
type 認証モジュールを実装するモジュールのアセンブリ名およびクラス名。

解説

<add> 要素は、登録された認証モジュールのリストの末尾に認証モジュールを追加します。認証モジュールは、各認証モジュールがリストに追加された順序で呼び出されます。

カスタム認証モジュールを構成する例を次に示します。

<configuration>
   <system.net>
      <authenticationModules>
         <add type="MyAuthModule.dll, MyAuthModule" />
      </authenticationModules>
   </system.net>
</configuration>

構成ファイル

この要素は、アプリケーション構成ファイル、マシン構成ファイル (Machine.config)、および発行者ポリシー ファイルで使用できます。

参照

<authenticationModules> 要素 | ネットワーク設定スキーマ