|
| ||||||||||
| Tags: ejb, java, javascript, jboss, server, session context, swing |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Transfer of information in the Session Context (Swing Client, EJB3)
|
|
#2
| ||||
| ||||
| Re: Transfer of information in the Session Context (Swing Client, EJB3) Quote:
|
|
#3
| ||||
| ||||
| Re: Transfer of information in the Session Context (Swing Client, EJB3)
I wonder why the session must be to contain the information? It's problematic because a client can have several states (windows / tabs) have. If the client sends a query contains the state and this state should go to the backend, you could miss the Principal object to it. We do it this way - although you have to watch out for synchronization, as all clients use the same user may have the same principal. For a similar problem, I added an aspect of this state, before calling the backend, the principal sets, and then removed it. Hope that helps.. |
|
#4
| |||
| |||
| Re: Transfer of information in the Session Context (Swing Client, EJB3) Quote:
, but typically is it so. On the server, you can look up this subject and read what is there, anything goes. |
|
#5
| ||||
| ||||
| Re: Transfer of information in the Session Context (Swing Client, EJB3)
The course returns only one subject, if the EJB methods are called accordingly. But has the advantage when the authentication took place outside of the container and the container AuthorInformation are not loaded properly or forwarded (eg JBoss + Apache httpd). The call of the methods is done with Subject.doAs *(). If the client-server communication is over SSL / TLS, you can also use the SSL session id for distinguishing units of varying compounds. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Transfer of information in the Session Context (Swing Client, EJB3)" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Poor Audio from HP T5745 Thin Client in Citrix Session | The#Gaelic | Hardware Peripherals | 4 | 12-02-2012 03:45 PM |
| Scheduling in EJB3 Timer Service | Cheng-Gong | Software Development | 5 | 24-07-2010 06:06 AM |
| How to transfer files via the Utorrent client | Delgado | Windows Software | 6 | 25-06-2010 02:04 AM |
| How to transfer information from one Nokia mobile to another? | KALIDA | Portable Devices | 4 | 14-01-2010 05:16 PM |
| How to transfer AOL information with ePreserver | Computer_Freak | Tips & Tweaks | 0 | 07-03-2009 12:41 PM |