Your SAS programs, embedded in web apps and elsewhere

SAS Stored Process Web Application and a "dummy" login

Reply
Contributor
Posts: 58

SAS Stored Process Web Application and a "dummy" login

Hi to all,
we've successfully deployed a sas stored process and called it through the SAS Stored Process Web Application, which is amazing Smiley Happy.
Unfortunately, we've got a problem: this output which is generated should be accessible from all the users who access this public web site of our client...so we'd like to introduce a "dummy" login into the metadata (with only the rights to read and execute this stored process), and find a way to pass his credentials to the SAS Metadata server in a transparent way (i.e., without presenting the user a prompt).
Is this feasible? How can we implement it?
Thanks!

Daniele
SAS Super FREQ
Posts: 8,864

Re: SAS Stored Process Web Application and a "dummy" login

Posted in reply to DanieleTiles
Danielle:
The Stored Process Web Application is very cool, indeed.

I think you may have to work with Tech Support on the answer to this question. I don't _think_ there's a dummy login, such as you ask for. And I don't know whether the security model changed for 9.2 to allow this kind of execution.

If you were using the Portal, the public kiosk is where you put items like this. But, again, Tech Support is your best resource here.

cynthia
Contributor
Posts: 58

Re: SAS Stored Process Web Application and a "dummy" login

Posted in reply to Cynthia_sas
Hi Cynthia,
as a dummy login I thought of a local user (inserted into the sas users group), with only the right to read and execute the SAS Stored Process (so that none could ever do any damage with that kind of user).
What I've found is that I can pass in the GET request for the SAS Stored Process Web Application the variables _USERNAME and _PASSWORD (pwencoded)...my basic idea is to try to build a simple servlet, which will call the SAS Stored Process url, pass (possibly in the POST instead of the GET) the authentication parameters, and then show the XHTML flow generated by the SAS Stored Process...
That should work, IMHO...
N/A
Posts: 0

Re: SAS Stored Process Web Application and a "dummy" login

Posted in reply to DanieleTiles
Hi,

Have a look at http://support.sas.com/rnd/itech/doc9/dev_guide/stprocess/webappcfg.html

In the Params.config of the deployed Web Stored Process Server. In this file you can put values, servlet.user.name and servlet.user.password, and either hardcode a username and password or a value that gets a set in the session (values in the params.config with a $ infront are resolved at runtime from the session that calls it).

Dave
Ask a Question
Discussion stats
  • 3 replies
  • 272 views
  • 0 likes
  • 3 in conversation