Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Defines the user-supplied custom security managers for an application domain.
<microsoft.web.services3> Element
<security> Element
<binarySecurityTokenManager>
<add valueType type />
<remove valueType />
<clear />
</binarySecurityTokenManager>
Attributes and Elements
Attributes
None.
Child Elements
| Element | Description |
|---|---|
Adds a user-supplied custom security manager to the application domain. |
|
Removes a user-supplied custom security manager to the application domain. |
|
Clears all user-supplied custom security managers for an application domain. |
Parent Elements
| Element | Description |
|---|---|
Controls the security settings for a WSE application. |
Remarks
Before adding the <binarySecurityTokenManager> 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 specifies a type to call when http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3 binary security tokens are received.
<configuration>
<microsoft.web.services3>
<security>
<binarySecurityTokenManager>
<add valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"
type="CustomSecurityNamespace.CustomSecurityClass, AssemblyName"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
</binarySecurityTokenManager>
</security>
</microsoft.web.services3>
</configuration>
See Also
Tasks
How to: Create a Class Representing a Custom Binary Security Token