ClassLoader tcl = Thread.currentThread().getContextClassLoader();
InputStream is = tcl.getResourceAsStream(configFile);
assertNotNull("Inputstream not null for config file:" + configFile, is);
SAMLConfigParser parser = new SAMLConfigParser();
return parser.parse(is);
/*
* String[] pkgNames = new String[] {"org.picketlink.identity.federation.core.config",
* "org.picketlink.identity.federation.core.handler.config"}; Unmarshaller un =
* JAXBUtil.getValidatingUnmarshaller(pkgNames, schemas); return un.unmarshal(is);