PasswordMatcher

A {@link CredentialsMatcher} that employs best-practices comparisons for hashed text passwords. <p/> This implementation delegates to an internal {@link PasswordService} to perform the actual password comparison. This class is essentially a bridge between the generic CredentialsMatcher interface and the more specific {@code PasswordService} component.

Constructors

this
this()
Undocumented in source.

Members

Functions

doCredentialsMatch
bool doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
getPasswordService
PasswordService getPasswordService()
Undocumented in source. Be warned that the author may not have intended to support it.
getStoredPassword
Object getStoredPassword(AuthenticationInfo storedAccountInfo)
Undocumented in source. Be warned that the author may not have intended to support it.
getSubmittedPassword
char[] getSubmittedPassword(AuthenticationToken token)
Undocumented in source. Be warned that the author may not have intended to support it.
setPasswordService
void setPasswordService(PasswordService passwordService)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From CredentialsMatcher

doCredentialsMatch
bool doCredentialsMatch(AuthenticationToken token, AuthenticationInfo info)

Returns {@code true} if the provided token credentials match the stored account credentials, {@code false} otherwise.

Meta