Hello Zahi, As it is said in http://tomcat.apache.org/lists.html "Please format your messages as plain text, not HTML. Do not send attachments, as they are likely to be removed and ignored by the mailing list server."
Just copy and paste the content of your xml files should be enough :) Cheers, Luis 2018-04-23 14:49 GMT+02:00 Zahi Fail <zahi.f...@gmail.com>: > Hello, > > I'm working with Tomcat 9.0.6 version as my servlet, > Throughout my jax-rs project i have tried to create basic authentication. > > While i'm trying to access a post method without the basic auth. it all > working well (I got the 200 message from the HTTP server). But, after > adding the basic auth. my user name and password doesn't work from some > reason.. > > > This is the following code from my web.xml file: > > > > and in the tomcat-user.xml i have updated the code as below: > > > > thanks, > Tzahi File > -- "Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better." - Samuel Beckett