Skip to content

andreacomo/tomcat-bcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Released Version

Tomcat BCrypt

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.

How to use

  • Download latest jar
  • Copy to TOMCAT_HOME/lib folder
  • Nest BCryptoCredentialHandler in your preferred Realm, for example:
<Context>
    <Realm className="org.apache.catalina.realm.JDBCRealm"
        [...]
        >
        <CredentialHandler className="it.cosenonjaviste.tomcat.BCryptoCredentialHandler"/>
    </Realm>
</Context>

About

BCrypt password encryption for Tomcat 8 and above

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages