10
1 Secure Web Secure Web Services Services Development Development with Microsoft Web with Microsoft Web Services Enhancements Services Enhancements (WSE 2.0) (WSE 2.0) Jim Van Dyke

1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

Embed Size (px)

Citation preview

Page 1: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

1

Secure Web Secure Web ServicesServices

DevelopmentDevelopmentwith Microsoft Web Services with Microsoft Web Services

Enhancements (WSE 2.0)Enhancements (WSE 2.0)

Jim Van Dyke

Page 2: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

2

WSE 2.0WSE 2.0

Add-on to Visual Studio .NET and the .NET Add-on to Visual Studio .NET and the .NET Framework Framework

Interface Tool and Classes that implement Interface Tool and Classes that implement the WS-* Specificationsthe WS-* Specifications

Page 3: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

3

WS-* SpecificationsWS-* Specifications

WS-SecurityWS-Security Secure SOAP Messages; Confidentiality Secure SOAP Messages; Confidentiality

(encryption) and Integrity (digital (encryption) and Integrity (digital signatures)signatures)

WS-SecureConversationWS-SecureConversation Secure Communications; Security Secure Communications; Security

ContextsContexts

Page 4: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

4

WS-* SpecificationsWS-* Specifications

WS-Policy and WS-SecurityPolicyWS-Policy and WS-SecurityPolicy Means to specify security policies and Means to specify security policies and

requirements (e.g., security token requirements (e.g., security token requirements)requirements)

WS-TrustWS-Trust Means to exchange security tokens; Means to exchange security tokens;

Communications protocol for federationCommunications protocol for federation

WS-FederationWS-Federation Brokering Trust, Single Sign-in/out, Brokering Trust, Single Sign-in/out,

Attributes, and PseudonymsAttributes, and Pseudonyms

Page 5: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

5

WSE: Major FeaturesWSE: Major Features Securing Web servicesSecuring Web services

Security credentials, Digital signing, Security credentials, Digital signing, EncryptionEncryption

PolicyPolicy

SOAP messagingSOAP messaging

Routing SOAP messagesRouting SOAP messages

Sending attachments with SOAP messagesSending attachments with SOAP messages

Page 6: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

6

WSE ArchitectureWSE Architecture

WSE filter chains are integrated with WSE filter chains are integrated with the SOAP Messaging built-into WSE the SOAP Messaging built-into WSE and the ASP.NET Web services and the ASP.NET Web services infrastructure. infrastructure.

Page 7: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

7

WSE ArchitectureWSE Architecture

Page 8: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

8

WSE PoliciesWSE Policies

There are four basic steps to configure There are four basic steps to configure a Web service's policy:a Web service's policy: Create a policy file. Create a policy file.

Declare the set of policies for the policy Declare the set of policies for the policy file.file.

Map the policies to SOAP endpoints.Map the policies to SOAP endpoints.

Configure the policy file.Configure the policy file.

Page 9: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

9

WSE PoliciesWSE Policies WSE has built-in support the following WSE has built-in support the following

policy assertions:policy assertions: Security tokenSecurity token

IntegrityIntegrity

ConfidentialityConfidentiality

Message ageMessage age

Message predicateMessage predicate

Page 10: 1 Secure Web Services Development with Microsoft Web Services Enhancements (WSE 2.0) Jim Van Dyke

10

Basic FederationBasic FederationDirect Trust Token ExchangeDirect Trust Token Exchange

TrustTrustGet identityGet identitytokentoken

Get accessGet accesstokentoken11

33

22

IP/STS IP/STS

Requestor

Resource

Partially adapted from workshop slides by Tony Nadalin (IBM) and Chris Kaler (Microsoft)