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 <viji...@beo.in> 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: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>
>

Reply via email to