spring-ws icon indicating copy to clipboard operation
spring-ws copied to clipboard

Added setSecurementEncryptionOptionalParts into Wss4jSecurityInterceptor

Open xscreach opened this issue 3 years ago • 7 comments

Added ability to optionally encrypt XML elements - only when present in the XML

xscreach avatar Mar 03 '22 12:03 xscreach

@xscreach Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla avatar Mar 03 '22 12:03 pivotal-cla

@xscreach Thank you for signing the Contributor License Agreement!

pivotal-cla avatar Mar 03 '22 12:03 pivotal-cla

Fixes #1101

xscreach avatar Mar 03 '22 13:03 xscreach

@gregturn sorry for bothering, just want to ask for PR review. And... i haven't noticed the #1101 before i opened the PR, but if you guys would like to change the interceptor a bit differently (e.g. expose the handler field as protected to extending classes), please let me know, i'll update the PR 😉

thanks in advance 🙇‍♂️

xscreach avatar Mar 03 '22 14:03 xscreach

I don't know what the secret is to getting a PR merged but do read over their contributing guidelines :

free2create avatar Aug 23 '22 16:08 free2create

@xscreach Are you able to fashion a test case using this new feature?

gregturn avatar Nov 16 '22 14:11 gregturn

@xscreach Are you able to fashion a test case using this new feature?

Well, not really. We needed it in a company I no longer work for 🤷 IRC the point was to decrypt elements if they were encrypted or use their plain value when not encrypted - optional element de/encryption

Anyway, this PR only allows users to set some configuration for the handler that just wasn't possible before.

xscreach avatar Nov 16 '22 15:11 xscreach

Targeting unsupported branch

corneil avatar May 09 '24 11:05 corneil