Autopsy  4.13.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 canCreateMultiUserCases ()
 
static boolean canDeleteDataSources ()
 
static boolean multiUserCaseRestrictionsFileAbsent ()
 

Private Member Functions

 FeatureAccessUtils ()
 

Static Private Member Functions

static boolean currentCaseIsSingleUserCase ()
 

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 99 of file FeatureAccessUtils.java.

Member Function Documentation

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

Indicates whether or not a user can create multi-user cases.

Returns
True or false.

Definition at line 47 of file FeatureAccessUtils.java.

References org.sleuthkit.autopsy.core.UserPreferences.getIsMultiUserModeEnabled(), and org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.multiUserCaseRestrictionsFileAbsent().

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 ( )
static

Indicates whether or not the current user is allowed to create or modify (add or delete data sources) multi-user cases.

Returns
True or false.

Definition at line 91 of file FeatureAccessUtils.java.

Referenced by org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canAddDataSources(), org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canCreateMultiUserCases(), and org.sleuthkit.autopsy.featureaccess.FeatureAccessUtils.canDeleteDataSources().

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-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.