Condividi tramite


<remove> Element for <binarySecurityTokenManager>

Removes a user-supplied custom security manager.

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

<remove valueType="<insert valueType uri string here>">

Attributes and Elements

Attributes

Attribute Description

valueType

Required attribute. Value type of the binary token.

Child Elements

None.

Parent Elements

Element Description

<binarySecurityTokenManager> Element

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

Remarks

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

Example

The following code example removes the custom security token manager for binary security tokens with a value type of http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3.

<configuration>
  <microsoft.web.services3>
    <security> 
      <binarySecurityTokenManager>
        <remove valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
      </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