timperrett / lift-shiro

Lift Integration with the Shiro security framework
http://blog.getintheloop.eu/2011/08/23/using-apache-shiro-with-lift/
Apache License 2.0
50 stars 33 forks source link

Adding org.apache.shiro.authc.credential.HashedCredentialsMatcher to shiro.ini fails #21

Open sveri opened 11 years ago

sveri commented 11 years ago

Adding the following entries to shiro.ini: [main] sha256Matcher = org.apache.shiro.authc.credential.HashedCredentialsMatcher sha256Matcher.hashAlgorithmName=SHA-256 iniRealm.credentialsMatcher = $sha256Matcher

results in the following error: java.lang.NoClassDefFoundError: org/apache/commons/collections/FastHashMap

Adding the following dependencies to build.sbt resolves that one: "commons-collections" % "commons-collections" % "3.2.1", "commons-logging" % "commons-logging" % "1.1.3",

So it seems like there are some dependencies missing.

fmpwizard commented 11 years ago

I'll be able to look at this some time next week. Thanks