Configuring Auto-Login for Web Apps built in Adobe Flash/JavaScript
search cancel

Configuring Auto-Login for Web Apps built in Adobe Flash/JavaScript

book

Article ID: 100675

calendar_today

Updated On:

Products

CA Privileged Access Manager - Cloakware Password Authority (PA) CA Privileged Access Manager (PAM)

Issue/Introduction

Customer needs to configure auto-login for a set of web portals that are not standard HTML forms (Adobe Flash and/or JavaScript pages). This will not work on the internal CA PAM Browser. This document will provide an alternative configuration to accomplish this goal.

How to configure auto-login for web portals built in Adobe Flash and/or JavaScript?

Environment

CA PAM 3.x

Resolution

This is what needs to be done:

1. Published the Web Browser in the RDP Collection, so it can be used by PAM; 
2. Created the RDP Application to run the browser - the browser's home page is the target page to do the Transparent Login, which is a form made in Adobe Flash and/or JavaScript; 
3. Executed the Learn Mode to generate the following script: 

<window id=""> 
     <inputfreeze action="enable"/> 
     <sleep time="2000"/> 
     <click x="126" y="115"/> 
     <send id="window" username="true"/> 
     <click x="128" y="139"/> 
     <send id="window" password="true"/> 
     <click x="50" y="347"/> 
     <inputfreeze action="disable"/> 
</window> 


4. Linked the Transparent Login Script and an Account to the RDP Application. It requires the window title - if the page is omitting its title, then the window title would be one of the following: 

- Just the browser name; 
- An empty space followed by a dash and the browser name (for example " - Microsoft Internet Explorer" - without the quotes); 
- The web page file name followed by a dash and the browser name (for example "form.html - Microsoft Internet Explorer" - without the quotes). 

Please note that the script is configured to do keystrokes based on axis positioning (X and Y axis), so you must ensure that the browser window always start maximized to avoid misplacement of the cursor. Also, this script prevents user input while the Transparent Login is running, to avoid users intentionally misplacing the cursor to gain access to the password.