eclipse-ee4j / eclipse-ee4j/tyrus
javax.websocket.Session#isSecure() is always false
Open
- Dominant language
- Java
- Stars
- 128
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
When a client initiates a secure session to a "wss" WebSocket server endpoint, the session#isSecure() method always returns false, although it's in fact secure.
The server side counterpart is working fine. (Wildfly 11, it's Tyrus, too).
I am initiating the SSL context with:
```
SslEngineConfigurator sslEngineConfigurator = new SslEngineConfigurator(getSSLContext());
client.getProperties().put(ClientProperties.SSL_ENGINE_CONFIGURATOR, sslEngineConfigurator);
```
Contributor guide
Assessment
This issue has not been assessed yet.