相关文章  
  • Visual Studio 2005中C++的变化
  • Windows Mobile 2003 Second Edition 中 ActiveSync 编程模型的增强功能
  • 在完成所有绑定后仍然有许多要进行的操作
  • 在你的企业中管理Windows和应用程序
  • 动态加载用户控件的组件
  • 小心GDI+资源泄漏 -- 猜想 测试 应对全过程
  • 浅谈 C# 中的代码协同 (Coroutine) 执行支持
  • 在 C# 中处理结构内的数组源代码分析
  • 谈 WinDbg 之 InternalCall 的使用与实现
  • 谈 WinDbg 之 AppDomain 的创建过程
  •   推荐  
      科普之友首页   专利     科普      动物      植物        天文   考古   前沿科技
     您现在的位置在:  首页 >>文献 >>培训

    使用Reporting Services窗体身份验证7

    命名空间的成员。
      
      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页

         

          设为首页       |       加入收藏       |       广告服务       |       友情链接       |       版权申明      

    Copyriht 2007 - 2008 ©  科普之友 All right reserved