I have created a stored proces that checks if the SAS Metadataserver is running. Basically I want a systemuser to call the stp without beeing prompted for login.
I have added _username & _password to the URL as described in
http://support.sas.com/kb/14/545.html
so my URL is looking like this
http://servername:8080/SASStoredProcess/do?_program=%2FProducts%2FSAS+Intelligence+Platform%2FSamples%2Fservice&_username=User1234&_password={SAS001}Bsahyrfashyefgig
But I still get prompted for logon. What am I doing wrong?
Any help is appreciated. Thanks in advance.
Hello Lars,
I can see you used an encryopted password.
Sometimes SAS platforms configured so that they don't accept the encrypted passwords by default.
If you are an admin, do the following:
On the SAS Management Console Plug-ins tab, click Application Management. Select SAS Stored Process Web Application and edit the advanced properties.
You should see "AllowEncodedPassword" = "true". If you don't see anything or see it being false, then that's the problem.
If you are not the admin, see if you can authenticate with plain text password. If you can, then get your admin to do the steps above.
Let me know here how it goes.
Regards,
Vasilij
Hello Lars,
I can see you used an encryopted password.
Sometimes SAS platforms configured so that they don't accept the encrypted passwords by default.
If you are an admin, do the following:
On the SAS Management Console Plug-ins tab, click Application Management. Select SAS Stored Process Web Application and edit the advanced properties.
You should see "AllowEncodedPassword" = "true". If you don't see anything or see it being false, then that's the problem.
If you are not the admin, see if you can authenticate with plain text password. If you can, then get your admin to do the steps above.
Let me know here how it goes.
Regards,
Vasilij
Hi Vasilij,
That solved the problem. Thank your very much for your help and fast reply!
Best regards
Lars
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.