* crowdConfigContext .setConfigLocations(new String[] {
* "classpath:/applicationContext-HudsonCrowdClient.xml" });
*/
crowdConfigContext
.setConfigLocations(new String[] { "classpath:/applicationContext-CrowdClient.xml" });
crowdConfigContext.refresh();
// load the Hudson-Crowd configuration from Crowd.groovy
BeanBuilder builder = new BeanBuilder(crowdConfigContext, getClass().getClassLoader());
Binding binding = new Binding();
builder.parse(getClass().getResourceAsStream("Crowd.groovy"), binding);