I'm sending a request with a following code:
final WebTarget target = client.target(url);
CustomResponse response = target.request(MediaType.APPLICATION_XML_TYPE)
.post(Entity.xml(password), CustomResponse.class);
Authentication is designed to accept username as a part of url
while password is sent in request body.
The issue is that password is shown in logs which are generated by class ClientRequest#writeEntity()
inside javax.ws.rs
library.
So, my question is how force that library not to store password in logs without turning logging off?
Thank you.