I have a web app deployed on WildFly 10, configured with TLS. Everything is pretty standard with a standalone.xml. I would like to register a
HandShakeCompletedListener to get notified once the TLS hand shake is completed for HTTPS connections to my app. Since I'm not the one who creates the SSLSocket or SSLServerSocket that accepts sockets (WildFly does), how do I register such a listener using this? SSLSocket (Java Platform SE 8 ) Maybe somehow specify a class name somewhere in standalone.xml? But where?
I think there is no such configuration option. Unless there is some external configuration javax.net.ssl.* system property, I doubt it is possible with wildfly.
What exactly do you do in HandShakeCompletedListener?