Class Md2CredentialsMatcher

  • All Implemented Interfaces:

    public class Md2CredentialsMatcher
    extends HashedCredentialsMatcher
    since 1.1 - use the HashedCredentialsMatcher directly and set its hashAlgorithmName property.
    HashedCredentialsMatcher implementation that expects the stored AuthenticationInfo credentials to be MD2 hashed.

    Note: the MD2, MD5 and SHA-1 algorithms are now known to be vulnerable to compromise and/or collisions (read the linked pages for more). While most applications are ok with either of these two, if your application mandates high security, use the SHA-256 (or higher) hashing algorithms and their supporting CredentialsMatcher implementations.