<Basic Auth Allowing Users to Pass Through Without...
# stackoverflow
r
Basic Auth Allowing Users to Pass Through Without Credentails (Spring 2.7.6) I have written a Spring Security Class. But somehow it is not working as expected. I am trying to hit the Rest APIs via a Postman by selecting the Basic Auth method. And here is the scenario. Correct username and password --> Works (I get 200 responses) Incorrect username/password --> Works (I get 401 responses) Select No Auth in Postman --> Doesn't Work (I should get 401, but it allows the request to pass through) Now for #1 and #2 it works fine. Its the #3 that is the troublesome part. My...