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 AHashingPasswordService
is aPasswordService
that performs password encryption and comparisons based on cryptographicHash
es.PasswordService APasswordService
supports common use cases when using passwords as a credentials mechanism. -
Class Summary Class Description AllowAllCredentialsMatcher A credentials matcher that always returnstrue
when matching credentials no matter what arguments are passed in.DefaultPasswordService Default implementation of thePasswordService
interface that relies on an internalHashService
,HashFormat
, andHashFormatFactory
to function:HashedCredentialsMatcher AHashedCredentialMatcher
provides support for hashing of suppliedAuthenticationToken
credentials before being compared to those in theAuthenticationInfo
from the data store.Md2CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmName
property.Md5CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmName
property.PasswordMatcher ACredentialsMatcher
that employs best-practices comparisons for hashed text passwords.Sha1CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmName
property.Sha256CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmName
property.Sha384CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmName
property.Sha512CredentialsMatcher Deprecated. since 1.1 - use the HashedCredentialsMatcher directly and set itshashAlgorithmName
property.SimpleCredentialsMatcher Simple CredentialsMatcher implementation.