SecureLogin ignores login prompt for Dynamic HTML page

  • 7014852
  • 04-Apr-2014
  • 04-Apr-2014

Environment

SecureLogin 
NSL7.x
NSL8.0
DHTML webpages 

Situation

DHTML events not detected
Login Dialog not recognized
IBM Rational ClearQuest login not seen
Wizard fails to detect login dialog on IBM Rational ClearQuest or other DHTML pages
SecureLogin does not act upon dynamic web pages

Resolution

1. Set (dword) WEBSSO_DHTML to 1 under HKEY_LOCAL_MACHINE\SOFTWARE\Protocom\SecureLogin
 
2. Modify the “Site” commands to watch for DHTML events, for example:
   Site "IBM Rational ClearQuest Login" -initial -events mutate create

Adding “-events”  tells SecureLogin to watch for DHTML events in general. “Mutate” tells SecureLogin to watch for “mutate” or change events, and “create” for create events.  Listing both tells SecureLogin to act when either a mutate or create event occurs.  As always, the commands under the “site” section will be executed if the conditions specified are met.  And of course, a message box can be used to test, for example:

Site "Whatever the title is" -initial -events mutate 
MatchForm #1 -name ""
MatchDomain "whatever.com"
MatchField #1:9 -type "text" -name "_ctl0:contentPlaceHolder:ssoLogin:UserName"
MatchField #1:10 -type "password" -name "_ctl0:contentPlaceHolder:ssoLogin:Password"
MatchField #1:12 -type "submit" -name "_ctl0:contentPlaceHolder:ssoLogin:LoginButton"
EndSite
MessageBox “Mutate event occurred”   

Site "Whatever the title is" -initial -events create 
MatchForm #1 -name ""
MatchDomain "whatever.com"
MatchField #1:9 -type "text" -name "_ctl0:contentPlaceHolder:ssoLogin:UserName"
MatchField #1:10 -type "password" -name "_ctl0:contentPlaceHolder:ssoLogin:Password"
MatchField #1:12 -type "submit" -name "_ctl0:contentPlaceHolder:ssoLogin:LoginButton"
EndSite

MessageBox “Create event occurred”

Additional Information

Note:  In this case the SecureLogin wizard did not "flash" on the login fields, but had still detected them as described in KB 7014853, "SecureLogin Wizard does not "Flash" on fields"  at https://support.microfocus.com/kb/doc.php?id=7014853