C# 在使用windows Kerberos身份验证时,如何使Context.User.HasClaim()和[Authorize”(“Administrator”和“Allow”)起作用? 给定:身份框架7 Beta 3和实体框架7(vNext) 给定:Windows Kerberos身份验证
上下文。用户从windows Kerberos身份验证上下文分配了IPrincipal。用户对象不包含分配给使用实体框架存储的匹配Microsoft.AspNet.Identity.Identity.IdentityUser的声明 因此:C# 在使用windows Kerberos身份验证时,如何使Context.User.HasClaim()和[Authorize”(“Administrator”和“Allow”)起作用? 给定:身份框架7 Beta 3和实体框架7(vNext) 给定:Windows Kerberos身份验证,c#,asp.net-identity,C#,Asp.net Identity,上下文。用户从windows Kerberos身份验证上下文分配了IPrincipal。用户对象不包含分配给使用实体框架存储的匹配Microsoft.AspNet.Identity.Identity.IdentityUser的声明 因此: Context.User.HasClaim()无法确定授权 控制器操作方法上的[Authorize(“Administrator”、“Allow”)]属性,用于确定控制器上的授权无法运行 在使用windows Kerberos身份验证时,如何使Contex
- Context.User.HasClaim()无法确定授权
- 控制器操作方法上的[Authorize(“Administrator”、“Allow”)]属性,用于确定控制器上的授权无法运行
在使用windows Kerberos身份验证时,如何使Context.User.HasClaim()和[Authorize(“Administrator”,“Allow”)]正常工作?Identity Framework 7 Beta 3?我闻到打字错误。