WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT structure (webservices.h)

This structure is used to specify a set of constraints for a particular request security token property. Any property constraints that are not specified will use the default constraints.

Syntax

typedef struct _WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT {
  WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID id;
  void                                  *allowedValues;
  ULONG                                 allowedValuesSize;
  struct {
    WS_REQUEST_SECURITY_TOKEN_PROPERTY requestSecurityTokenProperty;
  } out;
} WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT;

Members

id

The id of the request security token property. The following security property constraint may be specified:

allowedValues

An array of values which are acceptable. The type of the values in the array correspond to the type of the values of the request security token property. See the documentation for a particular request security token property to determine the type of the property.

allowedValuesSize

The total size of the allowedValues array, in bytes. This size must be a multiple of the size of the type of the value of the property.

out

When WsMatchPolicyAlternative returns NOERROR, the entire contents of this structure will be filled out.

out.requestSecurityTokenProperty

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header webservices.h