Michael A. Grady
2009-08-28 03:16:45 UTC
I've started playing with the Shib2 Discovery Service. The
documentation describes support for a simple whitelist filter where
one can list a set of EntitlyIds that one wants, and (at least this
is what I understood from the documentation) not show any of the
other IdPs in the metadata file. But this doesn't appear to be
working -- I specify the InCommon metadata file as the local file,
and list 13 EntityIds I want as the whitelist. But the entire set of
IdPs in the InCommon metadata file are still being listed on the
"Choose" page.
This is the snippet of the wayfconfig.xml file that is applicable:
<MetadataProvider
displayName="CIC Institutions"
identifier="FirstSite"
url="file:///opt/discovery-shib/metadata/InCommon-
metadata.xml"/>
<Filter identifier="White"
type="edu.internet2.middleware.shibboleth.wayf.plugins.provider.ListFilt
er"
excludeEntries="false">
<EntityId>urn:mace:incommon:uiuc.edu</EntityId>
<EntityId>urn:mace:incommon:uiowa.edu</EntityId>
<EntityId>urn:mace:incommon:wisc.edu</EntityId>
<EntityId>urn:mace:incommon:umn.edu</EntityId>
<EntityId>urn:mace:incommon:northwestern.edu</EntityId>
<EntityId>urn:mace:incommon:uchicago.edu</EntityId>
<EntityId>urn:mace:incommon:msu.edu</EntityId>
<EntityId>https://shibboleth.umich.edu/idp/shibboleth</
EntityId>
<EntityId>https://idp.purdue.edu/idp/shibboleth</EntityId>
<EntityId>urn:mace:incommon:iu.edu</EntityId>
<EntityId>https://shibboleth.uic.edu/shibboleth</EntityId>
<EntityId>urn:mace:incommon:osu.edu</EntityId>
<EntityId>urn:mace:incommon:psu.edu</EntityId>
</Filter>
That's the only MetadataProvider I've specified in the file. I also
tried setting the excludeEntries attribute to "true" (which I take it
from the documentation would make this a "Blacklist"), but that seems
to make no difference to what is presented in the list either. What
am I missing or specifying incorrectly?
--
Michael A. Grady
Executive Program Officer for Cyberinfrastructure
Office of the CIO, University of Illinois at Urbana-Champaign
2222 DCL, MC 256, 1304 W. Springfield Ave., Urbana, IL 61801
217.244.1253 phone, 217.244.4780 fax
documentation describes support for a simple whitelist filter where
one can list a set of EntitlyIds that one wants, and (at least this
is what I understood from the documentation) not show any of the
other IdPs in the metadata file. But this doesn't appear to be
working -- I specify the InCommon metadata file as the local file,
and list 13 EntityIds I want as the whitelist. But the entire set of
IdPs in the InCommon metadata file are still being listed on the
"Choose" page.
This is the snippet of the wayfconfig.xml file that is applicable:
<MetadataProvider
displayName="CIC Institutions"
identifier="FirstSite"
url="file:///opt/discovery-shib/metadata/InCommon-
metadata.xml"/>
<Filter identifier="White"
type="edu.internet2.middleware.shibboleth.wayf.plugins.provider.ListFilt
er"
excludeEntries="false">
<EntityId>urn:mace:incommon:uiuc.edu</EntityId>
<EntityId>urn:mace:incommon:uiowa.edu</EntityId>
<EntityId>urn:mace:incommon:wisc.edu</EntityId>
<EntityId>urn:mace:incommon:umn.edu</EntityId>
<EntityId>urn:mace:incommon:northwestern.edu</EntityId>
<EntityId>urn:mace:incommon:uchicago.edu</EntityId>
<EntityId>urn:mace:incommon:msu.edu</EntityId>
<EntityId>https://shibboleth.umich.edu/idp/shibboleth</
EntityId>
<EntityId>https://idp.purdue.edu/idp/shibboleth</EntityId>
<EntityId>urn:mace:incommon:iu.edu</EntityId>
<EntityId>https://shibboleth.uic.edu/shibboleth</EntityId>
<EntityId>urn:mace:incommon:osu.edu</EntityId>
<EntityId>urn:mace:incommon:psu.edu</EntityId>
</Filter>
That's the only MetadataProvider I've specified in the file. I also
tried setting the excludeEntries attribute to "true" (which I take it
from the documentation would make this a "Blacklist"), but that seems
to make no difference to what is presented in the list either. What
am I missing or specifying incorrectly?
--
Michael A. Grady
Executive Program Officer for Cyberinfrastructure
Office of the CIO, University of Illinois at Urbana-Champaign
2222 DCL, MC 256, 1304 W. Springfield Ave., Urbana, IL 61801
217.244.1253 phone, 217.244.4780 fax