Cache Daemons

The Cache Daemons are accessed using calls to the CacheLayer and hold configuration data for any running daemons.

CryptoCache


The cyrptoCache maintains a cache of passwords for use by all other processes.    The passwords are cached in memory and to disk in an encrypted form.    However, when a process requests it's passwords, they are delivered in clear text.    These passwords are usually entered from a User Interface and forwarded to the cryptoCache for storage then later accessed when required by various system processes.    The passwords are flagged as belonging to a specific device which may be a logical process name or some other identifier.    Under the device each password has a variable name and it's value.    There is no limit to the number of passwords that may be assigned to any device.    A client process may request a single password using device and variableName or all of it's passwords by just sending the device name.    These variable / password combinations are returned in a message object and automatically unloaded int the configurable variables array (Var).    A cfgAcc routine (caGetPw()) is set up to retrieve these.    Once retrieved, the passwords may be accessed from the C program by referencing the Variable Name directly.

CfgCache


The CfgCache daemon is similar to the cryptoCache, but does no encrytpion and is used to hold the entire set of configuarable variable information for a host of daemons.