I'm new to the Claims Security approach for authorizing users access to resources. I've been doing a lot of research and the majority of sites I've read have the policies for ClaimsAuthorizationManager entered in Web.config file. What are some ways to accomplish this? Can you point me to some links where policies are served from a database? Thanks.
相关问题
- How to create anchor href using Html.Helper [dupli
- Create a generic list in xaml 4.5+
- Value cannot be null or empty.\r\nParameter name:
- JQuery UI sortable() method not supported error
- How to change ILoggerFacade implementation to trac
相关文章
- MVC CDN fallback for Style Bundle
- Add to htmlAttributes for custom ActionLink helper
- The program '[4432] iisexpress.exe' has ex
- Securing REST endpoint using spring security
- Disable action method from being called from the a
- User.Identity.IsAuthenticated vs WebSecurity.IsAut
- Is there a way to update asp.net mvc bundle conten
- Add claims with Owin Middleware
I also ran into the same problem. Hopefully these links will help you. What I did was implemented my own
ClaimsAuthorizationManager
to get the claims for the current user and used Thinktecture.IdentityModel for claims checks.http://www.codeproject.com/Claims-Based-Authentication-and-Authorization
http://evolvingtechie.wordpress.com/misc/identity-and-access-management/claims-authorization-in-geneva-beta-2-%E2%80%93-introduction/
http://www.contentmaster.com/windows-communication-foundation/implementing-customizable-claims-based-authorization-with-windows-identity-foundation/
This has some snippets you can use. https://github.com/maniserowicz/claims-talk/tree/master/Claims.WG.NET/_snippets