Andrei Shakirin created CXF-6223:
------------------------------------
Summary: Support message property for encryption certificate
Key: CXF-6223
URL: https://issues.apache.org/jira/browse/CXF-6223
Project: CXF
Issue Type: Improvement
Components: Core
Affects Versions: 2.7.14, 3.0.3
Reporter: Andrei Shakirin
Assignee: Andrei Shakirin
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)