From fec65763392e6a86c7e7d0a7186be4a2213bef8f Mon Sep 17 00:00:00 2001 From: apriestman Date: Thu, 25 Mar 2021 09:05:47 -0400 Subject: [PATCH] Temporary change to not load the realm --- .../contentviewers/osaccount/OsAccountDataPanel.java | 9 +++++---- Core/src/org/sleuthkit/autopsy/datamodel/OsAccounts.java | 4 +++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/contentviewers/osaccount/OsAccountDataPanel.java b/Core/src/org/sleuthkit/autopsy/contentviewers/osaccount/OsAccountDataPanel.java index 82c267abff..a1077e3e82 100755 --- a/Core/src/org/sleuthkit/autopsy/contentviewers/osaccount/OsAccountDataPanel.java +++ b/Core/src/org/sleuthkit/autopsy/contentviewers/osaccount/OsAccountDataPanel.java @@ -412,10 +412,11 @@ public class OsAccountDataPanel extends JPanel { hostDataMap.forEach((K, V) -> data.add(buildHostData(K, V))); } - OsAccountRealm realm = account.getRealm(); - if (realm != null) { - data.add(buildRealmProperties(realm)); - } + // TODO - load realm on background thread + //OsAccountRealm realm = account.getRealm(); + //if (realm != null) { + // data.add(buildRealmProperties(realm)); + //} Map instanceMap = results.getDataSourceMap(); if (!instanceMap.isEmpty()) { diff --git a/Core/src/org/sleuthkit/autopsy/datamodel/OsAccounts.java b/Core/src/org/sleuthkit/autopsy/datamodel/OsAccounts.java index 29e36b182a..8465b76947 100755 --- a/Core/src/org/sleuthkit/autopsy/datamodel/OsAccounts.java +++ b/Core/src/org/sleuthkit/autopsy/datamodel/OsAccounts.java @@ -256,7 +256,9 @@ public final class OsAccounts implements AutopsyVisitableItem { Bundle.OsAccounts_loginNameProperty_desc(), optional.isPresent() ? optional.get() : "")); - String realmName = account.getRealm().getRealmNames().isEmpty() ? "" : account.getRealm().getRealmNames().get(0); + // TODO - load realm on background thread + String realmName = ""; + //String realmName = account.getRealm().getRealmNames().isEmpty() ? "" : account.getRealm().getRealmNames().get(0); propertiesSet.put(new NodeProperty<>( Bundle.OsAccounts_accountRealmNameProperty_name(), Bundle.OsAccounts_accountRealmNameProperty_displayName(),