BR! Client Server - Auto login (via AutoIt)

More advanced topics discussed.

Moderators: Susan Smith, admin, Gabriel

Post Reply
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

BR! Client Server - Auto login (via AutoIt)

Post by John »

When the Client Server version of Business Rules! launches it requires you to type your password and press enter each time. This got old so I found a nice little work around. I made the following AutoIt script:

While 1
WinWaitActive("Business Rules! Connect")
Send("your password here")
Sleep(250)
Send("{Enter}")
WEnd
Exit

and compiled it with the latest version of AutoIt (uncompilable) and copied the compiled executable to my "C:\Documents and Settings\JBowman\Start Menu\Programs\Startup" folder.

Now when ever I launch a client server version of Business Rules! it automatically logs me in.

Very convenient.
-John Bowman
bluesfannoz
Posts: 291
Joined: Fri Jun 19, 2009 9:01 am
Location: Lawrence, Kansas
Contact:

Post by bluesfannoz »

Cool!

If your not worried about security in office. You can use Anonymous in your brlistener.conf and it will let anyone in without a username and password.

Security Issues:

If ANONYMOUS= is specified, all users accessing the process will be logged in under username on the server. In this case, the user is not requested to provide his or her name and password, and it is not possible to specify a particular WSID for the user. USE THIS FEATURE WITH CAUTION. It is left up to the application to authenticate access. USERNAME SHOULD HAVE RESTRICTED OS ACCESS. Remember, it is possible to access any pathname under BR by preceding the reference with a colon.

You may wish to remap command characters such as ctrl-A to a null value. If you wish to make interrupts possible by only your support staff, you can map hex CO, or any other BR line draw character, to 01 (ctrl-A). Hex C0 is generated by the digit 1 only when in line draw mode which is toggled by ctrl-\. (e.g. keyboard 01 41, keyboard C0 01 - accessed by ctrl-\ 1 ctrl-\)

Generally, BRserver inherits the security privileges of BRlistener. They are then restricted according to the permissions of the person logging in (or the "anonymous=" username).
Steve Koger
Computer Specialist
SEKESC-MACS Division
Post Reply