ezzat wrote:
hi ,
  I have finished a server application
I want to encrypt all messages from server to--> client and decrypt all messages from client to my server .
can I put filter to this trafic
as :
[code]
 SocketAcceptorConfig cfg = new SocketAcceptorConfig();
cfg.getFilterChain().addLast("crypt", new cryptFilter());  //  cryptFilter
is class containes encrypt & decrypt code
[/code]

waiting yourr help

Mina includes SSLFilter which encrypts/decrypts traffic between your client and server. Maybe that would work for you?

/Niklas

Reply via email to