/** * Load a KeyStore object as an InputStream, using the ClassLoader and location arguments */ public static InputStream loadInputStream(ClassLoader loader, String location) throws WSSecurityException, IOException { return Loader.loadInputStream(loader, location); }
Properties properties = new Properties(); try { InputStream is = Loader.loadInputStream(loader, propFilename); if (is == null) { throw new WSSecurityException(