Condividi tramite


<clear> Element for <binarySecurityTokenManager>

Clears all user-supplied custom security managers for an application domain.

<microsoft.web.services3> Element
  <security> Element
    <binarySecurityTokenManager> Element

<clear />

Attributes and Elements

Attributes

None.

Child Elements

None.

Parent Elements

Element Description

<binarySecurityTokenManager> Element

Defines the user-supplied custom security managers for an application domain.

Remarks

Before adding the <clear> element to a configuration file, you must add the microsoft.web.services3 configuration section handler to the configuration file. For information about adding the microsoft.web.services3 configuration section handler, see <section> Element.

Example

The following code example removes all custom binary security token managers for the current application domain. Although the application cannot use or receive custom binary security tokens, it can still use and receive security tokens built into WSE.

<configuration>
  <microsoft.web.services3>
    <security> 
      <binarySecurityTokenManager>
        <clear/>
      </binarySecurityTokenManager>
    </security>
  </microsoft.web.services3>
</configuration>

See Also

Tasks

How to: Create a Class Representing a Custom Binary Security Token

Reference

<binarySecurityTokenManager> Element
<keyAlgorithm> Element for <binarySecurityTokenManager>
<renewalWindowInSeconds> Element
<sessionKeyAlgorithm> Element

Other Resources

Creating Custom Security Tokens