命名空间的成员。 LogonUser 方法是 Reporting Services 中所有身份验证的核心。可使用它将用户凭据传递给报告服务器进行验证。基础安全扩展实现包含自定义身份验证代码的 IAuthenticationExtension.LogonUser。在窗体身份验证示例(将在本指南后面部分介绍)中,LogonUser 根据提供的凭据和数据库中的自定义用户存储区执行身份验证检查。在窗体身份验证示例中,它类似于以下过程: 在 AuthenticationExtension.cs(窗体身份验证示例)中 public bool LogonUser(string userName, string password, string authority) { return AuthenticationUtilities.VerifyPassword(userName, password); } 在 AuthenticationUtilities.cs(窗体身份验证示例)中 internal static bool VerifyPassword(string suppliedUserName, string suppliedPassword) { bool passwordMatch = false; // 基于用户名从数据库中获取 Salt 和密
数据载入中...
页码:[1] [2] [3] [4] [5] [6] [7] 第7页、共7页 |