<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Bypass STP Login Screen Using Hard-Coded Credentials in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/349636#M5315</link>
    <description>&lt;P&gt;Is there a way to hard-code &lt;STRONG&gt;_username&lt;/STRONG&gt; and &lt;STRONG&gt;_password&lt;/STRONG&gt; macro variables in a stored process to be passed as login credentials when executed from SAS Stored Process Web?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For testing purposes I'm trying to execute my stored process from a link like this, and to have the hard-coded credentials in the program do the authentication:&lt;/P&gt;&lt;P&gt;&lt;A href="http://server-name.com:8080/SASStoredProcess/do?_program=/path/to/program" rel="nofollow noreferrer" target="_blank"&gt;http://server-name.com:8080/SASStoredProcess/do?_program=/path/to/program&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent a lot of time researching and I've seen how input parameters can be specified in the URL, so I'm not looking for that. &lt;STRONG&gt;I am wondering if the program code itself can do the authentication.&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2017 23:56:46 GMT</pubDate>
    <dc:creator>krusader</dc:creator>
    <dc:date>2017-04-12T23:56:46Z</dc:date>
    <item>
      <title>Bypass STP Login Screen Using Hard-Coded Credentials</title>
      <link>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/349636#M5315</link>
      <description>&lt;P&gt;Is there a way to hard-code &lt;STRONG&gt;_username&lt;/STRONG&gt; and &lt;STRONG&gt;_password&lt;/STRONG&gt; macro variables in a stored process to be passed as login credentials when executed from SAS Stored Process Web?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For testing purposes I'm trying to execute my stored process from a link like this, and to have the hard-coded credentials in the program do the authentication:&lt;/P&gt;&lt;P&gt;&lt;A href="http://server-name.com:8080/SASStoredProcess/do?_program=/path/to/program" rel="nofollow noreferrer" target="_blank"&gt;http://server-name.com:8080/SASStoredProcess/do?_program=/path/to/program&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent a lot of time researching and I've seen how input parameters can be specified in the URL, so I'm not looking for that. &lt;STRONG&gt;I am wondering if the program code itself can do the authentication.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 23:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/349636#M5315</guid>
      <dc:creator>krusader</dc:creator>
      <dc:date>2017-04-12T23:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Bypass STP Login Screen Using Hard-Coded Credentials</title>
      <link>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/349653#M5316</link>
      <description>&lt;P&gt;You need to specify credentials in the URL so the webapp can access the metadata. Only after that can the program be found and started.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2017 03:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/349653#M5316</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-04-13T03:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bypass STP Login Screen Using Hard-Coded Credentials</title>
      <link>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/350497#M5318</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is not possible. Your client browser must make a POST request with the user/pass to the /SASLogon app in order to retrieve a session ID to make the SASStoredProcess web app happy to talk to it. The SPWA doesn't / can't deal with auth stuff directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is a requirement you should seriously consider &lt;A href="http://support.sas.com/kb/43/149.html" target="_self"&gt;Configuring anonymous access for the SAS® Stored Process Web Application&lt;/A&gt;, and then limiting the STPs the anonymous users are able to execute by restricting the &lt;EM&gt;webanon@saspw&lt;/EM&gt; metadata user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nik&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 13:43:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Bypass-STP-Login-Screen-Using-Hard-Coded-Credentials/m-p/350497#M5318</guid>
      <dc:creator>boemskats</dc:creator>
      <dc:date>2017-04-17T13:43:48Z</dc:date>
    </item>
  </channel>
</rss>

