Class PasswordVerifier
- java.lang.Object
-
- com.google.gerrit.server.account.externalids.PasswordVerifier
-
public class PasswordVerifier extends Object
Checks if a given username and password match a user's external IDs.
-
-
Constructor Summary
Constructors Constructor Description PasswordVerifier(ExternalIdKeyFactory externalIdKeyFactory, AuthConfig authConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkPassword(Collection<ExternalId> externalIds, String username, String password)
Returnstrue
if there is an external ID matching both the username and password.
-
-
-
Constructor Detail
-
PasswordVerifier
@Inject public PasswordVerifier(ExternalIdKeyFactory externalIdKeyFactory, AuthConfig authConfig)
-
-
Method Detail
-
checkPassword
public boolean checkPassword(Collection<ExternalId> externalIds, String username, String password)
Returnstrue
if there is an external ID matching both the username and password.
-
-