Hello,
I have a BSP tha call a smartforms.
In the SICF I have put the user for my application BSP, because I don't want that the user
have logon.
The problem is that when I call the smartforms, I get a popup for user and password, because the smartforms have an image. If cancel the popup, the BSP show the content of the smartforms but don't show the image.
How I can resolve this problem?.
Thanks.
Isabel,
The user will always have a logon. There is no way that you can prevent this. A BSP application runs in a session, and the session <b><u>must</u></b> run for a specific sy-uname.
What you want to do, is to prevent the authentication sequence, whereby the server "challenges" the browser to supply a name and password.
Just terminology. But this is important to be sure we talk of the same things.
<u>Highly</u> recommended reading:
BSP Trouble Shooting: HTTP Browser Traces
/people/brian.mckellar/blog/2003/10/12/bsp-trouble-shooting-http-browser-traces
So we require authentication information, but do not want to request this from the browser. The correct process, which you followed!, is to store this information in ICF. However, you store if for a specific node, and only those URLs that are loaded via this node, will use the authentication information stored.
Side-Track: Recommended is that you create a special user (non-dialog!) that has very limited rights only to run this application!
So now your only problem is to look at the URL of this picture, find the ICF node, and configure it as well to contain authentication information.
Of course, the recommendation to place it in the sap/public branch of the mime repository will work. However, there is that nice convention of namespaces, and sap/public means it is our sandbox. Don't mess in it, as maybe we move it, maybe we create new file with exactly the same name, etc. If you follow this course, you take the risk, and the responsibility!
My simple suggestion: create new BSP application "myPictures". Store your mimes inside this BSP application, store authentication information for this BSP application in ICF, and create correct URLs.
++bcm
Add a comment