Jan 19th, 2012, 09:58 AM
Manage Session over RMI using Spring-Security
I'm working on a Client-Server Application (Java, Spring, RMI) without Application Server.
Knowing that RMI is stateless, I'm trying include a Session over RMI between Client and Server calls using Spring-Security.
In this thread (http://forum.springsource.org/showthread.php?29794-How-to-use-ContextPropagatingRemoteInvocationFactory&p=79690# post79690) I saw someone defining his own session management over RMI. Is there something available out of the box from Spring Security to achieve that (a kind of session management inside the SecurityContextHolder in order to avoid username/password to be sent on every method call) ?
It's possible to have a Session for the RMI calls using Spring Security ?! If not, how can I do properly (best practice) to manage a Session over RMI?
Thanks in advance.
Last edited by jorgenevesptm; Jan 23rd, 2012 at 06:30 AM.
Tags for this Thread