General configuration

General configuration — gSSO general configuration keys

Types and Values

Includes

#include <gsignond/gsignond-config.h>

Description

General configuration keys are defined below. See GSignondConfig for how to use them.

Functions

Types and Values

GSIGNOND_CONFIG_GENERAL

#define GSIGNOND_CONFIG_GENERAL                 "General"

A prefix for general keys. Should be used only when defining new keys.


GSIGNOND_CONFIG_GENERAL_STORAGE_PATH

#define             GSIGNOND_CONFIG_GENERAL_STORAGE_PATH

Base path for GSignondStorageManager to operate in.

Default value: "/var/db", can be overriden in debug builds by setting SSO_STORAGE_PATH environment variable.


GSIGNOND_CONFIG_GENERAL_EXTENSION

#define             GSIGNOND_CONFIG_GENERAL_EXTENSION

The name of the gSSO extension to use. If not specified, the default implementation is used (see GSignondExtension).

Can be overriden in debug builds by setting SSO_EXTENSION environment variable.


GSIGNOND_CONFIG_GENERAL_SECURE_DIR

#define             GSIGNOND_CONFIG_GENERAL_SECURE_DIR

Path provided by GSignondStorageManager for storing user-specific information, including secret and metadata databases.

This is a run-time value and any value read from configuration file is overwritten.

Value provided by the default implementation: GSIGNOND_CONFIG_GENERAL_STORAGE_PATH + "/gsignond." + g_get_user_name().


GSIGNOND_CONFIG_PLUGIN_TIMEOUT

#define             GSIGNOND_CONFIG_PLUGIN_TIMEOUT

A timeout in seconds, after which inactive plugin objects and processes are removed. If not set, the plugin objects will persist for possible reuse.

Can be overriden in debug builds by setting SSO_PLUGIN_TIMEOUT environment variable.


GSIGNOND_CONFIG_GENERAL_KEYCHAIN_SYSCTX

#define             GSIGNOND_CONFIG_GENERAL_KEYCHAIN_SYSCTX

System security context of the keychain UI process (see GSignondAccessControlManager).

Default value can be defined through configure --enable-keychain flag (see

Building gsignond).