Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel Class Reference

Inherits org.sleuthkit.autopsy.ingest.IngestModuleGlobalSettingsPanel, and org.sleuthkit.autopsy.corecomponents.OptionsPanel.

Classes

class  IngestJobEventPropertyChangeListener
 

Public Member Functions

 GlobalSettingsPanel ()
 
void load ()
 
void saveSettings ()
 
void store ()
 
boolean valid ()
 

Static Public Member Functions

static void onMultiUserChange (Component parent, boolean muPreviouslySelected, boolean muCurrentlySelected)
 

Protected Member Functions

void finalize () throws Throwable
 

Private Member Functions

void addIngestJobEventsListener ()
 
void bnDbConfigureActionPerformed (java.awt.event.ActionEvent evt)
 
void bnManageTypesActionPerformed (java.awt.event.ActionEvent evt)
 
void bnTestConfigureActionPerformed (java.awt.event.ActionEvent evt)
 
void cbUseCentralRepoActionPerformed (java.awt.event.ActionEvent evt)
 
void clearStatus ()
 
void customizeComponents ()
 
boolean enableButtonSubComponents (Boolean enable)
 
void enableDatabaseConfigureButton (Boolean enable)
 
void ingestStateUpdated (boolean caseIsOpen)
 
void initComponents ()
 
boolean isLocalIngestJobEvent (PropertyChangeEvent event)
 
void manageOrganizationButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void onSettingsChange (PropertyChangeEvent evt)
 
boolean setStatus (ImageIcon icon, String text)
 
void setupSettingsChangeListeners ()
 
void showCasesButtonActionPerformed (java.awt.event.ActionEvent evt)
 
boolean showStatusFail (String message)
 
boolean showStatusOkay ()
 
boolean testCurrentConfiguration ()
 

Static Private Member Functions

static void askForCentralRepoDbChoice (Component parent)
 
static void checkStatusAndCreateDb (Component parent)
 
static boolean invokeCrChoice (Component parent, CentralRepoDbChoice initialSelection)
 

Private Attributes

final ImageIcon badIcon = new ImageIcon(ImageUtilities.loadImage("org/sleuthkit/autopsy/images/bad.png", false))
 
javax.swing.JButton bnDbConfigure
 
javax.swing.JButton bnManageTypes
 
javax.swing.JButton bnTestConfigure
 
javax.swing.JPanel casesPanel
 
javax.swing.JScrollPane casesScrollPane
 
javax.swing.JTextArea casesTextArea
 
javax.swing.JCheckBox cbUseCentralRepo
 
javax.swing.JScrollPane correlationPropertiesScrollPane
 
javax.swing.JTextArea correlationPropertiesTextArea
 
final ImageIcon goodIcon = new ImageIcon(ImageUtilities.loadImage("org/sleuthkit/autopsy/images/good.png", false))
 
final IngestJobEventPropertyChangeListener ingestJobEventListener
 
javax.swing.JLabel ingestRunningWarningLabel
 
javax.swing.JPanel jPanel1
 
javax.swing.JScrollPane jScrollPane1
 
javax.swing.JLabel lbCentralRepository
 
javax.swing.JLabel lbDbLocationLabel
 
javax.swing.JLabel lbDbLocationValue
 
javax.swing.JLabel lbDbNameLabel
 
javax.swing.JLabel lbDbNameValue
 
javax.swing.JLabel lbDbPlatformTypeLabel
 
javax.swing.JLabel lbDbPlatformValue
 
javax.swing.JButton manageOrganizationButton
 
javax.swing.JPanel organizationPanel
 
javax.swing.JScrollPane organizationScrollPane
 
javax.swing.JTextArea organizationTextArea
 
javax.swing.JPanel pnCorrelationProperties
 
javax.swing.JPanel pnDatabaseConfiguration
 
javax.swing.JButton showCasesButton
 
javax.swing.JTextField tbOops
 
javax.swing.JLabel testStatusLabel
 

Static Private Attributes

static final Set< IngestManager.IngestJobEvent > INGEST_JOB_EVENTS_OF_INTEREST = EnumSet.of(IngestManager.IngestJobEvent.STARTED, IngestManager.IngestJobEvent.CANCELLED, IngestManager.IngestJobEvent.COMPLETED)
 
static PropertyChangeListener lastRegistered = null
 
static final Logger logger = Logger.getLogger(GlobalSettingsPanel.class.getName())
 
static final PropertyChangeSupport propertyChangeSupport = new PropertyChangeSupport(GlobalSettingsPanel.class)
 
static final long serialVersionUID = 1L
 

Detailed Description

Main settings panel for the Central Repository

Definition at line 57 of file GlobalSettingsPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.GlobalSettingsPanel ( )

Member Function Documentation

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.addIngestJobEventsListener ( )
private
static void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.askForCentralRepoDbChoice ( Component  parent)
staticprivate

This method is called when a user must select a new database other than using database from multi user settings.

Parameters
parentThe parent component to use for displaying dialogs in reference.

Definition at line 220 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbChoice.POSTGRESQL_CUSTOM, and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbChoice.SQLITE.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.bnDbConfigureActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 644 of file GlobalSettingsPanel.java.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.bnManageTypesActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 638 of file GlobalSettingsPanel.java.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.bnTestConfigureActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 669 of file GlobalSettingsPanel.java.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.cbUseCentralRepoActionPerformed ( java.awt.event.ActionEvent  evt)
private
static void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.checkStatusAndCreateDb ( Component  parent)
staticprivate

Checks the status of current connectivity for CR and reports any issues. Will also prompt user to create database if cr database is absent.

Parameters
parentthe parent component to which the dialogs will be associated.

Definition at line 199 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.centralrepository.optionspanel.EamDbSettingsDialog.testStatusAndCreate().

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.clearStatus ( )
private

Definition at line 288 of file GlobalSettingsPanel.java.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.customizeComponents ( )
private

Definition at line 113 of file GlobalSettingsPanel.java.

boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.enableButtonSubComponents ( Boolean  enable)
private

Wrapper around each of the enableComponentXYZButton methods to enable/disable them all at the same time.

Parameters
enable
Returns
True

Definition at line 835 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning().

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.enableDatabaseConfigureButton ( Boolean  enable)
private

Enable the Configure button

Parameters
enable
Returns
True

Definition at line 811 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.ingest.IngestManager.getInstance(), and org.sleuthkit.autopsy.ingest.IngestManager.isIngestRunning().

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.finalize ( ) throws Throwable
protected
void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.ingestStateUpdated ( boolean  caseIsOpen)
private
void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 307 of file GlobalSettingsPanel.java.

static boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.invokeCrChoice ( Component  parent,
CentralRepoDbChoice  initialSelection 
)
staticprivate

This method invokes central repository database choice selection as well as input for necessary configuration.

Parameters
parentThe parent component for displaying dialogs.
initialSelectionIf non-null, the menu item will be set to this choice; if null, the currently selected db choice will be selected.
Returns
True if there was a change.

Definition at line 133 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.centralrepository.optionspanel.EamDbSettingsDialog.wasConfigurationChanged().

boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.isLocalIngestJobEvent ( PropertyChangeEvent  event)
private

Check that the supplied event is a local IngestJobEvent whose type is STARTED, CANCELLED, or COMPLETED.

Parameters
eventThe PropertyChangeEvent to check against.
Returns
True is the event is a local IngestJobEvent whose type is STARTED, CANCELLED, or COMPLETED; otherwise false.

Definition at line 768 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.CANCELLED, org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.COMPLETED, and org.sleuthkit.autopsy.ingest.IngestManager.IngestJobEvent.STARTED.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.load ( )
void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.manageOrganizationButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 652 of file GlobalSettingsPanel.java.

static void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.onMultiUserChange ( Component  parent,
boolean  muPreviouslySelected,
boolean  muCurrentlySelected 
)
static

When multi user settings are updated, this function triggers pertinent updates for central repository. NOTE: If multi user settings were previously enabled and multi user settings are currently selected, this function assumes there is a change in the postgres connectivity.

Parameters
parentThe swing component that serves as a parent for dialogs that may arise.
muPreviouslySelectedIf multi user settings were previously enabled.
muCurrentlySelectedIf multi user settings are currently enabled as of most recent change.

Definition at line 158 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbUtil.allowUseOfCentralRepository(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.getSavedDbChoice(), org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbChoice.POSTGRESQL_MULTIUSER, org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.propertyChangeSupport, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbManager.saveDbChoice(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbUtil.setUseCentralRepo().

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.onSettingsChange ( PropertyChangeEvent  evt)
private
void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.saveSettings ( )

Definition at line 722 of file GlobalSettingsPanel.java.

boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.setStatus ( ImageIcon  icon,
String  text 
)
private

Definition at line 292 of file GlobalSettingsPanel.java.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.setupSettingsChangeListeners ( )
private
void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.showCasesButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 657 of file GlobalSettingsPanel.java.

boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.showStatusFail ( String  message)
private

Definition at line 284 of file GlobalSettingsPanel.java.

boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.showStatusOkay ( )
private

Definition at line 280 of file GlobalSettingsPanel.java.

void org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.store ( )
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.testCurrentConfiguration ( )
private
boolean org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.valid ( )

This method validates that the dialog/panel is filled out correctly for our usage.

Returns
True if it is okay, false otherwise.

Definition at line 717 of file GlobalSettingsPanel.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepoDbChoice.DISABLED.

Referenced by org.sleuthkit.autopsy.centralrepository.optionspanel.EamOptionsPanelController.isValid().

Member Data Documentation

final ImageIcon org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.badIcon = new ImageIcon(ImageUtilities.loadImage("org/sleuthkit/autopsy/images/bad.png", false))
private

Definition at line 72 of file GlobalSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.bnDbConfigure
private

Definition at line 850 of file GlobalSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.bnManageTypes
private

Definition at line 851 of file GlobalSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.bnTestConfigure
private

Definition at line 852 of file GlobalSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.casesPanel
private

Definition at line 853 of file GlobalSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.casesScrollPane
private

Definition at line 854 of file GlobalSettingsPanel.java.

javax.swing.JTextArea org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.casesTextArea
private

Definition at line 855 of file GlobalSettingsPanel.java.

javax.swing.JCheckBox org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.cbUseCentralRepo
private

Definition at line 856 of file GlobalSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.correlationPropertiesScrollPane
private

Definition at line 857 of file GlobalSettingsPanel.java.

javax.swing.JTextArea org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.correlationPropertiesTextArea
private

Definition at line 858 of file GlobalSettingsPanel.java.

final ImageIcon org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.goodIcon = new ImageIcon(ImageUtilities.loadImage("org/sleuthkit/autopsy/images/good.png", false))
private

Definition at line 71 of file GlobalSettingsPanel.java.

final Set<IngestManager.IngestJobEvent> org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.INGEST_JOB_EVENTS_OF_INTEREST = EnumSet.of(IngestManager.IngestJobEvent.STARTED, IngestManager.IngestJobEvent.CANCELLED, IngestManager.IngestJobEvent.COMPLETED)
staticprivate

Definition at line 61 of file GlobalSettingsPanel.java.

final IngestJobEventPropertyChangeListener org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.ingestJobEventListener
private

Definition at line 69 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.ingestRunningWarningLabel
private

Definition at line 859 of file GlobalSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.jPanel1
private

Definition at line 860 of file GlobalSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.jScrollPane1
private

Definition at line 861 of file GlobalSettingsPanel.java.

PropertyChangeListener org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lastRegistered = null
staticprivate

Definition at line 67 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbCentralRepository
private

Definition at line 862 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbDbLocationLabel
private

Definition at line 863 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbDbLocationValue
private

Definition at line 864 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbDbNameLabel
private

Definition at line 865 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbDbNameValue
private

Definition at line 866 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbDbPlatformTypeLabel
private

Definition at line 867 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.lbDbPlatformValue
private

Definition at line 868 of file GlobalSettingsPanel.java.

final Logger org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.logger = Logger.getLogger(GlobalSettingsPanel.class.getName())
staticprivate

Definition at line 60 of file GlobalSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.manageOrganizationButton
private

Definition at line 869 of file GlobalSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.organizationPanel
private

Definition at line 870 of file GlobalSettingsPanel.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.organizationScrollPane
private

Definition at line 871 of file GlobalSettingsPanel.java.

javax.swing.JTextArea org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.organizationTextArea
private

Definition at line 872 of file GlobalSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.pnCorrelationProperties
private

Definition at line 873 of file GlobalSettingsPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.pnDatabaseConfiguration
private

Definition at line 874 of file GlobalSettingsPanel.java.

final PropertyChangeSupport org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.propertyChangeSupport = new PropertyChangeSupport(GlobalSettingsPanel.class)
staticprivate
final long org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.serialVersionUID = 1L
staticprivate

Definition at line 59 of file GlobalSettingsPanel.java.

javax.swing.JButton org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.showCasesButton
private

Definition at line 875 of file GlobalSettingsPanel.java.

javax.swing.JTextField org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.tbOops
private

Definition at line 876 of file GlobalSettingsPanel.java.

javax.swing.JLabel org.sleuthkit.autopsy.centralrepository.optionspanel.GlobalSettingsPanel.testStatusLabel
private

Definition at line 877 of file GlobalSettingsPanel.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.