public OpenSAMLTest(String testName) throws KeyStoreException, FileNotFoundException, CertificateException, IOException, NoSuchAlgorithmException {
  super(testName);
  PropertyConfigurator.configure(LOG_FILE);
  ks=KeyStore.getInstance("JKS");
  InputStream is=new FileInputStream(new File(path));
  try {
    ks.load(is,password);
  }
  finally {
    if (is != null) {
      is.close();
    }
  }
}

public OpenSAMLTest ( String testName ) throws KeyStoreException , FileNotFoundException , CertificateException , IOException , NoSuchAlgorithmException { super ( testName ) ; PropertyConfigurator . configure ( LOG_FILE ) ; ks = KeyStore . getInstance ( "JKS" ) ; InputStream is = new FileInputStream ( new File ( path ) ) ; try { ks . load ( is , password ) ; } finally { if ( is != null ) { is . close ( ) ; } } }
create the test case
