Package com.google.gerrit.server.account
Class AbstractRealm
java.lang.Object
com.google.gerrit.server.account.AbstractRealm
- All Implemented Interfaces:
Realm
- Direct Known Subclasses:
DefaultRealm
,FakeRealm
Basic implementation of
Realm
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the account fields that the end-user can modify.Returns all known email addresses for the identified user.boolean
hasEmailAddress
(IdentifiedUser user, String email) Returns true if the user has the given email address.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.gerrit.server.account.Realm
accountBelongsToRealm, allowsEdit, authenticate, isActive, lookup, onCreateAccount
-
Constructor Details
-
AbstractRealm
public AbstractRealm()
-
-
Method Details
-
getEditableFields
Description copied from interface:Realm
Returns the account fields that the end-user can modify.- Specified by:
getEditableFields
in interfaceRealm
-
hasEmailAddress
Description copied from interface:Realm
Returns true if the user has the given email address.- Specified by:
hasEmailAddress
in interfaceRealm
-
getEmailAddresses
Description copied from interface:Realm
Returns all known email addresses for the identified user.- Specified by:
getEmailAddresses
in interfaceRealm
-