log.crit ("Can not read the x509 certificate.");
throw;
}
+
+ try {
+ if (ini->get_tag (app, SHIBTARGET_TAG_SITESREFRESH, true, &tag)) {
+ shibConf.mapperRefreshInterval = atoi(tag.c_str());
+ }
+ } catch (...) {
+ log.crit ("Can not read the mapper refresh interval.");
+ throw;
+ }
try {
if (!shibConf.init()) {
#define SHIBTARGET_TAG_SITES "sitesFile"
#define SHIBTARGET_TAG_SITESCERT "sitesCertFile"
+#define SHIBTARGET_TAG_SITESREFRESH "sitesRefresh"
/* initialize and finalize the target library (return 0 on success, 1 on failure) */
int shib_target_initialize (const char* application, const char* ini_file);