Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.OsAccountRealm Class Reference

Classes

enum  RealmDbStatus
 
enum  RealmScope
 
enum  ScopeConfidence
 

Public Member Functions

Optional< String > getRealmAddr ()
 
List< String > getRealmNames ()
 
RealmScope getScope ()
 
ScopeConfidence getScopeConfidence ()
 
Optional< HostgetScopeHost ()
 

Detailed Description

Realm encapsulates the scope of an OsAccount. An account is unique within a realm.

A realm may be host scoped, say for a local standalone computer, or domain scoped.

Many times, we may learn about the existence of a realm without fully understanding it. Such as when we find a Windows SID before we've parsed the registry to know if it is for the local computer or domain. By default, a realm is created with a host-level scope and a confidence of "inferred".

Definition at line 39 of file OsAccountRealm.java.

Member Function Documentation

Optional<String> org.sleuthkit.datamodel.OsAccountRealm.getRealmAddr ( )

Get the realm address, such as part of a Windows SID.

Returns
Optional realm unique address.

Definition at line 107 of file OsAccountRealm.java.

List<String> org.sleuthkit.datamodel.OsAccountRealm.getRealmNames ( )

Get realm names list.

Currently we only support a single name for realm, so this list may have at most a single name. And the list may be empty if there is no name.

Returns
List of realm names, may be empty.

Definition at line 93 of file OsAccountRealm.java.

Referenced by org.sleuthkit.datamodel.OsAccountManager.newWindowsOsAccount().

RealmScope org.sleuthkit.datamodel.OsAccountRealm.getScope ( )
ScopeConfidence org.sleuthkit.datamodel.OsAccountRealm.getScopeConfidence ( )

Get realm scope confidence.

Returns
Realm scope confidence.

Definition at line 134 of file OsAccountRealm.java.

Optional<Host> org.sleuthkit.datamodel.OsAccountRealm.getScopeHost ( )

Get the realm scope host, if it's a single host realm.

Returns
Optional host. Is empty if the scope of the realm is domain-scoped.

Definition at line 125 of file OsAccountRealm.java.

Referenced by org.sleuthkit.datamodel.OsAccountRealm.getScope(), and org.sleuthkit.datamodel.OsAccountManager.newWindowsOsAccount().


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

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.