How can I programmatically enable WSS for a Tyrus WebSocket @ServerEndpoint
问题 I have a microservice that has a REST endpoint and a WebSocket endpoint. It Spring-wires Grizzly and Tyrus, and adds in authentication via SSO using a JAX-RS filter and a ServerEndpointConfig.Configurator. I've added in SSL to the REST endpoint using SSLContextConfigurator and SSLEngineConfigurator and a (currently) self-signed certificate. I don't see a way to do the same for org.glassfish.tyrus.server.Server in Tyrus 1.14. In fact, the code hardwires the protocol name, which makes me wonder