Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Howto get access to the information of the user of the current session
Howto get access to the information of the user of the current session [message #50760] Thu, 04 October 2007 13:51 Go to next message
Eclipse UserFriend
Originally posted by: naraimund.criticalsoftware.com

Hi,

I am developing for an application that uses RAP for the client side and
uses EJB for the server side.

I need to know in the EJB's the name of the user of the current session of
RAP.

How can i do this?
RAP creates one thread per session?
Re: Howto get access to the information of the user of the current session [message #52146 is a reply to message #50760] Wed, 17 October 2007 06:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jkrause.innoopract.com

Hi,

Have a look at the class ContextProvider, it provides access to the
HttpServletRequest and the Session.

Jochen

Nuno Raimundo wrote:
> Hi,
>
> I am developing for an application that uses RAP for the client side and
> uses EJB for the server side.
>
> I need to know in the EJB's the name of the user of the current session of
> RAP.
>
> How can i do this?
> RAP creates one thread per session?
Re: Howto get access to the information of the user of the current session [message #52226 is a reply to message #50760] Wed, 17 October 2007 10:31 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

RAP doesn't create one thread per Session. How do you logon to the
application? So where do you the user's name expect to be? If you need the
HttpSession - this can be accessed by
RWT.getSessionStore().getHttpSession().

Ciao
Frank

"Nuno Raimundo" <naraimund@criticalsoftware.com> schrieb im Newsbeitrag
news:fe2r50$pc2$1@build.eclipse.org...
> Hi,
>
> I am developing for an application that uses RAP for the client side and
> uses EJB for the server side.
>
> I need to know in the EJB's the name of the user of the current session of
> RAP.
>
> How can i do this?
> RAP creates one thread per session?
Previous Topic:Communication between RAP and content of BrowserWidget
Next Topic:Change the Alias-Path
Goto Forum:
  


Current Time: Fri Mar 29 15:56:07 GMT 2024

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

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

Back to the top