Question

Activity to validate operator ID and password (non-hashed)

Hi,

Is there any activity to validate the operator id and password (as clean text)?

The requirement is to validate an supervisor credentials to continue the flow. (Pega 7.4)

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

October 2, 2019 - 4:03am

Hello,

I don't think we have such activity Out-Of-The-Box. It will also be depending on your login mechanism I think. 

Pega
October 4, 2019 - 2:18pm

Hi, 

There is an activity that does this: Code-Security.pzValidatePegaAuthentication. Don't call this activity but look at steps 3, 4 for reference as it's using a OTB Rule-Utility-Function. 

3) Obj-Open of operator record to check  to Operator page

4) When Condition:  @Utilities.samePassword(Operator.pyPwdCurrent, Param.Password)

Now you should be able to create your own processing using the samePassword RUF. 

Hope this helps,

--Chris

 

October 4, 2019 - 3:29pm
Response to ChrisKoyl

Hi Chris!

I tried adding the password in Param.Password (as clean text) in this function returns false every time.

However, I found this function @pxSamePassword which adding the password as a clean text, the pyPwdCurrent (hashed password) and the password property on which updated hash is to be stored worked fine!

Final solution: @pxSamePassword(Operator.pyPwdCurrent,Param.Password,"pyPassword")