Autodiscovery - orthanner/coreauth GitHub Wiki

COREAUTH clients (as well as [network] servers utilizing it's authenication capabilities) can use autodiscovery feature to improve reliability. This feature allows to find the suitable authentication server without knowing it's network address beforehand. One of the applications of such method is deploying Java application in Windows network, as it is much easier to set up database server then to run Java program as a Windows service. To find the authentication server(s), program should send it's certificate as a multicast UDP message over network. Servers whose certificates match one supplied in the message will send echo replies, thus exposing their addresses to the client. After that, client initiates normal TCP connection. This feature requires TLS to be properly configured on both ends. NOTE: this requires that multicast group of the client must be matched by at least one server.