Posts

Showing posts from December, 2022

Quarkus Basic Authentication using MongoDB

Image
  Quarkus Basic Authentication using MongoDB Introduction Quarkus is a great and modern java based framework. Quarkus has a great document in https://quarkus.io . In the guides, security related guides are provided for JPA only. But other document based databases can be also used for basic authentication. In this blog, we are going to see how to create a basic authentication using Quarkus and MongoDb. Though we are showing here examples using MongoDb database, other document based databases can be used following the same procedure.  Dependencies We need to have the following dependencies for our example:       <dependency>       <groupId> io.quarkus </groupId>       <artifactId> quarkus-resteasy-reactive-jackson </artifactId>     </dependency>     <dependency>       <groupId> io.quarkus </groupId>       <artifactId> quarkus...