Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils Class Reference

Static Public Member Functions

static boolean canAddDataSources ()
 
static boolean canAddHashSetsToCentralRepo ()
 
static boolean canCreateMultiUserCases ()
 
static boolean canDeleteCurrentCase ()
 
static boolean canDeleteDataSources ()
 

Private Member Functions

 FeatureAccessUtils ()
 

Static Private Member Functions

static boolean currentCaseIsSingleUserCase ()
 
static boolean multiUserCaseRestrictionsFileAbsent ()
 

Static Private Attributes

static final int DATA_SRC_DEL_MIN_DB_MAJOR_VER = 8
 
static final int DATA_SRC_DEL_MIN_DB_MINOR_VER = 4
 
static final String MULTIUSER_CASE_RESTRICTED_FILE_NAME = "mualimit"
 
static final String MULTIUSER_CASE_RESTRICTED_FILE_PATH = Paths.get(PlatformUtil.getUserConfigDirectory(), MULTIUSER_CASE_RESTRICTED_FILE_NAME).toString()
 

Detailed Description

Check if access to various features is permitted for the current user and the current case, if any.

IMPORTANT: These utilities are not concerned with transitory restrictions on access to a feature, e.g., whether or not ingest is running.

Definition at line 35 of file FeatureAccessUtils.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.FeatureAccessUtils ( )
private

Private constructor to prevent instantiation of this utility class.

Definition at line 118 of file FeatureAccessUtils.java.

Member Function Documentation

static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canAddDataSources ( )
static
static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canAddHashSetsToCentralRepo ( )
static

Indicates whether or not a user can add hash sets to the central repository.

Returns
True or false.

Definition at line 91 of file FeatureAccessUtils.java.

References org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.multiUserCaseRestrictionsFileAbsent().

static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canCreateMultiUserCases ( )
static
static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canDeleteCurrentCase ( )
static
static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canDeleteDataSources ( )
static
static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.currentCaseIsSingleUserCase ( )
staticprivate
static boolean org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.multiUserCaseRestrictionsFileAbsent ( )
staticprivate

Member Data Documentation

final int org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.DATA_SRC_DEL_MIN_DB_MAJOR_VER = 8
staticprivate
final int org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.DATA_SRC_DEL_MIN_DB_MINOR_VER = 4
staticprivate
final String org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.MULTIUSER_CASE_RESTRICTED_FILE_NAME = "mualimit"
staticprivate

Definition at line 37 of file FeatureAccessUtils.java.

final String org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.MULTIUSER_CASE_RESTRICTED_FILE_PATH = Paths.get(PlatformUtil.getUserConfigDirectory(), MULTIUSER_CASE_RESTRICTED_FILE_NAME).toString()
staticprivate

Definition at line 38 of file FeatureAccessUtils.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.