Question
Swedbank
SE
Last activity: 16 Mar 2018 11:13 EDT
Passing Passwords as property value to authentication profile
I am using connect-HTTP rule with basic authentication and would need to pass the username and password as property value from activity. I tried with passing pagename.propertyname for username but on click of set password button and passing pagename.propertyname, it throws error like it is unauthorized.
Any help on how to pass property value as password to auth profile?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Swedbank
SE
username is working fine if passed with pagename , whereas for password its not working
Pegasystems Inc.
IN
What is the the type of property which is holding the password value?
Have you tried 'password' type property to hold the password value?
Swedbank
SE
Hi Adithya,
Tried giving password type as property type, even though it encrypts the property value still when the value is passed to the auth profile, it again encrypts and decrypts the value.
Pegasystems Inc.
US
What version of Pega are you using?
Please try putting an equals sign at the beginning of what you put into the password field, like this:
=MyPage.MyProperty
Swedbank
SE
it is 7.1.9 version.
Yes tried giving the same format on click of set password, still facing the same issue. I guess when given this format, it is encrypting the =MyPage.MyProperty instead of the property value which is passed. Not sure though
Pegasystems Inc.
US
Yes, it must encode " =MyPage.MyProperty" because this is design time, not runtime.
When using this syntax you are expecting MyPage.MyProperty to be visible to the thread that is reading the password.
As far as I know, Pega 7.1.9 is able to handle this situation. You should make sure that your page is populated when it would be read for authentication.
Swedbank
SE
The page is populated and i could see the value on runtime. Also i am passing the same page for passing my username and it is working fine when passed with syntax =Pagename.Propertyname with password hardset. The issue is when i pass the syntax in the password field.
Pegasystems Inc.
US
Alright. This should be investigated. Do you have a Service Request opened? If not, you should reach out to Global Customer Support.
Swedbank
SE
not yet..but i would be raising one SR now
Pegasystems Inc.
IN
Hi Prashanth,
Please let us know the SR# once created. We will continue to track it from this post.
Regards,
-
Tyler Stubbs Ankit Dangaich