Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading from spring-ws 3 to 4: XwsSecurityInterceptor missing - Replacement? #1338

Closed
mdoerschmidt opened this issue Mar 1, 2023 · 1 comment
Assignees

Comments

@mdoerschmidt
Copy link

A view classes of our server codes uses classes from the org.springframework.ws.soap.security.xwss package. Mainly code extends the XwsSecurityInterceptor class.

After upgrading from spring-ws 3.0 to 4.0 this package is missing completely.

Has this package been moved to some other (sub-)project or has this package removed completely?

Thanks in advance for help

@gregturn
Copy link
Contributor

gregturn commented Mar 1, 2023

The details are found here: https://spring.io/blog/2022/12/02/spring-ws-samples-upgraded-for-spring-boot-3-0

TL;DR XWS Security hasn't seen update since 2008. With our need to upgrade to Jakarta EE 9+, and with SOAP standards being one of the biggest things hit by the Jakarta transition, there is simply no version of XWS Security that works with this setup. Hence, we had to drop it.

The nearest tool that can meet your needs is Apache WSS4j. I realize this is very hard hitting for you considering you didn't just use our XWS Security integration but instead had extensions. I can personal testify that WSS4j isn't exactly a 1-to-1 migration path and won't be easy.

Frankly I wish this were not the case. SOAP itself is a rather solid, well-established and FIXED specification. But all the interfaces that enclose SOAP-based stuff is what's changing, and this is a severe consequence.

@gregturn gregturn closed this as completed Mar 1, 2023
@gregturn gregturn self-assigned this Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants