HTTP basic authentication (BA) is a simple authentication mechanism. When a web client requests any secured web resources, server sends an HTTP response with status code 401 (Unauthorized) and WWW-Authenticate HTTP header like WWW-Authenticate: Basic realm="realm here". And browser pops up a login dialog prompting for User name and Password for that realm.
This example shows how to configure HTTP basic authentication using Spring Security framework.
srccodes/spring-security-http-basic-authentication
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|