public static class IdentifiedUser.GenericFactory
extends java.lang.Object
Constructor and Description |
---|
GenericFactory(AuthConfig authConfig,
Realm realm,
java.lang.String anonymousCowardName,
com.google.inject.Provider<java.lang.String> canonicalUrl,
java.lang.Boolean disableReverseDnsLookup,
AccountCache accountCache,
GroupBackend groupBackend) |
Modifier and Type | Method and Description |
---|---|
IdentifiedUser |
create(Account.Id id) |
IdentifiedUser |
create(AccountState state) |
IdentifiedUser |
create(java.net.SocketAddress remotePeer,
Account.Id id) |
IdentifiedUser |
runAs(java.net.SocketAddress remotePeer,
Account.Id id,
CurrentUser caller) |
@Inject public GenericFactory(AuthConfig authConfig, Realm realm, java.lang.String anonymousCowardName, com.google.inject.Provider<java.lang.String> canonicalUrl, java.lang.Boolean disableReverseDnsLookup, AccountCache accountCache, GroupBackend groupBackend)
public IdentifiedUser create(AccountState state)
public IdentifiedUser create(Account.Id id)
public IdentifiedUser create(java.net.SocketAddress remotePeer, Account.Id id)
public IdentifiedUser runAs(java.net.SocketAddress remotePeer, Account.Id id, CurrentUser caller)