Tag: tutorial

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

Installing Cassandra on Mac

Diving into Cassandra and, as always, the first step is getting a local stack built. I’ve grown incredibly fond of homebrew, and so here is the one step process:brew install cassandra Viola, installed. The response when finished gives additional guidance: If you plan to use the CQL shell (cqlsh), you will need the Python CQL […]

Feed the Monster

Hydra excels at taking massive amounts of data and making it interpretable. It’s flexibility and scalability are really put on display when you have a lot of data, like Map-Reduce in Hadoop. Now that I have a local stack running, I need to feed Hydra in order to play with it, much like the Tamagotchi’s […]

Getting Started on Hydra

Dependencies Maven Java 7 SDK RabbitMQ (Instructions provided below) Building 1. Checkout from Github 2. RabbitMQ As described in the Hydra Readme.mdown, Hydra uses rabbitmq for low volume commands and control message exchanges. On a modern Linux systems apt-get install rabbitmq-server and running with the default settings is adequate in most cases. For Mac OS (my environment), I used Homebrew to install it. Super easy […]

Markdown Overview

Markdown is the technology behind the README files seen on Github and elsewhere. The file extension is .md, and the output when rendered in a browser follows a consistent syntax. The goal of Markdown is foremost readability.[1] Even in a non-HTML rendered state, it can be read and understood. This is achieved by using punctuation characters as markers for what a text represents.

Integrating Spring Security pt 3

Injecting Custom Authentication You may recall from my first post in this series that my goal was to use Spring Security to enforce user authentication and authorization through my page while using my custom project Passport. Within Passport, I’ve built user management and an email confirmation component. The first hurdle to overcome was integrating Spring […]