Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

cconlon
Copy link
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
36 checks passed
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