Stored Processes - bypassing double authentication

2

As I mentioned yesterday, some users create portal applications to bypass a second authentication step from the Portal to a Stored Process (via a URL Display Portlet). New in SAS 9.2, there is a STPRun directive that allows you to just complete one single step (create a URL display portlet) that points directly to the stored process and with the addition of this directive, no longer request a second authentication step.

http://support.sas.com/kb/37/516.html

&_directive=STPRun - jumps directly to the stored process
&_directive=STPRunParameters - forwards you to the stored process parameter selection screen

If you are creating a custom web application within your stored process, there is no need for target= in your form code. Just use the standard:
put '

';
Share

About Author

Angela Hall

Senior Technical Architect

Angela offers tips on using the SAS Business Intelligence solutions. She manages a team of SAS Fraud Framework implementers within the SAS Solutions On-Demand organization. Angela also has co-written two books, 'Building BI using SAS, Content Development Examples' & 'The 50 Keys to Learning SAS Stored Processes'.

2 Comments

  1. Kushal Ramani on

    Hello Angela,
    I have created one web application using stored process. I am using Information delivery portal with stored process portlet to display it.
    Now I am facing problem of multiple login.
    So,Is the solution of STPRun useful in this case? or I have to follow any other procedure?
    Please reply,
    Thanks,
    Kushal Ramani

    • Angela Hall

      Are you chaining stored processes? Does the first, using the stored process portlet, appear correctly and then subsequent links (within that stored process result) request additional user/password authentication? You should use the STPrun directive for all of your stored process URLS (within the code and from the portal).

Back to Top