2017-05-12 12:48:44 +02:00
|
|
|
object Form7: TForm7
|
|
|
|
Left = 0
|
|
|
|
Top = 0
|
|
|
|
Caption = 'Form7'
|
|
|
|
ClientHeight = 353
|
|
|
|
ClientWidth = 602
|
|
|
|
Color = clBtnFace
|
|
|
|
Font.Charset = DEFAULT_CHARSET
|
|
|
|
Font.Color = clWindowText
|
|
|
|
Font.Height = -11
|
|
|
|
Font.Name = 'Tahoma'
|
|
|
|
Font.Style = []
|
|
|
|
OldCreateOrder = False
|
|
|
|
OnCreate = FormCreate
|
|
|
|
DesignSize = (
|
|
|
|
602
|
|
|
|
353)
|
|
|
|
PixelsPerInch = 96
|
|
|
|
TextHeight = 13
|
|
|
|
object Label3: TLabel
|
|
|
|
Left = 8
|
|
|
|
Top = 31
|
|
|
|
Width = 89
|
|
|
|
Height = 13
|
|
|
|
Caption = 'Available accounts'
|
|
|
|
end
|
|
|
|
object Label4: TLabel
|
|
|
|
Left = 8
|
|
|
|
Top = 8
|
|
|
|
Width = 42
|
|
|
|
Height = 14
|
|
|
|
Caption = 'STEP 1'
|
|
|
|
Color = clWindowText
|
|
|
|
Font.Charset = DEFAULT_CHARSET
|
|
|
|
Font.Color = clRed
|
|
|
|
Font.Height = 14
|
|
|
|
Font.Name = 'Tahoma'
|
|
|
|
Font.Style = [fsBold]
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
Transparent = True
|
|
|
|
end
|
|
|
|
object Label5: TLabel
|
|
|
|
Left = 145
|
|
|
|
Top = 8
|
|
|
|
Width = 42
|
|
|
|
Height = 14
|
|
|
|
Caption = 'STEP 2'
|
|
|
|
Color = clWindowText
|
|
|
|
Font.Charset = DEFAULT_CHARSET
|
|
|
|
Font.Color = clRed
|
|
|
|
Font.Height = 14
|
|
|
|
Font.Name = 'Tahoma'
|
|
|
|
Font.Style = [fsBold]
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
Transparent = True
|
|
|
|
end
|
|
|
|
object Label6: TLabel
|
|
|
|
Left = 312
|
|
|
|
Top = 8
|
|
|
|
Width = 42
|
|
|
|
Height = 14
|
|
|
|
Caption = 'STEP 3'
|
|
|
|
Color = clWindowText
|
|
|
|
Font.Charset = DEFAULT_CHARSET
|
|
|
|
Font.Color = clRed
|
|
|
|
Font.Height = 14
|
|
|
|
Font.Name = 'Tahoma'
|
|
|
|
Font.Style = [fsBold]
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
Transparent = True
|
|
|
|
end
|
|
|
|
object Label7: TLabel
|
|
|
|
Left = 8
|
|
|
|
Top = 129
|
|
|
|
Width = 119
|
|
|
|
Height = 52
|
|
|
|
Caption =
|
|
|
|
'user1 has "role1", user2 has "role2", user3 has "role1 and role2' +
|
|
|
|
'", admin has all the roles'
|
|
|
|
WordWrap = True
|
|
|
|
end
|
|
|
|
object GroupBox1: TGroupBox
|
|
|
|
Left = 145
|
|
|
|
Top = 31
|
|
|
|
Width = 161
|
|
|
|
Height = 147
|
|
|
|
Caption = 'Login/Logout'
|
|
|
|
TabOrder = 0
|
|
|
|
object Label1: TLabel
|
|
|
|
Left = 16
|
|
|
|
Top = 20
|
|
|
|
Width = 48
|
|
|
|
Height = 13
|
|
|
|
Caption = 'Username'
|
|
|
|
end
|
|
|
|
object Label2: TLabel
|
|
|
|
Left = 16
|
|
|
|
Top = 66
|
|
|
|
Width = 46
|
|
|
|
Height = 13
|
|
|
|
Caption = 'Password'
|
|
|
|
end
|
|
|
|
object edtUsername: TEdit
|
|
|
|
Left = 16
|
|
|
|
Top = 39
|
|
|
|
Width = 121
|
|
|
|
Height = 21
|
|
|
|
TabOrder = 0
|
|
|
|
Text = 'user1'
|
|
|
|
end
|
|
|
|
object edtPassword: TEdit
|
|
|
|
Left = 16
|
|
|
|
Top = 85
|
|
|
|
Width = 121
|
|
|
|
Height = 21
|
|
|
|
TabOrder = 1
|
|
|
|
Text = 'user1pass'
|
|
|
|
end
|
|
|
|
object btnLogInLogOut: TButton
|
|
|
|
Left = 16
|
|
|
|
Top = 112
|
|
|
|
Width = 121
|
|
|
|
Height = 25
|
|
|
|
Caption = 'btnLogInLogOut'
|
|
|
|
TabOrder = 2
|
|
|
|
OnClick = btnLogInLogOutClick
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object Panel1: TPanel
|
|
|
|
Left = 0
|
|
|
|
Top = 326
|
|
|
|
Width = 602
|
|
|
|
Height = 27
|
|
|
|
Align = alBottom
|
|
|
|
TabOrder = 1
|
|
|
|
end
|
|
|
|
object Button1: TButton
|
|
|
|
Left = 311
|
|
|
|
Top = 31
|
|
|
|
Width = 283
|
|
|
|
Height = 27
|
|
|
|
Anchors = [akLeft, akTop, akRight]
|
|
|
|
Caption = 'Call Public Action (no login required)'
|
|
|
|
TabOrder = 2
|
|
|
|
OnClick = Button1Click
|
|
|
|
end
|
|
|
|
object Memo1: TMemo
|
|
|
|
Left = 8
|
2017-05-15 14:58:13 +02:00
|
|
|
Top = 196
|
2017-05-12 12:48:44 +02:00
|
|
|
Width = 586
|
2017-05-15 14:58:13 +02:00
|
|
|
Height = 124
|
2017-05-12 12:48:44 +02:00
|
|
|
Anchors = [akLeft, akTop, akRight, akBottom]
|
|
|
|
Lines.Strings = (
|
|
|
|
'Memo1')
|
|
|
|
TabOrder = 3
|
|
|
|
end
|
|
|
|
object Button2: TButton
|
|
|
|
Left = 311
|
|
|
|
Top = 64
|
|
|
|
Width = 283
|
|
|
|
Height = 27
|
|
|
|
Anchors = [akLeft, akTop, akRight]
|
|
|
|
Caption = 'Call action allowed only for "role1"'
|
|
|
|
TabOrder = 4
|
|
|
|
OnClick = Button2Click
|
|
|
|
end
|
|
|
|
object Button3: TButton
|
|
|
|
Left = 311
|
|
|
|
Top = 97
|
|
|
|
Width = 283
|
|
|
|
Height = 27
|
|
|
|
Anchors = [akLeft, akTop, akRight]
|
|
|
|
Caption = 'Call action allowed only for "role2"'
|
|
|
|
TabOrder = 5
|
|
|
|
OnClick = Button3Click
|
|
|
|
end
|
|
|
|
object ListBox1: TListBox
|
|
|
|
Left = 8
|
|
|
|
Top = 51
|
|
|
|
Width = 131
|
|
|
|
Height = 59
|
|
|
|
ItemHeight = 13
|
|
|
|
Items.Strings = (
|
|
|
|
'user1:user1pass'
|
|
|
|
'user2:user2pass'
|
|
|
|
'user3:user3pass'
|
|
|
|
'admin:adminpass')
|
|
|
|
TabOrder = 6
|
|
|
|
OnClick = ListBox1Click
|
|
|
|
end
|
|
|
|
object Button4: TButton
|
|
|
|
Left = 311
|
|
|
|
Top = 130
|
|
|
|
Width = 283
|
|
|
|
Height = 27
|
|
|
|
Anchors = [akLeft, akTop, akRight]
|
|
|
|
Caption = 'Call action allowed only for "role1 and role2"'
|
|
|
|
TabOrder = 7
|
|
|
|
OnClick = Button4Click
|
|
|
|
end
|
2017-05-15 14:58:13 +02:00
|
|
|
object Button5: TButton
|
|
|
|
Left = 311
|
|
|
|
Top = 163
|
|
|
|
Width = 283
|
|
|
|
Height = 27
|
|
|
|
Anchors = [akLeft, akTop, akRight]
|
|
|
|
Caption = 'Call dynamic eval for admin'
|
|
|
|
TabOrder = 8
|
|
|
|
OnClick = Button5Click
|
|
|
|
end
|
2017-05-12 12:48:44 +02:00
|
|
|
object ApplicationEvents1: TApplicationEvents
|
|
|
|
OnIdle = ApplicationEvents1Idle
|
|
|
|
Left = 16
|
|
|
|
Top = 184
|
|
|
|
end
|
|
|
|
end
|