Enable HTTP Basic authentication
Enable the HTTP Basic authentication for your Quarkus project and allow users to authenticate with a username and password.
Pré-requisitos
-
Você instalou pelo menos uma extensão que fornece um
IdentityProviderbaseado no usename e no password, como o Elytron JDBC.-
Enable Basic authentication by setting the value of
quarkus.http.auth.basicproperty totrue.quarkus.http.auth.basic=true
-
For a Basic authentication configuration walk-through that uses JPA, see the Getting Started With Security guide.