Re: Axis2 WS Security- Issue in loading merlin file path

viji <[email protected]> Fri, 6 Dec 2019 03:19:08 -0700 (MST)
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
the rampart configuration is done like following 

 rampartConfig(String signatureCertFilePath, String certPassword)
	{
		Properties merlinProperties = new Properties();
		merlinProperties.put("org.apache.ws.security.crypto.merlin.keystore.type",
"JKS");
	
merlinProperties.put("org.apache.ws.security.crypto.merlin.file",signatureCertFilePath);
	
merlinProperties.put("org.apache.ws.security.crypto.merlin.keystore.password",
certPassword);
		CryptoConfig cryptoConfig = new CryptoConfig();
		cryptoConfig.setProvider(Merlin.class.getName());
		cryptoConfig.setProp(merlinProperties);
		RampartConfig rampartConfig = new RampartConfig();
		rampartConfig.setSigCryptoConfig(cryptoConfig);
      }

So you mean instead of string path , we should give some sort of stream 



--
Sent from: http://axis.8716.n7.nabble.com/Axis-Java-User-f3.html