[Solved] How to get and handle wsse:Username and wsse:Password from the Header of a Soap Envelope with Spring Security as I do in Request Properties i

calub Asks: How to get and handle wsse:Username and wsse:password from the Header of a Soap Envelope with Spring Security as I do in Request Properties in SoapUI?
I’m working on a Web Service with soap messages via SoapUI where I use org.springframework.boot and to manage authenticators I use org.springframework.security. But it seems that Spring Security only identifies the Username and Password in Basic authentication that is included in the Request Properties of the SoapUI, however the client sends the DIGEST authentication in the envelope’s Header and I don’t find an alternative to also treat the Header’s information with Spring Security.

How Spring Security is prepared to receive

How the client sends

I’m looking for a solution for days and I can’t even find an Interceptor for this Spring Security, only in Spring Boot and I didn’t want to give up Security. If anyone can help me I will be grateful!

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.