Re: Axis2 WS Security- Issue in loading merlin file path
"robertlazarski ." <[email protected]> Fri, 6 Dec 2019 11:25:54 -1000
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBUcL=RfeqgNDSmTHadmoFZspddhFejBuBzXV=FHjZox5A@mail.gmail.com> |
I am not a rampart user though the examples I see in the docs use a file path on the local file system. So I would deploy it under WEB-INF/classes and pass a relative path to it. On Fri, Dec 6, 2019 at 12:10 AM viji <[email protected]> wrote: > > 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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >