exit(1);
}
SAMLConfig::getConfig().getPlugMgr().regFactory(shibtarget::XML::htAccessControlType,&htAccessFactory);
- SAMLConfig::getConfig().getPlugMgr().regFactory(shibtarget::XML::ApacheRequestMapType,&ApacheRequestMapFactory);
-
- // We hijack the legacy type so that 1.2 config files will load this plugin instead of the basic plugin.
+ SAMLConfig::getConfig().getPlugMgr().regFactory(shibtarget::XML::NativeRequestMapType,&ApacheRequestMapFactory);
+ // We hijack the legacy type so that 1.2 config files will load this plugin
SAMLConfig::getConfig().getPlugMgr().regFactory(shibtarget::XML::LegacyRequestMapType,&ApacheRequestMapFactory);
if (!g_Config->load(g_szSHIBConfig)) {
<!--
To customize behavior, map hostnames and path components to applicationId and other settings.
The following provider types are available with the delivered code:
- type="edu.internet2.middleware.shibboleth.sp.apache.provider.ApacheRequestMapProvider"
- - Apache-specific plugin that allows Apache commands (like ShibRequireSession) to
- override or supplement the XML syntax, and supplies an htaccess authz plugin
- for all content if not overridden here.
+ type="edu.internet2.middleware.shibboleth.sp.provider.NativeRequestMapProvider"
+ - Web-server-specific plugin that allows native commands (like Apache's
+ ShibRequireSession) to override or supplement the XML syntax. The Apache
+ version also supplies an htaccess authz plugin for all content.
- type="edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap"
- - legacy plugin, alias for "edu.internet2.middleware.shibboleth.sp.provider.XMLRequestMapProvider"
- except on Apache, where the module will override this type with the provider above,
- to ensure behavior identical to 1.2 when older configuration files are supplied
-
type="edu.internet2.middleware.shibboleth.sp.provider.XMLRequestMapProvider"
- portable plugin that does not support the older Apache-specific commands and works
the same on all web platforms, this plugin does NOT support htaccess files
for authz unless you also place an <htaccess/> element somewhere in the map
- By default, the "legacy" plugin (the middle one above) is left in place, since that
- matches 1.2 behavior on both Apache and IIS. Changing to one of the other two is
- suggested, depending on whether you're using Apache or not.
+ By default, the "native" plugin (the first one above) is used, since it matches 1.2
+ behavior on both Apache and IIS.
-->
- <RequestMapProvider type="edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap">
+ <RequestMapProvider type="edu.internet2.middleware.shibboleth.sp.provider.NativeRequestMapProvider">
<RequestMap applicationId="default">
<!--
This requires a session for documents in /secure on the containing host with http and
const char XML::MySQLReplayCacheType[] = "edu.internet2.middleware.shibboleth.sp.provider.MySQLReplayCacheProvider";
const char XML::XMLRequestMapType[] = "edu.internet2.middleware.shibboleth.sp.provider.XMLRequestMapProvider";
-const char XML::ApacheRequestMapType[] = "edu.internet2.middleware.shibboleth.sp.apache.provider.ApacheRequestMapProvider";
+const char XML::NativeRequestMapType[] = "edu.internet2.middleware.shibboleth.sp.provider.NativeRequestMapProvider";
const char XML::LegacyRequestMapType[] = "edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap";
const char XML::htAccessControlType[] = "edu.internet2.middleware.shibboleth.sp.apache.provider.htAccessControl";
samlConf.getPlugMgr().regFactory(shibtarget::XML::MemorySessionCacheType,&MemoryCacheFactory);
samlConf.getPlugMgr().regFactory(shibtarget::XML::LegacyRequestMapType,&XMLRequestMapFactory);
samlConf.getPlugMgr().regFactory(shibtarget::XML::XMLRequestMapType,&XMLRequestMapFactory);
+ samlConf.getPlugMgr().regFactory(shibtarget::XML::NativeRequestMapType,&XMLRequestMapFactory);
saml::XML::registerSchema(shibtarget::XML::SHIBTARGET_NS,shibtarget::XML::SHIBTARGET_SCHEMA_ID);
saml::XML::registerSchema(shibtarget::XML::SAML2META_NS,shibtarget::XML::SAML2META_SCHEMA_ID);
// Request mapping/settings implementations
static const char XMLRequestMapType[]; // portable XML-based map
- static const char ApacheRequestMapType[]; // Apache command override of XML-based map
- static const char LegacyRequestMapType[]; // older designation of XML map, hijacked by Apache
+ static const char NativeRequestMapType[]; // Native web server command override of XML-based map
+ static const char LegacyRequestMapType[]; // older designation of XML map, hijacked by web server
// Access control implementations
static const char htAccessControlType[]; // Apache-specific .htaccess authz module