Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Need help with Multi user support feature.
Need help with Multi user support feature. [message #1403147] Mon, 21 July 2014 13:22 Go to next message
Eclipse UserFriend
Hi All,

I am pretty new to the eclipse RAP. One of my task at work is to migrate the RCP application to RAP.
Before doing migration I am doing a small POC on RAP multi user support.
I couldn't find the helpful documentation or sample project on RAP multi user.

I have got exposure on Java servlets and mapping of them in web.xml.
With RAP multi user support I am not able to relate it HttpServletRequest and HttpServletResponse.

My POC is about
1. Create a login page
2. Provide DB access to only authenticated users.

I am able to do #1 but how can we store the user information for each request basically multi user support.

It would be really great if anyone can share the sample project on RAP multi user support.

Thanks,
Anu.


Re: Need help with Multi user support feature. [message #1403155 is a reply to message #1403147] Mon, 21 July 2014 15:36 Go to previous message
Eclipse UserFriend
Hi Anu,

I have a multi user application that uses an authenticated InitialContext that I store in the UISession. The login dialog (as in an swt dialog window) collects the details, authenticates the context and stores it in the UISession.

And than all remote lookups use this Ui Session scoped (and hence session specific) context for remote operations.

This could be easly adopted to store a jdbc connection, or some other user tokens.

I hope this helps.

Roland
Previous Topic:Automated UI testing for RAP : which tool ?
Next Topic:How to supply translations for the text in splash html?
Goto Forum:
  


Current Time: Thu Jul 10 05:51:38 EDT 2025

Powered by FUDForum. Page generated in 0.43720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top