Hi Andrei,

>From the provided CXF samples, we are setting the keystore properties file 
>directly to the interceptors while engaging encryption or security.

Is there any way to use this Properties object or some crypto object which is 
created with the help of this properties object instead of the file ?

Properties keyStoreProps = new Properties();
              keyStoreProps.setProperty("apache.ws.security.crypto.provider", " 
apache.ws.security.components.crypto.Merlin");
              
keyStoreProps.setProperty("apache.ws.security.crypto.merlin.keystore.type", 
keyStoreObj.getKeyStoreType());
              
keyStoreProps.setProperty("apache.ws.security.crypto.merlin.keystore.password", 
keyStoreObj.getKeyStorePass());
              keyStoreProps.put("keyStoreRaw", keyStoreObj.getKeyStoreBytes());
              return keyStoreProps;

The point is we cannot use properties file everytime, can you suggest some 
alternative ?

Thanks,
Jayashankar

Reply via email to