I just got to know DotNetty and so far I like it very much. Right now I would like to use it for a project where the clients are required to authenticate by a certificate - so only TLS-Connections from clients with specific certificates are allowed.
The thing is, that nothing happens when the client is not authenticated. The MyHandler instance still exists but just does not receive any messages. When I connect with a client, it is able to connect without any problems, and is also able to send data (even though it is never received).
BTW: for testing the Telnet.Server-Project from the examples can be used.
I just got to know DotNetty and so far I like it very much. Right now I would like to use it for a project where the clients are required to authenticate by a certificate - so only TLS-Connections from clients with specific certificates are allowed.
For this I used this code for the bootstrap:
and for Testing this as a callback:
The thing is, that nothing happens when the client is not authenticated. The MyHandler instance still exists but just does not receive any messages. When I connect with a client, it is able to connect without any problems, and is also able to send data (even though it is never received).
BTW: for testing the Telnet.Server-Project from the examples can be used.