wmlogin.lfm 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. object SessionManagement: TSessionManagement
  2. OnCreate = DataModuleCreate
  3. OldCreateOrder = False
  4. DispatchOptions = [jdoSearchRegistry, jdoSearchOwner, jdoJSONRPC1, jdoJSONRPC2, jdoNotifications]
  5. APIPath = 'API'
  6. RouterPath = 'router'
  7. Height = 200
  8. HorizontalOffset = 582
  9. VerticalOffset = 455
  10. Width = 295
  11. object Login: TJSONRPCHandler
  12. OnExecute = LoginExecute
  13. Options = []
  14. ParamDefs = <
  15. item
  16. Name = 'UserName'
  17. end
  18. item
  19. Name = 'Password'
  20. end>
  21. left = 24
  22. top = 24
  23. end
  24. object IBConnection1: TIBConnection
  25. Connected = False
  26. LoginPrompt = False
  27. KeepConnection = False
  28. Transaction = SQLTransaction1
  29. LogEvents = []
  30. left = 24
  31. top = 117
  32. end
  33. object SQLTransaction1: TSQLTransaction
  34. Active = False
  35. Action = caNone
  36. Database = IBConnection1
  37. left = 26
  38. top = 72
  39. end
  40. object QAuthenticate: TSQLQuery
  41. AutoCalcFields = False
  42. Database = IBConnection1
  43. Transaction = SQLTransaction1
  44. ReadOnly = False
  45. SQL.Strings = (
  46. 'SELECT'
  47. ' U_ID, U_NAME'
  48. 'From'
  49. ' USERS'
  50. 'WHERE'
  51. ' (U_LOGIN = :LOGIN)'
  52. ' AND (U_PASSWORD=:PASSWORD);'
  53. ''
  54. )
  55. Params = <
  56. item
  57. DataType = ftUnknown
  58. Name = 'LOGIN'
  59. ParamType = ptUnknown
  60. end
  61. item
  62. DataType = ftUnknown
  63. Name = 'PASSWORD'
  64. ParamType = ptUnknown
  65. end>
  66. left = 128
  67. top = 117
  68. end
  69. object Logout: TJSONRPCHandler
  70. OnExecute = LogoutExecute
  71. Options = []
  72. ParamDefs = <>
  73. left = 120
  74. top = 16
  75. end
  76. end