Your SAS programs, embedded in web apps and elsewhere

Added _username and _password to STP URL, but is still getting prompted for login

Accepted Solution Solved
Reply
New Contributor
Posts: 4
Accepted Solution

Added _username and _password to STP URL, but is still getting prompted for login

[ Edited ]

 

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.

 

 


Accepted Solutions
Solution
‎05-11-2017 11:15 AM
Contributor
Posts: 38

Re: Added _username and _password to STP URL, but is still getting prompted for login

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

 

www.analytium.co.uk

=======================================
For more information about {An}alytium, visit https://www.analytium.co.uk

View solution in original post


All Replies
Solution
‎05-11-2017 11:15 AM
Contributor
Posts: 38

Re: Added _username and _password to STP URL, but is still getting prompted for login

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

 

www.analytium.co.uk

=======================================
For more information about {An}alytium, visit https://www.analytium.co.uk
New Contributor
Posts: 4

Re: Added _username and _password to STP URL, but is still getting prompted for login

Hi Vasilij, 

 

That solved the problem. Thank your very much for your help and fast reply! 

 

Best regards

Lars

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 183 views
  • 2 likes
  • 2 in conversation