本文介绍了从数据库ClaimsAuthorizationManager拉动政策的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的授权声明安全的方法用户访问的资源。我已经做了很多的研究,大部分我读过有政策ClaimsAuthorizationManager在Web.config文件中输入网站。有什么办法做到这一点?你可以点我一些链接,其中政策是从数据库服务?谢谢你。

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.

推荐答案

我也遇到了同样的问题。希望这些链接会帮助你。我所做的就是实现我自己的 ClaimsAuthorizationManager 来获取当前用户的索赔和使用的理赔支票。

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.

<一个href=\"http://evolvingtechie.word$p$pss.com/misc/identity-and-access-management/claims-authorization-in-geneva-beta-2-%E2%80%93-introduction/\" rel=\"nofollow\">http://evolvingtechie.word$p$pss.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

这篇关于从数据库ClaimsAuthorizationManager拉动政策的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 11:37