Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
81 changes: 81 additions & 0 deletions application/org.openjdk.jmc.docs/html/SecurityPage.htm
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<!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.
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-8E04A807-3D2B-4896-AD06-B0DE61ACBBD9.htm" title="Previous" type="text/html" />
<link rel="next" href="GUID-F85CDA8B-CFD2-4155-A140-9DD4079F0139.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-8E04A807-3D2B-4896-AD06-B0DE61ACBBD9.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-F85CDA8B-CFD2-4155-A140-9DD4079F0139.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="GUID-4F885E48-A548-4140-B985-74B1685BEDEA" name="GUID-4F885E48-A548-4140-B985-74B1685BEDEA"></a><!-- End Header -->
<h1 id="JMCOH-GUID-4F885E48-A548-4140-B985-74B1685BEDEA" class="sect1">Using the Security Page</h1>

</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, 2025, Oracle&#160;and/or&#160;its&#160;affiliates.&#160;All&#160;rights&#160;reserved.</span></a></td>


<td align="center">
<a href="GUID-8E04A807-3D2B-4896-AD06-B0DE61ACBBD9.htm">
<img src="./dcommon/gifs/leftnav.gif" alt="Previous" /><br />
<span class="icon">Previous</span>
</a>
</td>
<td align="center">
<a href="GUID-F85CDA8B-CFD2-4155-A140-9DD4079F0139.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>
24 changes: 24 additions & 0 deletions application/org.openjdk.jmc.flightrecorder.ui/defaultPages.xml
Original file line number Diff line number Diff line change
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
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
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
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 @@ -528,6 +528,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