dropwizard-auth-multitenancy-example
dropwizard-auth-multitenancy-example copied to clipboard
Sample code for my blog post
Dropwizard authentication, authorization, and multitenancy example
Sample code for my blog post: part 1, part 2, part 3
Running the app
- Run
mvn package
- Create and migrate the DB
java -jar common/target/common-1.0.jar db migrate common/config.yml
- Run the auth API
java -jar authentication-api/target/authentication-api-1.0.jar server authentication-api/config.yml
- Run the main app
java -jar business-api/target/business-api-1.0.jar server business-api/config.yml
- Go to http://localhost:8888