hashAlgorithmName
property.public class Md5CredentialsMatcher extends HashedCredentialsMatcher
HashedCredentialsMatcher
implementation that expects the stored AuthenticationInfo
credentials to be
MD5 hashed.
Note: 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.PREFERRED_ENCODING
Constructor and Description |
---|
Md5CredentialsMatcher()
Deprecated.
|
doCredentialsMatch, getCredentials, getHashAlgorithmName, getHashIterations, getSalt, hashProvidedCredentials, hashProvidedCredentials, isHashSalted, isStoredCredentialsHexEncoded, newHashInstance, setHashAlgorithmName, setHashIterations, setHashSalted, setStoredCredentialsHexEncoded
equals, getCredentials
isByteSource, objectToBytes, objectToString, toBytes, toBytes, toBytes, toBytes, toBytes, toBytes, toBytes, toChars, toChars, toString, toString, toString
public Md5CredentialsMatcher()
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.