Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Post an article
Translate this page
Powered by
Microsoft® Translator
Wikis - Page Details
First published by
Alik Levin
When:
3 Aug 2011 4:34 PM
Last revision by
Alik Levin
When:
20 Mar 2012 10:20 AM
Revisions:
11
Comments:
0
Options
Subscribe to Article (RSS)
Share this
Can You Improve This Article?
Positively!
Click Sign In to add the tip, solution, correction or comment that will help other users.
Report inappropriate content using
these instructions
.
Wiki
>
TechNet Articles
>
Claims-Based Authorization In Claims-Aware Applications and Services
Claims-Based Authorization In Claims-Aware Applications and Services
Article
History
Claims-Based Authorization In Claims-Aware Applications and Services
Back to
Windows Azure Active Directory Solutions For Developers
Table of Contents
Scenario
Solution Approach
Analysis
How-To's
Code Samples
Resources
Scenario
In this scenario application requires to implement complex authorization rules logic, something that cannot be satisfied using only roles. The application enforces access by calculating the outcome - grant or deny access - based on the information available in the request including the claims in the incoming token.
The application uses claims-based authentication
Role Based Access Control (RBAC) cannot satisfy authorization requirements
Authorization outcome - grant or deny access - is calculated based on complex rules and the data available in the token.
Solution Approach
The solution relies on ClaimsAuthorizationManager - WIF' extensibility point. You develop custom ClaimsAuthorizationManager and register it in web.config. You can optionally express the rules as a policy in the web.config so that the custom ClaimsAuthorizationManager can read them at run time and enforce them for the incoming requests. For detailed step-by-step walkthrough read
How To: Implement Claims Authorization in a Claims-Aware ASP.NET Application Using WIF and ACS
.
Application uses WIF
Application uses ClaimsAuthorizationManager as an extensibility point
Implement custom ClaimsAuthorizationManager and define authorization policy in the configuration file
Call CheckAccss in the code to enforce the authorization policy.
Analysis
Implement claims-cased authorization when role base access control (RBAC) is insufficient to satisfy authorization requirements. Read more about RBAC in
Role-Based Access Control (RBAC) Authorization In Claims-Aware Applications
How-To's
How To: Implement Token Transformation Logic Using Rules
How To: Implement Claims Authorization in a Claims-Aware ASP.NET Application Using WIF and ACS
Code Samples
Code Sample: Claims based Authorization in
Windows Identity Foundation SDK
Resources
Authorization in Claims-Aware Web Applications and Services
ACS
,
AD FS
,
adfs
,
cloud
,
Identity
,
RBAC
,
WIF