Package com.sun.slamd.db

The com.sun.slamd.db package contains the code for interacting with the embedded database.

See:
          Description

Class Summary
DSMigrator This class provides a utility that can be used to migrate data from a SLAMD 1.x-style configuration directory server to the new embedded configuration database.
JobFolder This class defines a structure for storing information about a job folder.
SLAMDDB This class provides the main interface to the SLAMD database used for storing user accounts, configuration information, and job data.
SLAMDGroup This class defines a set of information about a user defined in the SLAMD database, including the username and hashed password, the default folder, and the set of groups in which the user is a member.
SLAMDPermission This class defines a generic permission that may be associated with some functionality in the SLAMD administrative interface.
SLAMDUser This class defines a set of information about a user defined in the SLAMD database, including the username and hashed password, the default folder, and the set of groups in which the user is a member.
 

Exception Summary
DecodeException This class defines an exception that may be thrown if a problem arises while attempting to decode a set of encoded data.
 

Package com.sun.slamd.db Description

The com.sun.slamd.db package contains the code for interacting with the embedded database. This database stores all configuration and job data. The embedded database used is the Berkeley DB Java Edition, which is not a relational database but rather a BTree database, so it is not accessed via JDBC and data is not stored in rows and columns, but rather each database operates very much like a java.util.TreeMap in which elements are sorted key-value pairs that may be get and put as necessary.