We have some applications in PRPC with its own UI. The user authentication in our PRPC is "clear" by using LDAP. We integrated PRPC’s Web UI into our Front office system in iFrame by URL like: "https://ServerName/prweb/PRServletContainerAuth". Now, we can access to Application's Portal UI by this URL only for one Application, described in User's Access Group by default.
My question is: How to make a URL with unique parameters to access the concrete application directly ?
I.e. every Application must have it's own URL. This URL must call the Portal for its Application by this unique URL.
***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
I had a video call today with Volodmyr. He said he wants to make a iframe for every application. He wants to open every application by passing additional paramenters.He doesnot want to open any application as default url. Can anyone reply regarding this?
My undertanding is that normally we want to do everything possible to stop people being able to do stuff by changing the URL.
I suppose it should be possible to update the operator ID page that is created during authentication to change the default access group, but I am not sure how you would pass a parameter from the URL to the activity.
It seems I found the first step of solution by myself.
I created a new Activity ("LogOnly" in "Sb-FW-CTrackFW-Work-Tracking" Class), with Log-Message method only to check if it was called (activated). Don't forget to setup May start? [v] option on "Security" tab.
It was called successfully. I found my message in Log.
So, I think to create the same number of such Activities as the number of Applications in PRPC. Every Activity will call it's own Application. Probably by changing the default Access Group in Operator's profile ?
What do you think about this way ?
The Activity name = Application name - the parameter in URL I can easy change.
Does anybody know what will be the next step (the content of Activity for calling Application) ?
"SnapStart is a desktop HTML-based interfacing technique for capturing information from an existing system, accessed from a workstation, into a PRPC application." It seems, that solution could be find out by using SnapStart technique to change available Application during login proccess.
Changing Application cause reload client web session and change user's current access group, in other words, for available pxRequestor.pxSecuritySnapshot.pxAvailableApps choose correct AccessGroup.pyAccessGroup.
Both tasks well done in SwitchApplication.jsp, main part of that is function: