Mikhail Alyogin Mikhail Alyogin - 2 months ago 11
Java Question

java client server security

In our old project, we had WCF service with message security (certificate and login/password) and WPF client. Now we need something similar (JavaFX client and server) on the Java. Also, we need a way to get current logged user on the server side inside any of the methods (something like

ServiceSecurityContext.Current.PrimaryIdentity.Name
in WCF), and at a user authentication we need access to entities of our server and config files (like in
UserNamePasswordValidator
in WCF).

What is a correct way to get it all in Java? We tried
JAX-WS
, remote
EJB
call,
RMI
. It all working similar without security, but what can we expect on the next step? And which way give us more opportunities in the future?

Answer

We found solution for us in Spring Remoting. Now we use Spring's HTTP invoker

Comments