摘要: 使用Troleauth类,一种类似注视的代码进行授权,也是最简单和方便的方式,实现如下:unit ServerMethodsUnit1;interfaceuses System.SysUtils, System.Classes, System.Json, Datasnap.DSServer, ... 阅读全文
posted @ 2015-04-08 20:55 delphi老中医 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 先实现TDSAuthenticationManager的OnUserAuthticate事件对客户端认证:procedure TServerContainer1.DSAuthenticationManager1UserAuthenticate( Sender: TObject; const Pro... 阅读全文
posted @ 2015-04-08 20:40 delphi老中医 阅读(735) 评论(0) 推荐(0) 编辑