MongoDB

 One of the advanced Spring Security features is remember-me option which allows user to use single sign to system after user's his credentials has been validated and he has been authenticated by system.

The most secure approach to do that is to use Persistant Token approach. You can read more about it here

 

We can describe this approach works the following way:

 

danny 09/02/2012 - 17:32

Michael wrote in his post about beauty of MongoDB.

I tried to run a couple lines of code and found it very easy to get started with.

There are steps to get there:

 

1. Download binaries. I  used version 1.2.3 for Win32

2. Create the data folder C:\data\db

3. Run mongod.exe

 

At this step you have MongoDB running.

 

4. Download C# driver

5. Create a console application with Visual Studio

6. Add references to driver's dlls

 

Now you are ready to write code.

 

I just copies a lines of code from Michale's post into Main method and added console output:

 

igorz 24/02/2010 - 13:12
Syndicate content