Auto Sign on To Genie
-
- 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
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?
- 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
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?
-
- 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
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.
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.
- 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
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?
-
- 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
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.
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.
- 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
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.
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
Who is online
Users browsing this forum: No registered users and 6 guests