eclipse-ee4j / eclipse-ee4j/tyrus

javax.websocket.Session#isSecure() is always false

Open
#625 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.