Update of /cvsroot/guanxi/Engine/src/main/java/org/guanxi/sp/engine
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv8330/Engine/src/main/java/org/guanxi/sp/engine
Modified Files:
Bootstrap.java
Log Message:
Added DiscoveryFeedManager support
Index: Bootstrap.java
===================================================================
RCS file: /cvsroot/guanxi/Engine/src/main/java/org/guanxi/sp/engine/Bootstrap.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Bootstrap.java 8 Nov 2010 10:50:33 -0000 1.13
--- Bootstrap.java 26 Jan 2011 09:37:36 -0000 1.14
***************
*** 17,20 ****
--- 17,21 ----
package org.guanxi.sp.engine;
+ import org.guanxi.sp.engine.service.saml2.DiscoveryFeedManager;
import org.springframework.web.context.ServletContextAware;
import org.springframework.context.ApplicationListener;
***************
*** 63,66 ****
--- 64,69 ----
/** Our job scheduler */
private Scheduler scheduler = null;
+ /** The SAML2 Discovery Service feed manager to use */
+ private DiscoveryFeedManager saml2DiscoveryFeedManager = null;
/**
***************
*** 114,117 ****
--- 117,123 ----
servletContext.setAttribute(Guanxi.CONTEXT_ATTR_ENGINE_ENTITY_FARM, entityFarm);
+ // Inject the Discovery Service feed manager
+ servletContext.setAttribute(Guanxi.CONTEXT_ATTR_ENGINE_DISCOVERY_FEED_MANAGER, saml2DiscoveryFeedManager);
+
loadGuardMetadata(config.getGuardsMetadataDirectory());
loadIdPMetadata(config.getIdPMetadataDirectory());
***************
*** 402,404 ****
--- 408,411 ----
public EntityFarm getEntityFarm() { return entityFarm; }
public void setEntityFarm(EntityFarm entityFarm) { this.entityFarm = entityFarm; }
+ public void setSaml2DiscoveryFeedManager(DiscoveryFeedManager saml2DiscoveryFeedManager) { this.saml2DiscoveryFeedManager = saml2DiscoveryFeedManager; }
}
|