Package org.apache.shiro.authc.credential
package org.apache.shiro.authc.credential
Support for validating credentials (such as passwords or X509 certificates) during
authentication via the
CredentialsMatcher
interface and its supporting implementations.-
ClassDescriptionA credentials matcher that always returns
truewhen matching credentials no matter what arguments are passed in.Interface implemented by classes that can determine if an AuthenticationToken's provided credentials matches a corresponding account's credentials stored in the system.Default implementation of thePasswordServiceinterface that relies on an internalHashService,HashFormat, andHashFormatFactoryto function:AHashedCredentialMatcherprovides support for hashing of suppliedAuthenticationTokencredentials before being compared to those in theAuthenticationInfofrom the data store.AHashingPasswordServiceis aPasswordServicethat performs password encryption and comparisons based on cryptographicHashes.ACredentialsMatcherthat employs best-practices comparisons for hashed text passwords.APasswordServicesupports common use cases when using passwords as a credentials mechanism.Deprecated.Deprecated.since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.Deprecated.since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.Simple CredentialsMatcher implementation.
hashAlgorithmNameproperty.