Login Failed - Failed to validate login

Login Failed - Failed to validate login

145
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:57 PM


Symptom


When using PSM-WebApp connectors with RunValidations set to Yes, you get the following error:
 
 
 
 
 
 
 
 
 
 
 
 
In the dispatcher log, you also see the following error as well:
PSMDU018E Dispatcher error: [Selenium :: FindObject -> Element 'CLASS' was not found.]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateObejctData -> END]
PSMDU018E Dispatcher error: [LoginValidationLogic :: ValidateLogin -> Validation elements were not found in page.]


Environment


11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PAM
PSM


Cause


The specified Class ID for validation is not present or may have changed.

Resolution


​​​​​​​
  • Update the Validation parameter in WebFormsField
  • Based on the example above:
CALogon_txtUserName>{Username}
CALogon_txtPassword>{Password}
CALogon_btnLogon>(Button)
x-tip-tr>(Validation) 
  • Wait for the PSM to refresh the policies.xml or restart the PSM service
  • Test the Web App connector again. 
Sample of successful validation:
PSMDU019I Dispatcher trace message: [ElementTypeBase :: FindObject -> Trying to find to element 'x-tip-tr' in page using type 'CLASS'.]
PSMDU019I Dispatcher trace message: [Selenium :: FindObject -> Element 'x-tip-tr' found by 'CLASS'.]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateObejctData -> END]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateLogin -> Validation element was found.]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateLogin -> END]
 


Additional Information


Details

SYMPTOM:

When using PSM-WebApp connectors with RunValidations set to Yes, you get the following error:















In the dispatcher log, you also see the following error as well:

PSMDU018E Dispatcher error: [Selenium :: FindObject -> Element 'CLASS' was not found.]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateObejctData -> END]
PSMDU018E Dispatcher error: [LoginValidationLogic :: ValidateLogin -> Validation elements were not found in page.]

PROBLEM:

The specified Class ID for validation is not present or may have changed.

SOLUTION:

1. Identify a Class ID for validation from the site.

Example from Secure File Exchange site (https://support.cyberark.com/SFE)














2. Update the Validation parameter in WebFormsField

Based on the example above:
CALogon_txtUserName>{Username}
CALogon_txtPassword>{Password}
CALogon_btnLogon>(Button)
x-tip-tr>(Validation) 

3. Wait for the PSM to refresh the policies.xml or restart the PSM service

4. Test the Web App connector again. 

Sample of successful validation:
PSMDU019I Dispatcher trace message: [ElementTypeBase :: FindObject -> Trying to find to element 'x-tip-tr' in page using type 'CLASS'.]
PSMDU019I Dispatcher trace message: [Selenium :: FindObject -> Element 'x-tip-tr' found by 'CLASS'.]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateObejctData -> END]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateLogin -> Validation element was found.]
PSMDU019I Dispatcher trace message: [LoginValidationLogic :: ValidateLogin -> END]




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001PxICAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail