ShibTargetConfig::Trust |
ShibTargetConfig::Credentials |
ShibTargetConfig::AAP |
- ShibTargetConfig::SHARExtensions |
- (shar_checkonly ? (ShibTargetConfig::SHIREExtensions | ShibTargetConfig::RequestMapper) : ShibTargetConfig::Logging)
+ ShibTargetConfig::GlobalExtensions |
+ (shar_checkonly ? (ShibTargetConfig::LocalExtensions | ShibTargetConfig::RequestMapper) : ShibTargetConfig::Logging)
);
if (!shar_config)
shar_config=getenv("SHIBCONFIG");
if (!shar_config)
shar_config=SHIB_CONFIG;
if (!conf.init(shar_schemadir,shar_config)) {
- fprintf(stderr, "configuration is invalid, check log for specific problems\n");
+ fprintf(stderr, "configuration is invalid, see console for specific problems\n");
return -2;
}
// If just a test run, bail.
if (shar_checkonly) {
- fprintf(stdout, "overall configuration is loadable, check log for non-fatal problems\n");
+ fprintf(stdout, "overall configuration is loadable, check console for non-fatal problems\n");
return 0;
}
ShibTargetConfig::Trust |
ShibTargetConfig::Credentials |
ShibTargetConfig::AAP |
- ShibTargetConfig::SHARExtensions |
- (shar_checkonly ? (ShibTargetConfig::SHIREExtensions | ShibTargetConfig::RequestMapper) : ShibTargetConfig::Logging)
+ ShibTargetConfig::GlobalExtensions |
+ (shar_checkonly ? (ShibTargetConfig::LocalExtensions | ShibTargetConfig::RequestMapper) : ShibTargetConfig::Logging)
);
if (!conf.init(shar_schemadir,shar_config)) {
- fprintf(stderr, "configuration is invalid, check log for specific problems\n");
+ fprintf(stderr, "configuration is invalid, check console for specific problems\n");
return -2;
}
if (shar_checkonly)
- fprintf(stderr, "overall configuration is loadable, check log for non-fatal problems\n");
+ fprintf(stderr, "overall configuration is loadable, check console for non-fatal problems\n");
else {
const IListener* listener=conf.getINI()->getListener();
using namespace shibtarget;
-const char XML::htaccessType[] = "edu.internet2.middleware.shibboleth.target.provider.htaccess";
-const char XML::MemorySessionCacheType[] = "edu.internet2.middleware.shibboleth.target.provider.MemorySessionCache";
-const char XML::MySQLSessionCacheType[] = "edu.internet2.middleware.shibboleth.target.provider.MySQLSessionCache";
-const char XML::RequestMapType[] = "edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap";
-const char XML::TCPListenerType[] = "edu.internet2.middleware.shibboleth.target.provider.TCPListener";
-const char XML::UnixListenerType[] = "edu.internet2.middleware.shibboleth.target.provider.UnixListener";
+const char XML::htaccessType[] = "edu.internet2.middleware.shibboleth.sp.provider.htaccess";
+const char XML::MemorySessionCacheType[] = "edu.internet2.middleware.shibboleth.sp.provider.MemorySessionCacheProvider";
+const char XML::MySQLSessionCacheType[] = "edu.internet2.middleware.shibboleth.sp.provider.MySQLSessionCacheProvider";
+const char XML::MySQLReplayCacheType[] = "edu.internet2.middleware.shibboleth.sp.provider.MySQLReplayCacheProvider";
+const char XML::LegacyRequestMapType[] = "edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap";
+const char XML::RequestMapType[] = "edu.internet2.middleware.shibboleth.sp.provider.XMLRequestMapProvider";
+const char XML::TCPListenerType[] = "edu.internet2.middleware.shibboleth.sp.provider.TCPListener";
+const char XML::UnixListenerType[] = "edu.internet2.middleware.shibboleth.sp.provider.UnixListener";
const XMLCh XML::SHIBTARGET_SCHEMA_ID[] = // shibboleth-targetconfig-1.0.xsd
{ chLatin_s, chLatin_h, chLatin_i, chLatin_b, chLatin_b, chLatin_o, chLatin_l, chLatin_e, chLatin_t, chLatin_h, chDash,
chLatin_P, chLatin_r, chLatin_o, chLatin_v, chLatin_i, chLatin_d, chLatin_e, chLatin_r, chNull
};
+const XMLCh XML::Literals::Global[] =
+{ chLatin_G, chLatin_l, chLatin_o, chLatin_b, chLatin_a, chLatin_l, chNull };
+
const XMLCh XML::Literals::Host[]= { chLatin_H, chLatin_o, chLatin_s, chLatin_t, chNull };
const XMLCh XML::Literals::htaccess[]=
const XMLCh XML::Literals::Listener[] =
{ chLatin_L, chLatin_i, chLatin_s, chLatin_t, chLatin_e, chLatin_n, chLatin_e, chLatin_r, chNull };
-const XMLCh XML::Literals::logger[] = { chLatin_l, chLatin_o, chLatin_g, chLatin_g, chLatin_e, chLatin_r, chNull };
+const XMLCh XML::Literals::Local[] =
+{ chLatin_L, chLatin_o, chLatin_c, chLatin_a, chLatin_l, chNull };
+
+const XMLCh XML::Literals::logger[] =
+{ chLatin_l, chLatin_o, chLatin_g, chLatin_g, chLatin_e, chLatin_r, chNull };
const XMLCh XML::Literals::MemorySessionCache[] =
{ chLatin_M, chLatin_e, chLatin_m, chLatin_o, chLatin_r, chLatin_y,
chLatin_C, chLatin_a, chLatin_c, chLatin_h, chLatin_e, chNull
};
+const XMLCh XML::Literals::MySQLReplayCache[] =
+{ chLatin_M, chLatin_y, chLatin_S, chLatin_Q, chLatin_L,
+ chLatin_R, chLatin_e, chLatin_p, chLatin_l, chLatin_a, chLatin_y,
+ chLatin_C, chLatin_a, chLatin_c, chLatin_h, chLatin_e, chNull
+};
+
const XMLCh XML::Literals::MySQLSessionCache[] =
{ chLatin_M, chLatin_y, chLatin_S, chLatin_Q, chLatin_L,
chLatin_S, chLatin_e, chLatin_s, chLatin_s, chLatin_i, chLatin_o, chLatin_n,
const XMLCh XML::Literals::RelyingParty[] =
{ chLatin_R, chLatin_e, chLatin_l, chLatin_y, chLatin_i, chLatin_n, chLatin_g, chLatin_P, chLatin_a, chLatin_r, chLatin_t, chLatin_y, chNull };
+const XMLCh XML::Literals::ReplayCache[] =
+{ chLatin_R, chLatin_e, chLatin_p, chLatin_l, chLatin_a, chLatin_y, chLatin_C, chLatin_a, chLatin_c, chLatin_h, chLatin_e, chNull };
+
const XMLCh XML::Literals::RequestMap[] =
{ chLatin_R, chLatin_e, chLatin_q, chLatin_u, chLatin_e, chLatin_s, chLatin_t, chLatin_M, chLatin_a, chLatin_p, chNull };
const XMLCh XML::Literals::Signing[] = { chLatin_S, chLatin_i, chLatin_g, chLatin_n, chLatin_i, chLatin_n, chLatin_g, chNull };
+const XMLCh XML::Literals::SPConfig[] =
+{ chLatin_S, chLatin_P, chLatin_C, chLatin_o, chLatin_n, chLatin_f, chLatin_i, chLatin_g, chNull };
+
const XMLCh XML::Literals::TCPListener[] =
{ chLatin_T, chLatin_C, chLatin_P, chLatin_L, chLatin_i, chLatin_s, chLatin_t, chLatin_e, chLatin_n, chLatin_e, chLatin_r, chNull };