【正文】
WSPolicy WSPolicy Attachment WSPolicy Assertions WSMetadata Exchange Microsoft Architects Forum 28 WSPolicy (1/2) ?Policy expressions ? Choices over domain specific assertions ?Operators ? All ? ExactlyOne ? OneOrMore ? Policy ExactlyOne All B C D A All Microsoft Architects Forum 29 WSPolicy (2/2) ? Usage ? Required ? Rejected ? Optional ? Observed ? Ignored ? Preference ? Hint Microsoft Architects Forum 30 WSPolicy Example wsp:ExactlyOne wsp:Usage=39。 wsp:All wsp:Preference=‘1’ jeff:MainCourseBurger/jeff:MainCourse jeff:SideFries/jeff:Side /wsp:All wsp:All wsp:Preference=‘2’ jeff:MainCoursePizza/jeff:MainCourse jeff:SideYogurt/jeff:Side /wsp:All /wsp:ExactlyOne Domainspecific assertions Operators Usage Preference Microsoft Architects Forum 31 Metadata WSDL WSPolicy WSPolicy Attachment WSPolicy Assertions WSMetadata Exchange Microsoft Architects Forum 32 WSPolicyAttachment ? Defines what a policy applies to ? Associates domain expression with policy ? Domain expression indicates scope ? Policy makes statements about that scope wsp:PolicyAttachment wsp:AppliesTo wsa:EndpointReference wsa:Address /wsa:EndpointReference /wsp:AppliesTo wsp:Policy ... /wsp:Policy /wsp:PolicyAttachment Domain expression Microsoft Architects Forum 33 Metadata WSDL WSPolicy WSPolicy Attachment WSPolicy Assertions WSMetadata Exchange Microsoft Architects Forum 34 General WSPolicyAssertions ? TextEncoding: Character encoding ? Language: Natural (human) language ? SpecVersion: URI asserting pliance with spec ? MessagePredicate: Statement about message wsp:TextEncoding Encoding=39。 / wsp:Language Language=39。 / wsp:SpecVersion wsp:Usage=39。 URI=39。wsp:Required39。 C ? B verifies token on request of A amp。 server use token to encrypt messages Asymmetric Encryption Symmetric Encryption Microsoft Architects Forum 52 WSSecurityPolicy WSSecurity WSSecure Conversation WSTrust WSSecurity Policy WSFederation Microsoft Architects Forum 53 Motivation ? Specified set for mon security policies ? Policy assertions for the security domain Microsoft Architects Forum 54 WSSecurityPolicy ? WSSec* specs based policy assertions ? Allows participants to specify ? Token types ? Whether integrity/confidentiality are required ? Algorithms ? Which message parts need signing/encrypting Microsoft Architects Forum 55 Security Assertion Examples wsp:ExactlyOne wsp:Usage=39。 xmlns:wsp=39。10039。 ws:TokenTypews:x509v3/ws:TokenType /ws:SecurityToken ws:SecurityToken wsp:Preference=39。 xmlns:ws=39。Required39。ws:AlgCanonicalization39。 / ws:Algorithm Type=39。 URI=39。ws:AlgDigest39。 / /ws:Integrity Security Token Integrity Microsoft Architects Forum 56 Security WSSecurity WSSecure Conversation WSTrust WSSecurity Policy WSFederation Microsoft Architects Forum 57 Reliable Messaging WSReliableMessaging Microsoft Architects Forum 58 Motivations (1/2) ? Guaranteed message delivery ? Current problems ? HTTP messages arrive 0 or many t