RFR: 8240256: Better resource cleaning for SunPKCS11 Provider

Sean Coffey coffeys at openjdk.java.net
Fri Apr 16 11:32:20 UTC 2021


Added capability to allow the PKCS11 Token to be destroyed once a session is logged out from. New configuration properties via pkcs11 config file. Cleaned up the native resource poller also.

New unit test case to test behaviour. Some PKCS11 tests refactored to allow pkcs11 provider to be configured (and tested) with a config file of choice.

Reviewer request @valeriepeng

-------------

Commit messages:
 - 8240256: Better resource cleaning for SunPKCS11 Provider

Changes: https://git.openjdk.java.net/jdk/pull/3544/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3544&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8240256
  Stats: 604 lines in 13 files changed: 493 ins; 63 del; 48 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3544.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3544/head:pull/3544

PR: https://git.openjdk.java.net/jdk/pull/3544



More information about the security-dev mailing list