Enable Basic Authentication
Enable the Basic Authentication for your Quarkus project and allow users to authenticate with a username and password.
-
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 un ejemplo de configuración de la Autenticación Básica que utiliza JPA, consulte la guía de Introducción a la Seguridad.