BookmarkSubscribeRSS Feed
DanieleTiles
Calcite | Level 5
Hi to all,
we've successfully deployed a sas stored process and called it through the SAS Stored Process Web Application, which is amazing :).
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
3 REPLIES 3
Cynthia_sas
SAS Super FREQ
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
DanieleTiles
Calcite | Level 5
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...
deleted_user
Not applicable
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

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 998 views
  • 0 likes
  • 3 in conversation