edu.internet2.middleware.shibboleth.wayf
Class IdPSiteSetEntry

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.wayf.IdPSiteSetEntry

public class IdPSiteSetEntry
extends Object

This is just a container class for tieing together a set of IdPs to a name - this being what is sent to the JSP for display purposes.


Field Summary
private  Collection<IdPSite> sites
          The IdPs associated with that metadata provider.
private  IdPSiteSet siteSet
          The metadata provider.
 
Constructor Summary
IdPSiteSetEntry(IdPSiteSet siteSetParam, Collection<IdPSite> sitesParam)
          Create an object which contains just these two objects.
 
Method Summary
 String getName()
          Return something to display for this set of sites.
 Collection<IdPSite> getSites()
          Return the list of associated sites.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

siteSet

private final IdPSiteSet siteSet
The metadata provider.


sites

private final Collection<IdPSite> sites
The IdPs associated with that metadata provider.

Constructor Detail

IdPSiteSetEntry

public IdPSiteSetEntry(IdPSiteSet siteSetParam,
                       Collection<IdPSite> sitesParam)
Create an object which contains just these two objects.

Parameters:
siteSetParam - the metadata provider.
sitesParam - the list of IdPs.
Method Detail

getName

public String getName()
Return something to display for this set of sites.

Returns:
the name as defined in the configuration

getSites

public Collection<IdPSite> getSites()
Return the list of associated sites.

Returns:
a collection of IdPs.


Copyright © 1999-2012. All Rights Reserved.