3

저는 사용자가 리소스에 대한 액세스 권한을 부여하기 위해 Claims Security 접근법을 처음 사용했습니다. 나는 많은 연구를 해왔으며 내가 읽은 대부분의 사이트에는 Web.config 파일에 입력 된 ClaimsAuthorizationManager에 대한 정책이 있습니다. 이 일을 성취 할 수있는 방법은 무엇입니까? 정책이 데이터베이스에서 제공되는 일부 링크를 가르쳐 주시겠습니까? 감사.ClaimsAuthorizationManager가 데이터베이스에서 정책을 가져옵니다.

답변

0

같은 문제가 발생했습니다. 바라건대 이러한 링크가 도움이되기를 바랍니다. 내가 한 것은 내 자신의 ClaimsAuthorizationManager을 구현하여 현재 사용자의 클레임을 받고 클레임 확인을 위해 Thinktecture.IdentityModel을 사용했습니다. http://www.contentmaster.com/windows-communication-foundation/implementing-customizable-claims-based-authorization-with-windows-identity-foundation/

http://evolvingtechie.wordpress.com/misc/identity-and-access-management/claims-authorization-in-geneva-beta-2-%E2%80%93-introduction/

http://www.codeproject.com/Claims-Based-Authentication-and-Authorization

당신이 사용할 수있는 몇 가지 조각을 가지고있다. https://github.com/maniserowicz/claims-talk/tree/master/Claims.WG.NET/_snippets

관련 문제