Auto Sign on To Genie

Use this board to ask questions or have discussions with other Genie users.
Post Reply
FoxBill
Profound User
Posts: 38
Joined: Mon Jun 20, 2011 11:44 am
First Name: Bill
Last Name: Streit
Company Name: Fox Metro WRD
Contact:

Auto Sign on To Genie

Post by FoxBill »

I am looking for sample code to bypass the sign on Screen. I want to be able to automatically sign in. How does one store the login and password in Logic to lanch Genie but also allow one to logout when finished?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Auto Sign on To Genie

Post by David »

Are you looking to sign in automatically using a generic user id/password? Or can you explain a bit more what you are looking for?
FoxBill
Profound User
Posts: 38
Joined: Mon Jun 20, 2011 11:44 am
First Name: Bill
Last Name: Streit
Company Name: Fox Metro WRD
Contact:

Re: Auto Sign on To Genie

Post by FoxBill »

I am Looking to add a shortcut on User Screen to log them in with out having to maually login.
I guess I would have to create a seperate skin for each user, so I can individually store their sign in information.
There was a sample code of the auto sign in in your Screen Customization Guide that does not work with Version 3 level. I am looking for Something simular to that but works with current Version 3.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Auto Sign on To Genie

Post by David »

What is the user screen you are referring to that the user would be signed into already? What type of application is this? A Telnet/5250 session?
FoxBill
Profound User
Posts: 38
Joined: Mon Jun 20, 2011 11:44 am
First Name: Bill
Last Name: Streit
Company Name: Fox Metro WRD
Contact:

Re: Auto Sign on To Genie

Post by FoxBill »

I am just looking to have a person once they are signed on to our network, they could click on a desktop short cut and it would bypass the login screen and they would be at their main menu screen. I am looking to have the option of imbedding the login and Password.
I had it working that i can Sign in automatically but i can not exit the program. I have to click on the X in the corner of the window. If I try to enter 90 (Signoff) it signs me off then propagates the Login info and signs right back in.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Auto Sign on To Genie

Post by David »

The trouble with this is that it's not easy to secure.

It's pretty easy to sign the user into Genie and out again -- see the attached document which explains how to use macros in V3.

You can create a macro that detects the sign on screen (the trick is to use 'detectonce' so it doesn't sign them back in every time they come back here) and signs them in using substitution variables. It can then detect the sign on screen again (use 'detect' this time, later in the macro), and can then run the 'close' command to sign them off.

The problem is that it's not secure to pass users/passwords on the URL, so sending them with substiution variables is not good.

You can code user/passwords into the macro filess themselves, but what's then to stop a user from running somebody else's macro?

The only real secure way of getting a user signed into Genie automatically based on them being signed into your network is to implement Kerberos-based single sign on between your network and the iSeries.

Genie does support this if it's in place.
Attachments
Genie Macros.pdf
(869.32 KiB) Downloaded 374 times
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests