I currently try to use lift 2.5 with lift-shiro (https://github.com/timperrett/lift-shiro). It works basically, however as soon as you try to to use sha256 encoding like this:


sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher


iniRealm.credentialsMatcher = $sha256Matcher

an error occurs like this:

java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap

So obviously there is a dependency missing. Adding these two lines:

„commons-collections“ % „commons-collections“ % „3.2.1“,

„commons-logging“ % „commons-logging“ % „1.1.3“,

to the build.sbt resolves the missing dependencies.