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.-
Interface Summary Interface Description CredentialsMatcher Interface implemented by classes that can determine if an AuthenticationToken's provided credentials matches a corresponding account's credentials stored in the system.HashingPasswordService AHashingPasswordServiceis aPasswordServicethat performs password encryption and comparisons based on cryptographicHashes.PasswordService APasswordServicesupports common use cases when using passwords as a credentials mechanism. -
Class Summary Class Description AllowAllCredentialsMatcher A credentials matcher that always returnstruewhen matching credentials no matter what arguments are passed in.DefaultPasswordService Default implementation of thePasswordServiceinterface that relies on an internalHashService,HashFormat, andHashFormatFactoryto function:HashedCredentialsMatcher AHashedCredentialMatcherprovides support for hashing of suppliedAuthenticationTokencredentials before being compared to those in theAuthenticationInfofrom the data store.Md2CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.Md5CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.PasswordMatcher ACredentialsMatcherthat employs best-practices comparisons for hashed text passwords.Sha1CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.Sha256CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.Sha384CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.Sha512CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmNameproperty.SimpleCredentialsMatcher Simple CredentialsMatcher implementation.