Skip to content

andreacomo/tomcat-bcrypt

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 

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