title: Secure TCP Connections in Java
body: <p>I was wondering what is the best way to secure a TCP connection in Java.  I want communications to my server to only come from authenticated clients and where possible, encrypt the transmitted data.</p>
  
  <p>What sort of issues am I going to need to watch out for and cover, what technologies could I use?</p>
  
  <p>Thanks,</p>
  
  <p>Tim.</p>