WS_SECURITY_CONTEXT_PROPERTY_ID enumeration (webservices.h)
Identifies a property of a security context object. This enumeration is used with WsGetSecurityContextProperty.
Syntax
typedef enum {
WS_SECURITY_CONTEXT_PROPERTY_IDENTIFIER = 1,
WS_SECURITY_CONTEXT_PROPERTY_USERNAME = 2,
WS_SECURITY_CONTEXT_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN = 3,
WS_SECURITY_CONTEXT_PROPERTY_SAML_ASSERTION = 4
} WS_SECURITY_CONTEXT_PROPERTY_ID;
Constants
WS_SECURITY_CONTEXT_PROPERTY_IDENTIFIER Value: 1 On the wire, a security context is identified by an absolute URI, which is unique to both sender and recipient. See WS-SecureConversation. This property is a WS_UNIQUE_ID structure that represents that URI. |
WS_SECURITY_CONTEXT_PROPERTY_USERNAME Value: 2 If a WS_USERNAME_MESSAGE_SECURITY_BINDING is used as bootstrap security, this property is a WS_STRING that represents the username that was used during the establishment of the security context. |
WS_SECURITY_CONTEXT_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN Value: 3 If a WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING is used as bootstrap security, this property is a HANDLE that represents the token that was used during the establishment of the security context. |
WS_SECURITY_CONTEXT_PROPERTY_SAML_ASSERTION Value: 4 If a WS_SAML_MESSAGE_SECURITY_BINDING is used as bootstrap security, this property is a pointer to a WS_XML_BUFFER that represents the SAML assertion that was used during the establishment of the security context. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | webservices.h |