Dropwizard Basic Authentication Tutorial
Dropwizard Basic Authentication Tutorial Introduction I am assuming that you have a Basic Knowledge of Dropwizard and have a Basic Dropwizard Application running in your machine. If not, please check my blog on Basic Dropwizard Application by going to the link: Dropwizard Tutorial In this tutorial, we will be creating a Dropwizard Application with Basic Authentication (Username and Password Based Authentication) for the RESTful APIs. Requirements to Run the Application: Java Maven IDE of your choice Once you have a Basic Dropwizard Application, here are the additional steps required to add Basic Authentication for the RESTful APIs. Step 1: Dropwizard Auth Module Maven Dependency to be added in pom.xml. Here is the dependency: <dependency> <groupId>io.dropwizard</groupId> <artifactId>dropwizard-auth</artifactId> <version>${dropwizard.auth.version}</version> </depen...