This session type in Reflection or InfoConnect Desktop enables the administrator to implement automated sign-on for users who create and save mainframe sessions on their desktops.
The Workspace Automated Sign-on session type requires Reflection or InfoConnect Desktop version 16.2 or higher.
Continue with steps 6 and 7 for Reflection or InfoConnect Desktop - Workspace Automated Sign-on.
In brief, the administrator must:
This global setting establishes a connection between the client and the MSS Administrative Server, which is needed to request and deliver the PassTicket for automated sign-on.
In Reflection or InfoConnect Desktop, open the Workspace Settings.
Click Configure Centralized Management.
Check Enable Centralized Management.
Enter the URL for your MSS Administrative Server (Management and Security Server).
Click OK.
Check Enable automated sign-on for mainframe sessions.
This setting is needed to use Automated Sign-on for Mainframe when sessions are created by users and saved on their individual desktops. When enabled, the automated sign-on macro inserts a time-limited PassTicket to log the user on to the mainframe session.
Create a macro that uses methods and properties on the IbmTerminal object.
To automatically log on a user to a mainframe session, the macro must:
Send a host application ID to the MSS Administrative Server so that the Administrative Server can request a PassTicket from DCAS.
Insert the user's RACF credentials (PassTicket and mainframe user ID) that are returned from the MSS Administrative Server (to the client) into the data that is transmitted to the host. This action logs the user on to the mainframe application.
Follow these steps, heeding the required naming conventions.
Gather these details for the macro:
the application ID
valid logon credentials for the mainframe application
In Reflection or InfoConnect Desktop, create a session and configure it to connect to the host that users will automatically log on to.
From the Macros tab, click Record VBA.
Log on to the mainframe host application with valid credentials, and then click Stop Recording.
In the Recording Complete dialog, save the macro in the current document’s project. Name the macro according to these requirements:
To apply the macro to all sessions connecting to this mainframe, name it SignOn.
To apply this macro only to sessions connecting to a specific port on this mainframe, you must append the name with underscore [_]<port number>.
For example: SignOn_623.
NOTE:If you want to specify different logon information for different ports on the same host, you can create a macro for each port and save these macros in the same VBA module.
For example, if you connect to a mainframe on port 623 and on port 723 with a different logon, create different macros named SignOn_623 and SignOn_723. When the session connects, the port-specific macro is used.
Save the session document file with this required name: ASM.rd3x
The session must be named ASM.rd3x to ensure the session VBA Project component has the required name.
In the VBA Editor, open the ASM Project > Modules. Open the Recorded module.
Edit the macro code to use PassTickets:
Add this line after the variable declarations:
ibmCurrentTerminal.GetDASOPassTicket("APPID")
where "APPID" is replaced with the host application ID (noted in step 1).
Replace your user name with the DASOUserID retrieved by the GetDASOPassTicket function:
ibmCurrentScreen.SendKeys(ibmCurrentTerminal.DASOUserID)
As a result, your DASOUserID will be sent instead of your user name.
Comment out or delete the line that uses the PasswordBox function to prompt the user for the password.
hiddenTextEntry = ibmCurrentTerminal.Macro.PasswordBox("", "") If (hiddenTextEntry = "") Then Err.Raise 5002, "Hidden TextEntry", "No Value Provided.", "VBAHelp.chm", "5002" End If ibmCurrentScreen.SendKeys(hiddenTextEntry)
Replace that line with one that contains the DASOPassTicket that was retrieved by the GetDASOPassTicket function call, like this:
ibmCurrentScreen.SendKeys(ibmCurrentTerminal.DASOPassTicket)
HINT:To add another macro for a specific port on this mainframe, disconnect this session and connect on that port. Then repeat the steps in this procedure to record another SignOn macro and save it with the port number appended to the SignOn name (for example, SignOn_623).
Save the macro. Close the VBA editor and save the session document.
Next step, in MSS: 7. Create an IBM 3270 session for Workspace Automated Sign-on
In brief, the MSS administrator must
Open the Administrative Console to Manage Sessions, and click +Add.
Select Reflection/InfoConnect Desktop as the Product.
Select Workspace Automated Sign-on as the Session type.
Enter a Session name that exactly matches the name of the host to which the session document files are configured to connect.
For example, if the host name is myHost, then the Session name must be myHost.
If your environment has session documents that are configured to connect to variations of host names (such as fully qualified names or IP Addresses), create a separate Workspace Automated Sign-on session for each name. For examples, see the Manage Sessions Help.
Click Browse. Select the Reflection or InfoConnect Workspace session document file (ASM.rd3x) that contains the automated sign-on for mainframe login macro.
The Reflection or InfoConnect Desktop administrator created this session document during Initial Setup.
Click Save to upload the settings file and save the session.
The session is added to the Manage Sessions list and is available to be assigned.
Next step: 8. Assign access to one user for testing
8. Assign access to one user for testing