Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ core/tests/org.openjdk.jmc.flightrecorder.rules.jdk.test/baseline/Generated_JfrR

# Ignore configuration directories generated by spotbugs
**/configuration/spotbugs

# Ignore vendor specific agent instructions
CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
Expand All @@ -24,7 +24,7 @@

<link rel="contents" href="toc.htm" title="Contents" type="text/html" />
<link rel="prev" href="GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1.htm" title="Previous" type="text/html" />
<link rel="next" href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm" title="Next" type="text/html" />
<link rel="next" href="SecurityPage.htm" title="Next" type="text/html" />
</head>
<body>
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
Expand All @@ -39,7 +39,7 @@
</a>
</td>
<td align="center">
<a href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm">
<a href="SecurityPage.htm">
<img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
Expand Down Expand Up @@ -115,7 +115,7 @@ <h1 id="JMCOH-GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9" class="sect1">Using the
</a>
</td>
<td align="center">
<a href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm">
<a href="SecurityPage.htm">
<img src="./dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
Expand All @@ -23,7 +23,7 @@
<link rel="copyright" href="https://oss.oracle.com/licenses/upl" title="Copyright" type="text/html" />

<link rel="contents" href="toc.htm" title="Contents" type="text/html" />
<link rel="prev" href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm" title="Previous" type="text/html" />
<link rel="prev" href="SecurityPage.htm" title="Previous" type="text/html" />
<link rel="next" href="GUID-A45813E6-C32E-4916-966E-AE24992BB326.htm" title="Next" type="text/html" />
</head>
<body>
Expand All @@ -33,7 +33,7 @@


<td align="center">
<a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">
<a href="SecurityPage.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
Expand Down Expand Up @@ -72,7 +72,7 @@ <h1 id="JMCOH-GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1" class="sect1">Using the


<td align="center">
<a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">
<a href="SecurityPage.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
Expand Down
93 changes: 93 additions & 0 deletions application/org.openjdk.jmc.docs/html/SecurityPage.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us">
<head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Using the Security Page" />
<meta name="abstract" content="The Security page contains information about Crypto Security Algorithms." />
<meta name="description" content="The Security page contains information about Crypto Security Algorithms." />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="SecurityPage" />
<meta name="DC.Language" content="en-US" />

<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title>Using the Security Page</title>

<meta name="doctitle" content="Using the Security Page&#xA;" />
<meta name="robots" content="noarchive" />
<link rel="copyright" href="https://oss.oracle.com/licenses/upl" title="Copyright" type="text/html" />

<link rel="contents" href="toc.htm" title="Contents" type="text/html" />
<link rel="prev" href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm" title="Previous" type="text/html" />
<link rel="next" href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm" title="Next" type="text/html" />
</head>
<body>
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" /><col width="*" /><tr valign="bottom">
<td></td>


<td align="center">
<a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">
<img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm">
<img src="dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
</td>
<td> </td>


</tr>
</table>

<div class="ind"><a id="SecurityPage" name="SecurityPage"></a><!-- End Header -->
<h1 id="JMCOH-SecurityPage" class="sect1">Using the Security Page</h1>
<div><p>The security page is designed to display information related to certificates used. It mainly displays the information derived from X509Certificate events. </p>
<p>There is one table which shows information related to the cryptographic algorithm. For example: Signature Algorithm, Key type, Key length, Certificate Valid from, Certificate expiring on, Certificate Id and Issuer details. </p>
<p>We have also added a new column Crypto Remark which will help customer to identify the action/attention item. Action and attention items are decided based on the JDK guidelines for Crypto usages.</p>
<div class="p">Examples of Action and attention items:<ul style="list-style-type: disc;" id="GUID-D63A7C7C-CFC4-4CCE-A23C-59D7907F7680__UL_RNG_14Z_P3C"><li>Action Required. The Certificate has expired before 1,822 days. It should be replaced.</li>
<li>Attention Needed. SHA-1 signature. It should be updated to use SHA-256 or SHA-512.</li>
</ul>
</div>
<p>Certificates with no issues are marked with an OK status in the Crypto Remark column.</p>
<p>There is one chart where we are displaying the occurrences of X509Certificate events with respect to the timeline.</p>
</div>

</div><!-- class="ind" --><!-- Start Footer -->
<table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%">
<col width="86%" /><col width="*" /><tr valign="bottom">
<td><a href="https://oss.oracle.com/licenses/upl" target="_blank"><br />
<span class="copyrightlogo">Copyright&#160;&#169;&#160;2018, 2026, Oracle&#160;and/or&#160;its&#160;affiliates.&#160;All&#160;rights&#160;reserved.</span></a></td>


<td align="center">
<a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">
<img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm">
<img src="dcommon/gifs/rightnav.gif" alt="Next" /><br />
<span class="icon">Next</span>
</a>
</td>
<td> </td>


</tr>
</table>

<!-- class="footer" -->
</body>
</html>
3 changes: 2 additions & 1 deletion application/org.openjdk.jmc.docs/html/toc.htm
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us"><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
Expand Down Expand Up @@ -134,6 +134,7 @@ <h2 class="tocheader"><a href="GUID-953292B2-45D3-4842-9656-DAE88D239BA6.htm"><s
<li><a href="GUID-492BB17D-5964-48C3-9212-D4848514437A.htm">Using the Socket I/O Page</a></li>
<li><a href="GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1.htm">Using the Method Profiling Page</a></li>
<li><a href="GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm">Using the Exceptions and Errors Page</a></li>
<li><a href="SecurityPage.htm">Using the Security Page</a></li>
<li><a href="GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm">Using the Thread Dumps Page</a></li>
</ul>
</li>
Expand Down
4 changes: 3 additions & 1 deletion application/org.openjdk.jmc.docs/toc.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

Expand Down Expand Up @@ -165,6 +165,8 @@
href="html/GUID-343C6885-3367-4DDE-9BE5-1A7421CE00A1.htm"/>
<topic label="Using the Exceptions and Errors Page"
href="html/GUID-0352E76D-96F5-4EDA-A8DE-88B9E18635B9.htm"/>
<topic label="Using the Security Page"
href="html/SecurityPage.htm"/>
<topic label="Using the Thread Dumps Page"
href="html/GUID-63742D06-CF58-47F2-9CF2-08C0DB9F09F1.htm"/>
</topic>
Expand Down
9 changes: 8 additions & 1 deletion application/org.openjdk.jmc.feature.core/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
unpack="false"/>

<plugin
id="org.jolokia.client-jmx-adapter.standalone"
id="org.jolokia.client.jmx-adapter"
download-size="0"
install-size="0"
version="0.0.0"
Expand All @@ -257,6 +257,13 @@
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.jolokia.service.serializer"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.jolokia.server.core"
Expand Down
26 changes: 25 additions & 1 deletion application/org.openjdk.jmc.flightrecorder.ui/defaultPages.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

Expand Down Expand Up @@ -727,6 +727,30 @@
</eventList>
</state>
</page>

<page factory="org.openjdk.jmc.flightrecorder.ui.security" id="org.openjdk.jmc.flightrecorder.ui.security">
<state>
<sash />
<securityX509AlgorithmTable sortColumn="cryptoIcon">
<column id="cryptoIcon" width="100" sortAscending="true" />
<column id="cryptoRemark" hidden="false"/>
<column id="algorithm" hidden="false"/>
<column id="keyType" hidden="false"/>
<column id="keyLength" hidden="false" />
<column id="serialNumber" hidden="false"/>
<column id="subject" hidden="false" />
<column id="validFrom" hidden="false" />
<column id="validUntil" hidden="false"/>
<column id="thread" hidden="false" />
<column id="certificateId" hidden="false" />
<column id="issuer" hidden="false"/>
</securityX509AlgorithmTable>
<chart>
<series id="x509CertificateCount" />
</chart>
</state>
</page>

<page factory="org.openjdk.jmc.flightrecorder.ui.threaddumps" id="org.openjdk.jmc.flightrecorder.ui.threaddumps">
<state>
<sash weights="2,3" horizontal="true"/>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

Expand Down Expand Up @@ -145,6 +145,11 @@
<description></description>
<topic href="PLUGINS_ROOT/org.openjdk.jmc.docs/html/GUID-4F885E48-A548-4140-B985-74B1685BEDEA.htm" label="Using the TLAB Allocations Page" />
</context>

<context id="security">
<description></description>
<topic href="PLUGINS_ROOT/org.openjdk.jmc.docs/html/SecurityPage.htm" label="Using the Security Page" />
</context>

<context id="environment">
<description></description>
Expand Down
4 changes: 4 additions & 0 deletions application/org.openjdk.jmc.flightrecorder.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,10 @@
class="org.openjdk.jmc.flightrecorder.ui.pages.TlabPage$TlabPageFactory"
id="org.openjdk.jmc.flightrecorder.ui.tlab">
</factory>
<factory
class="org.openjdk.jmc.flightrecorder.ui.pages.SecurityPage$SecurityPageFactory"
id="org.openjdk.jmc.flightrecorder.ui.security">
</factory>
<factory
class="org.openjdk.jmc.flightrecorder.ui.pages.SystemPage$SystemPageFactory"
id="org.openjdk.jmc.flightrecorder.ui.system">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -132,6 +132,7 @@ public class ImageConstants {
public static final String PAGE_COMPILATIONS = "pages/compilations.png"; //$NON-NLS-1$
public static final String PAGE_CLASSLOADING = "pages/classloading.png"; //$NON-NLS-1$
public static final String PAGE_TLAB_ALLOCATIONS = "pages/allocations.png"; //$NON-NLS-1$
public static final String PAGE_SECURITY = "pages/security16.png"; //$NON-NLS-1$
public static final String PAGE_ENVIRONMENT = "pages/system.png"; //$NON-NLS-1$
public static final String PAGE_PROCESSES = "pages/processes.png"; //$NON-NLS-1$
public static final String PAGE_ENVIRONMENT_VARIABLES = "pages/environment.png"; //$NON-NLS-1$
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved.
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
Expand Down Expand Up @@ -41,6 +41,7 @@
import java.util.stream.Stream;

import org.eclipse.jface.viewers.ArrayContentProvider;
import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.jface.viewers.ColumnViewerToolTipSupport;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredSelection;
Expand Down Expand Up @@ -83,6 +84,21 @@ public void addColumn(IAttribute<?> a) {
a.getContentType() instanceof LinearKindOfQuantity, accessor);
}

public void addColumn(IAttribute<?> a, ColumnLabelProvider iconProvider) {
@SuppressWarnings("deprecation")
IMemberAccessor<?, IItem> accessor = ItemToolkit.accessor(a);
addColumn(a.getIdentifier(), a.getName(), a.getDescription(),
a.getContentType() instanceof LinearKindOfQuantity, accessor, iconProvider);
}

private void addColumn(
String columnId, String name, String description, boolean right, IMemberAccessor<?, IItem> accessor,
ColumnLabelProvider iconProvider) {
columns.add(new ColumnBuilder(name, columnId, accessor, iconProvider).description(description)
.style(right ? SWT.RIGHT : SWT.NONE).build());

}

public void addColumn(
String columnId, String name, String description, boolean right, IMemberAccessor<?, IItem> accessor) {
columns.add(new ColumnBuilder(name, columnId, accessor).description(description)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,11 @@ public class Messages extends NLS {
public static String SAVE_AS_NO_SRC_ERROR_MSG;
public static String SAVE_AS_TITLE;
public static String SEARCH_TREE_TEXT;
public static String SecurityPage_PAGE_NAME;
public static String SecurityPage_TIMELINE_SELECTION;
public static String SecurityPage_TABLE_SELECTION;
public static String SecurityPage_SECTION_X509_CERTIFICATES;
public static String SecurityPage_SECTION_X509_ALGORITHMS;
public static String SELECTION_STORE_NO_SELECTION;
public static String SELECT_RANGE_WIZARD_DESCRIPTION;
public static String SELECT_RANGE_WIZARD_TEXT;
Expand Down
Loading
Loading