Category: Software Development

LDAP Authentication with Dropwizard

Authentication for your application may be crucial to its operation. Dropwizard provides a pretty clear description of different capabilities, but I thought I’d give a simple step-by-step implementation path. 1. Dependencies The good folks at yammer have provided this open source authenticator for Dropwizard specifically for LDAP. Add this to your pom: Please note, I’m […]

How Starting Your Own Startup Changes You

Starting your own startup is a radical process, many times undertaken by people who have never done it before. It can be painful, certainly stressful, but also very exciting and motivating. My experience was no different, with extraordinary highs and dragging lows, and I hope sharing about it helps dissipate any apprehension in going after your own.

Browserify and ReactJS

Entering into using Browserify for the first time demands an answer to an important question — What is Browserify? Browserify simplifies dependencies management and usage of your Javascript application by utilizing commonJS import formats (require(‘modules’)) and bundling them with your app for deployment. It’s kind of funky to say, and yes several times I referenced […]

Cassandra and Guava Error

While running Achilles tests for my Cassandra DAO, I ran into this error: Some background, my pom contains: The solution? Unfortunately downgrading Google Guava from 18 to 15. I tried multiple versions in between, and different Achilles versions, but ultimately this was the only solution if you want to use Achilles. This issue was a […]

Request and Response Filters in Dropwizard

When constructing a Dropwizard application, there may be some pre-processing or post-processing you’d like to do on Resource methods. It’s fairly easy to add request and response filters in Dropwizard through the implementation of ContainerRequestFilter, ContainerResponseFilter, and ResourceFilterFactory, and adding them to the environment.

Dropwizard and SSL

Dropwizard can quickly start up a web server with little configuration required. The default server implementation uses http, running on port 8080 by default. But what if you want users to log into your web application? Dropwizard provides moderately useful documentation on setting up authenticators, but you should also update your server to run over […]

BasicAuthentication with AngularJS and DropWizard

DropWizard is an amazing tool for quickly creating deployable web applications. AngularJS is “HTML enhanced for web apps!” Endeavoring to put them together is pretty easy, but I recently ran into one more complex piece of functionality — user authentication. DropWizard ships with authentication options, the first of which I’ll describe implementing, Basic Authentication. Put […]