Skip to content

JSSE: add Security property to disable Java client session cache#225

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
cconlon:clientSessionCacheDisable
Oct 10, 2024
Merged

JSSE: add Security property to disable Java client session cache#225
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
cconlon:clientSessionCacheDisable

Conversation

@cconlon
Copy link
Copy Markdown
Member

@cconlon cconlon commented Oct 9, 2024

This PR adds support for a new Java Security property which can be used to disable the Java client-side session cache. If this property is set to "true", it prevents wolfJSSE from storing sessions into the Java client session cache:

java.security:

wolfjsse.clientSessionCache.disabled=true

Programmatically:

Security.setProperty("wolfjsse.clientSessionCache.disabled", "true");

README.md has been updated with a note about this new property. JUnit test has been added to test that resumption is not done when set.

@JacobBarthelmeh JacobBarthelmeh merged commit ad59d74 into wolfSSL:master Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants