src/java/de/uhilger/um/TomcatDigester.java
@@ -57,5 +57,17 @@ mh.setEncoding(encoding); return mh.mutate(text); } @Override public boolean matches(String inputCredentials, String storedCredentials, String algorithm, String encoding) { MessageDigestCredentialHandler mh = new MessageDigestCredentialHandler(); try { mh.setAlgorithm(algorithm); } catch (NoSuchAlgorithmException ex) { Logger.getLogger(TomcatDigester.class.getName()).log(Level.SEVERE, null, ex); } mh.setEncoding(encoding); return mh.matches(inputCredentials, storedCredentials); } }