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 out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.