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.
Adds a user-supplied custom security manager.
<microsoft.web.services3> Element
<security> Element
<binarySecurityTokenManager> Element
<add valueType="<insert valueType uri string here>"
type="<insert type reference here>" >
Attributes and Elements
Attributes
| Attribute | Description |
|---|---|
valueType |
Required attribute. Value type of the binary token. |
type |
Required attribute. The fully qualified type name of the custom security token manager. |
Child Elements
| Element | Description |
|---|---|
Optional element. Specifies the key algorithm used by a security token. |
|
Optional element. For KerberosToken security tokens, specifies the period of time immediately prior to expiration, in which the security can be renewed. |
|
Optional element. Specifies the key algorithm used by the X509SecurityToken security token for bulk encryption operations. |
Parent Elements
| Element | Description |
|---|---|
Defines the user-supplied custom security managers for an application domain. |
Remarks
Before adding the <add> 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 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
Reference
<binarySecurityTokenManager> Element
<keyAlgorithm> Element for <binarySecurityTokenManager>
<renewalWindowInSeconds> Element
<sessionKeyAlgorithm> Element