scannerConfig.getPackageIncludes().add("org.slf4j.*");
scannerConfig.getPackageIncludes().add("javax.servlet.*");
scannerConfig.getPackageIncludes().add("org.springframework.security.*");
// Determine which module descriptors, or extension points, to expose.
DefaultModuleDescriptorFactory modules = new DefaultModuleDescriptorFactory(new DefaultHostContainer());
initPluginDescriptor(modules, DEFAULT_PACKAGE_NAME);
// Determine which service objects to expose to plugins
HostComponentProvider host = new HostComponentProvider() {
public void provide(ComponentRegistrar reg) {