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.
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.