Want to use BCrypt hashed password with your preferred Tomcat (8 or above) Realm?
This is an implementation of Tomcat CredentialHandler wrapping jBCrypt (0.4), Java implementation of bcrypt algorithm.
- Download latest jar
- Copy to
TOMCAT_HOME/libfolder - Nest
BCryptoCredentialHandlerin your preferred Realm, for example:
<Context> <Realm className="org.apache.catalina.realm.JDBCRealm" [...] > <CredentialHandler className="it.cosenonjaviste.tomcat.BCryptoCredentialHandler"/> </Realm> </Context>