Spring Security MongoDB Morphia

One of the most powerful features of Spring Security (besides support for industry standard, extensibility, easy configuration, expressive authorization schemes and others) is the ability to easily authenticate users with any data store that can manage users credentials and other authentication attributes.

In this short tutorial I will explain how to use MongoDB, the popular scalable and high-performance document database for authentication purposes.

This tutorial assumes a basic knowledge of Spring Security.

First, we'll create the Subscriber (user) entity which is mapped to the subscribers MongoDB collection.

 

ori 04/06/2011 - 23:07
Syndicate content