JDK-8220239 : Release Note: New Java Flight Recorder (JFR) Security Events
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8u231,11.0.5-oracle,12
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-03-06
  • Updated: 2019-05-08
  • Resolved: 2019-03-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12 JDK 8
11.0.5-oracleResolved 12Resolved 8u231Resolved
Description
Four new JFR events have been added to the security library area. 
These events are disabled by default and can be enabled via the JFR configuration files or via standard JFR options. 

* `jdk.SecurityPropertyModification` 
  + Records `Security.setProperty(String key, String value)` method calls 

* `jdk.TLSHandshake` 
  + Records TLS handshake activity. The event fields include: 
    + Peer hostname 
    + Peer port 
    + TLS protocol version negotiated 
    + TLS cipher suite negotiated 
    + Certificate id of peer client 

* `jdk.X509Validation` 
  + Records details of X.509 certificates negotiated in successful X.509 validation (chain of trust) 

* `jdk.X509Certificate` 
  + Records details of X.509 Certificates. The event fields include: 
    + Certificate algorithm 
    + Certificate serial number 
    + Certificate subject 
    + Certificate issuer 
    + Key type 
    + Key length 
    + Certificate id 
    + Validity of certificate