hashAlgorithmName
property.public class Sha1CredentialsMatcher extends HashedCredentialsMatcher
HashedCredentialsMatcher
implementation that expects the stored AuthenticationInfo
credentials to be
SHA 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 |
---|
Sha1CredentialsMatcher()
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 Sha1CredentialsMatcher()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.