Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The SP is controlled by a handful of environment variables that can be used to override the default files and locations used. If not set, the software uses values that are either compiled in based on the installation location (Unix), or defaulted (Windows).

Variable

Description

SHIBSP_PREFIX

Base directory of SP installation. Defaults

to c

to c:\opt\shibboleth-

sp on

sp on Windows. On Unix, defaults to the configure prefix used when building the software but is generally not usable by itself to relocate or multi-home the software.

SHIBSP_CONFIG

Name of primary configuration file. Defaults

to shibboleth2

to shibboleth2.

xml and

xml and is assumed to be

in etc

in etc/

shibboleth relative

shibboleth relative to the installation prefix.

SHIBSP_SCHEMAS

A list of XML Schema catalogs that map XML namespaces to schema files. Used when validating XML. Like a Java classpath, the paths are separated by a colon on Unix and a semicolon on Windows. The default catalog files are located

in share

in share/xml/xmltooling,

 share

 share/xml/opensaml,

and share

and share/xml/shibboleth, relative to the installation prefix.  On Windows they are located relative

to %PROGRAMDATA%

to %PROGRAMDATA%\Shibboleth\. The actual files have to be set, not just the directories.

SHIBSP_LOGGING

Name of a logging configuration file to use when running command line tools, or in the case

of shibd

of shibd, before dedicated logging is initialized. Defaults

to console

to console.

logger and

logger and is assumed to be

in etc

in etc/

shibboleth relative

shibboleth relative to the installation prefix.

SHIBSP_LIBDIR

Absolute directory (or a relative path to append to the installation prefix) where library files should be found. Used when resolving relative paths to libraries in configuration files. Defaults

to lib on

to lib on Windows.

SHIBSP_LOGDIR

Absolute directory (or a relative path to append to the installation prefix) where log files should be found. Defaults

to var

to var\

log on

log on Windows.

SHIBSP_CFGDIR

Absolute directory (or a relative path to append to the installation prefix) where configuration files should be found. Used when resolving relative paths to supplemental configuration files. Defaults

to etc on

to etc on Windows.

SHIBSP_CACHEDIR

Absolute directory (or a relative path to append to the installation prefix) where cached state intended to survive reboot should be found. Used when resolving relative paths to cached state in configuration files. Defaults

to var

to var\

cache on

cache on Windows.

SHIBSP_RUNDIR

Absolute directory (or a relative path to append to the installation prefix) where runtime state should be found. Used when resolving relative paths to runtime state in configuration files. Defaults

to var

to var\

run on

run on Windows

SHIBSP_XMLDIR

Absolute directory (or a relative path to append to the installation prefix) where XML schema and catalog files should be found. Defaults

to share

to share\

xml on

xml on Windows