Anonymous_User Absent Member.
Absent Member.
860 views

Wrong Credential Prompt


Hi,

I have troubles getting SecureLogin asking me for the right credentials
the first time I login (i.e., before initializing credentials).
Here's my code:

SetPlat "appweb1.intranet.uslaosta/medtrak"

If -NotExist $passwordhistory1 --> this is what I did to avoid the
problem
Set $passwordhistory1 "l"
EndIf

## BeginSection: "Login Form"
Dialog
Class "ThunderRT6FormDC"
EndDialog
SETPROMPT \"NOME UTENTE:\"
Type -raw $Username
SETPROMPT \"PASSWORD:\"
Type -raw "\t"
Type -raw $Password
SETPROMPT \"INSERIRE CREDENZIALI:\"
Type -raw "\t"
Type -raw "\t"
EndScript
## EndSection: "Login Form"


Nowhere in the code there's a reference to passwordhistory1, yet it
asks me for a value. At first I thought that it might depend on the fact
that the definition is linked to another definition's Login, but when I
deleted the credential from that link still it asked me for a value.

Does anyone have a clue why would SecureLogin prompt me for a non
existing credential?

Thanks.


--
cvattani
------------------------------------------------------------------------
cvattani's Profile: http://forums.novell.com/member.php?userid=111532
View this thread: http://forums.novell.com/showthread.php?t=448230

0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: Wrong Credential Prompt

When NSL starts up a script it parses it to see what variables may be in
use and then validates them against those stored against that
application. That is why it is coming up and asking for that value
initially. You might want to try:

SetPlat "appweb1.intranet.uslaosta/medtrak"
If -Exists $Username
Else
DisplayVariables $Username $Password
Set $PasswordHistory1 "Value"
EndIf

Dave


On 15/11/2011 14:36, cvattani wrote:
>
> Hi,
>
> I have troubles getting SecureLogin asking me for the right credentials
> the first time I login (i.e., before initializing credentials).
> Here's my code:
>
> SetPlat "appweb1.intranet.uslaosta/medtrak"
>
> If -NotExist $passwordhistory1 --> this is what I did to avoid the
> problem
> Set $passwordhistory1 "l"
> EndIf
>
> ## BeginSection: "Login Form"
> Dialog
> Class "ThunderRT6FormDC"
> EndDialog
> SETPROMPT \"NOME UTENTE:\"
> Type -raw $Username
> SETPROMPT \"PASSWORD:\"
> Type -raw "\t"
> Type -raw $Password
> SETPROMPT \"INSERIRE CREDENZIALI:\"
> Type -raw "\t"
> Type -raw "\t"
> EndScript
> ## EndSection: "Login Form"
>
>
> Nowhere in the code there's a reference to passwordhistory1, yet it
> asks me for a value. At first I thought that it might depend on the fact
> that the definition is linked to another definition's Login, but when I
> deleted the credential from that link still it asked me for a value.
>
> Does anyone have a clue why would SecureLogin prompt me for a non
> existing credential?
>
> Thanks.
>
>

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.