UnionOfRAD/lithium — pull request #489 by rmarscher (2012-05-25 23:22:13+00:00)
Title: Fixing an issue where strategies were applied to incorrect session configurations

Also added 'configuration' to the filter params so the filters no which session configuration it is processing.

Basically here's what I was trying to do:

Have a default session that I use for normal things. But then have a long lived cookie session adapter that uses an encrypted data strategy.

I found that my default session was getting encrypted too and causing all types of trouble.

This patch fixes that bug (with a test case). I also added `'configuration'` to the filter params because without it, my filter had no idea which configuration was being filtered.

I'm using filters to get the methods to only write to my default configuration unless I specifically name a configuration in the options. By default, Lithium writes, clears, deletes, and checks all session adapters (but only reads from the first named session adapter).