General configuration

General configuration — gSSO general configuration keys

Synopsis

#include <gsignond/gsignond-config.h>

#define             GSIGNOND_CONFIG_GENERAL
#define             GSIGNOND_CONFIG_GENERAL_BIN_DIR
#define             GSIGNOND_CONFIG_GENERAL_EXTENSION
#define             GSIGNOND_CONFIG_GENERAL_EXTENSIONS_DIR
#define             GSIGNOND_CONFIG_GENERAL_PLUGINS_DIR
#define             GSIGNOND_CONFIG_GENERAL_SECURE_DIR
#define             GSIGNOND_CONFIG_GENERAL_STORAGE_PATH
#define             GSIGNOND_CONFIG_PLUGIN_TIMEOUT

Description

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

Details

GSIGNOND_CONFIG_GENERAL

#define GSIGNOND_CONFIG_GENERAL                 "General"

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


GSIGNOND_CONFIG_GENERAL_BIN_DIR

#define             GSIGNOND_CONFIG_GENERAL_BIN_DIR

The path where gSSO is looking for the gsignond-plugind binary when it needs to start a plugin process. Can be used for finding other supplementary binaries in the future.

Default value: $(bindir), can be overriden in debug builds by setting SSO_BIN_DIR 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_EXTENSIONS_DIR

#define             GSIGNOND_CONFIG_GENERAL_EXTENSIONS_DIR

The path where gSSO is looking for available extension modules.

Default value: $(pkglibdir)/extensions, can be overriden in debug builds by setting SSO_EXTENSIONS_DIR environment variable.


GSIGNOND_CONFIG_GENERAL_PLUGINS_DIR

#define             GSIGNOND_CONFIG_GENERAL_PLUGINS_DIR

The path where gSSO is looking for available plugins.

Default value: $(pkglibdir)/plugins, can be overriden in debug builds by setting SSO_PLUGINS_DIR 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.

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


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_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.