Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Test this in Postman, where I change the "Authorization" tab to use "Basic Auth", I am using a GET request, and then first attempt without a username and password. I will again get a status code of 401 meaning I am unauthorized. If I add the correct username and password, I can access the API.

Alt text

WebSecurityConfigurerAdapter to secure the API with Basic Authentication

Alt text