public class UserAuthHostBasedFactory extends AbstractUserAuthFactory implements SignatureFactoriesManager
Modifier and Type | Field and Description |
---|---|
static UserAuthHostBasedFactory |
INSTANCE |
static String |
NAME |
log
HOST_BASED, KB_INTERACTIVE, PASSWORD, PUBLIC_KEY
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
UserAuthHostBasedFactory() |
Modifier and Type | Method and Description |
---|---|
UserAuthHostBased |
createUserAuth(ClientSession session) |
HostKeyIdentityProvider |
getClientHostKeys() |
String |
getClientHostname() |
String |
getClientUsername() |
List<NamedFactory<Signature>> |
getSignatureFactories() |
void |
setClientHostKeys(HostKeyIdentityProvider clientHostKeys) |
void |
setClientHostname(String clientHostname) |
void |
setClientUsername(String clientUsername) |
void |
setSignatureFactories(List<NamedFactory<Signature>> factories) |
getName, toString
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSignatureFactories, resolveSignatureFactories, setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNames
getSignatureFactoriesNameList, getSignatureFactoriesNames
createUserAuth, isDataIntegrityAuthenticationTransport, isSecureAuthenticationTransport
findByName, findFirstMatchByName, getName, getNameList, getNames, ofName, removeByName, safeCompareByName
public static final String NAME
public static final UserAuthHostBasedFactory INSTANCE
public List<NamedFactory<Signature>> getSignatureFactories()
getSignatureFactories
in interface SignatureFactoriesHolder
Signature
factoriespublic void setSignatureFactories(List<NamedFactory<Signature>> factories)
setSignatureFactories
in interface SignatureFactoriesManager
public HostKeyIdentityProvider getClientHostKeys()
public void setClientHostKeys(HostKeyIdentityProvider clientHostKeys)
public String getClientUsername()
public void setClientUsername(String clientUsername)
public String getClientHostname()
public void setClientHostname(String clientHostname)
public UserAuthHostBased createUserAuth(ClientSession session) throws IOException
createUserAuth
in interface UserAuthMethodFactory<ClientSession,UserAuth>
session
- The session for which authentication is requiredIOException
- If failed to create the instanceCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.