Freigeben über


Windows Azure Learning Path–Level 300 : Exercise 2

Exercise 2: Use Claims for Authorizing Users

In this exercise you will focus authorizing users to perform various privileged activities on the web site. We will use WIF to unpack the SAML token to individual claims and allow execution of code based on the claims send through the token.

Task 1 - Visualizing the Claims from the Access Control Service

In this task you will visualize the claims that came through the SAML token. We will use Windows Identity Foundation to decrypt the token and display it on the ASP.NET page.

Task 2 - Creating Authorization Rules

In this task you will create authorization rules using Access Control Service wizard.

Task 3 - Authorizing Based on the Claims Provided by Access Control Service

In this task you will leverage the role information for granting or denying access to web site functions.

Verification

You will now verify if the authorization entitlements are working by logging in with multiple identities.