Details
Description
Currently certificate for encryption is either loaded from the
keystore "ws-security.encryption.properties" or extracted from request
(if "ws-security.encryption.username" has value "useReqSigCert").
However there are some scenarios where certificate is extracted from other messages/exchanges/contexts and application has prepared X509 certificated for the encryption. In this case would be nice to have a new property (ENCRYPT_CERT = "ws-security.encryption.certificate") to store this certificate. The CXF code would just use this if it was set over the ENCRYPT_USER + associated keystore properties.