Export (0) Print
Expand All

PolicyEnforcementSecurityTokenCache Class

Represents a cache of security tokens used by policy for outgoing SOAP messages.

Namespace: Microsoft.Web.Services2.Security.Policy
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

'Usage
Dim policyEnforcementSecurityTokenCache1 As PolicyEnforcementSecurityTokenCache

public sealed class PolicyEnforcementSecurityTokenCache : ICollection, IEnumerable
public final class PolicyEnforcementSecurityTokenCache implements ICollection, IEnumerable
public class PolicyEnforcementSecurityTokenCache implements ICollection, , IEnumerable

Use the PolicyEnforcementSecurityTokenCache class when you enable policy for outgoing SOAP messages. When policy for outgoing SOAP messages is enabled, WSE uses the PolicyEnforcementSecurityTokenCache returned from the GlobalCache property to obtain security tokens that meet the policy requirements to sign, encrypt, and/or add security tokens to SOAP messages. SOAP message senders can add security tokens to either the PolicyEnforcementSecurityTokenCache or directly to the SoapContext for the SOAP message when policy is used for outgoing SOAP messages. When the SOAP message is sent, WSE evaluates the policy to determine the security token requirements and then first looks in the Tokens property of the Security property of the current SoapContext to find a security token that adheres to the policy. If none are found, WSE then searches the tokens in the PolicyEnforcementSecurityTokenCache for a security token that adheres to the policy. For more information about using send-side policy, see Configuring a Web Service's Policy.


System.Object
  Microsoft.Web.Services2.Security.Policy.PolicyEnforcementSecurityTokenCache

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
Show:
© 2014 Microsoft