Package com.google.gerrit.server
Class IdentifiedUser.GenericFactory
java.lang.Object
com.google.gerrit.server.IdentifiedUser.GenericFactory
- Enclosing class:
- IdentifiedUser
Create an IdentifiedUser, ignoring any per-request state.
-
Constructor Summary
ConstructorsConstructorDescriptionGenericFactory
(AuthConfig authConfig, Realm realm, String anonymousCowardName, RefLogIdentityProvider refLogIdentityProvider, com.google.inject.Provider<String> canonicalUrl, Boolean enablePeerIPInReflogRecord, AccountCache accountCache, GroupBackend groupBackend) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Account.Id id) create
(AccountState state) create
(SocketAddress remotePeer, Account.Id id) forTest
(Account.Id id, PropertyMap properties) runAs
(SocketAddress remotePeer, Account.Id id, CurrentUser caller)
-
Constructor Details
-
GenericFactory
@Inject public GenericFactory(AuthConfig authConfig, Realm realm, String anonymousCowardName, RefLogIdentityProvider refLogIdentityProvider, com.google.inject.Provider<String> canonicalUrl, Boolean enablePeerIPInReflogRecord, AccountCache accountCache, GroupBackend groupBackend)
-
-
Method Details
-
create
-
create
-
forTest
-
create
-
runAs
-