|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CredentialsMatcher
Interface implemented by classes that can determine if an AuthenticationToken's provided credentials matches a corresponding account's credentials stored in the system.
Simple direct comparisons are handled well by the
SimpleCredentialsMatcher. If you
hash user's credentials before storing them in a realm (a common practice), look at the
HashedCredentialsMatcher implementations,
as they support this scenario.
SimpleCredentialsMatcher,
AllowAllCredentialsMatcher,
Md5CredentialsMatcher,
Sha1CredentialsMatcher| Method Summary | |
|---|---|
boolean |
doCredentialsMatch(AuthenticationToken token,
AuthenticationInfo info)
Returns true if the provided token credentials match the stored account credentials,
false otherwise. |
| Method Detail |
|---|
boolean doCredentialsMatch(AuthenticationToken token,
AuthenticationInfo info)
true if the provided token credentials match the stored account credentials,
false otherwise.
token - the AuthenticationToken submitted during the authentication attemptinfo - the AuthenticationInfo stored in the system.
true if the provided token credentials match the stored account credentials,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||