I'm running roller 1.2 with Tomcat/5.0.28 and MySQL 4.1.13a-nt.  I've got it
up and running but I can't login after I've created an account.  When I
check the rolleruser database table the passwords are stored in clear text.
However when I leave the Digest Algorithm for the JDBCRealm blank, so it
works in clear text, I get this output in the log file:

2005-08-24 00:24:42 StandardHost[localhost]: Error deploying application at
context path null
java.lang.IllegalStateException: ContainerBase.addChild: start:
LifecycleException:  Invalid message digest algorithm  specified:
java.security.NoSuchAlgorithmException:  MessageDigest not available
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
        at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
        at org.apache.commons.digester.Digester.endElement(Digester.java:1061)
        at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:7
6)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
  ---------- cropped for sanity ------------

The above output is followed by zero functionality of my roller site.

So then I set the Digest Algorithm setting to MD5 or SHA and I can't login.
I get the feeling it is using the algorithm to match the stored clear text
password and failing.  I'm not sure how to get the app to store the digested
password instead of the clear text.

Any ideas?

Thanks for any help you can provide,
-Bob Myers


Reply via email to