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 […]

Live!

The proper function of man is to live, not to exist. I shall not waste my days in trying to prolong them. I shall use my time. Jack London

Bypassing Spring Security

Today I set out to provide accessible endpoints to a web application already behind Spring Security. My configuration locks down all requests going to the server (as will be shown below), and there is no easy way of adding an excludes parameter to the DelegatingFilterProxy (see various questions on Stack Overflow). My solution is actually […]