X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2Fimpl%2FBlacklistMetadataFilter.cpp;fp=saml%2Fsaml2%2Fmetadata%2Fimpl%2FBlacklistMetadataFilter.cpp;h=7081e1337c17362de6219b9ee8377cb9cfc0553d;hp=04e4e1cccacb3e95c8f0bded45bb5e5f393740e2;hb=1462057b3b9ae7e165d34d988e30b14c213672ca;hpb=756c7bfd3d42c1a483e9ac47f4e65bc0e01dbe76 diff --git a/saml/saml2/metadata/impl/BlacklistMetadataFilter.cpp b/saml/saml2/metadata/impl/BlacklistMetadataFilter.cpp index 04e4e1c..7081e13 100644 --- a/saml/saml2/metadata/impl/BlacklistMetadataFilter.cpp +++ b/saml/saml2/metadata/impl/BlacklistMetadataFilter.cpp @@ -91,24 +91,24 @@ void BlacklistMetadataFilter::doFilter(XMLObject& xmlObject) const EntitiesDescriptor* group = dynamic_cast(&xmlObject); if (group) { if (group->getName() && !m_entities.empty() && m_entities.count(group->getName()) > 0) - throw MetadataFilterException(BLACKLIST_METADATA_FILTER" MetadataFilter instructed to filter the root group in the metadata."); + throw MetadataFilterException(BLACKLIST_METADATA_FILTER " MetadataFilter instructed to filter the root group in the metadata."); filterGroup(group); } else { EntityDescriptor* entity = dynamic_cast(&xmlObject); if (entity) { if (included(*entity)) - throw MetadataFilterException(BLACKLIST_METADATA_FILTER" MetadataFilter instructed to filter the root/only entity in the metadata."); + throw MetadataFilterException(BLACKLIST_METADATA_FILTER " MetadataFilter instructed to filter the root/only entity in the metadata."); } else { - throw MetadataFilterException(BLACKLIST_METADATA_FILTER" MetadataFilter was given an improper metadata instance to filter."); + throw MetadataFilterException(BLACKLIST_METADATA_FILTER " MetadataFilter was given an improper metadata instance to filter."); } } } void BlacklistMetadataFilter::filterGroup(EntitiesDescriptor* entities) const { - Category& log = Category::getInstance(SAML_LOGCAT".MetadataFilter."WHITELIST_METADATA_FILTER); + Category& log = Category::getInstance(SAML_LOGCAT ".MetadataFilter." WHITELIST_METADATA_FILTER); VectorOf(EntityDescriptor) v = entities->getEntityDescriptors(); for (VectorOf(EntityDescriptor)::size_type i = 0; i < v.size(); ) {