Enable HTTP Basic authentication
Enable the HTTP Basic authentication for your Quarkus project and allow users to authenticate with a username and password.
Requisitos previos
-
You have installed at least one extension that provides an
IdentityProviderbased on username and password, such as Elytron JDBC.-
Enable Basic authentication by setting the value of
quarkus.http.auth.basicproperty totrue.quarkus.http.auth.basic=true
-
Para ver una configuración de autenticación básica que utiliza JPA, consulte la guía de introducción a la seguridad.