Package org.apache.sshd.server.global
Class OpenSshHostKeysHandler
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.helpers.AbstractConnectionServiceRequestHandler
org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler
org.apache.sshd.server.global.OpenSshHostKeysHandler
- All Implemented Interfaces:
RequestHandler<ConnectionService>
,ConnectionServiceRequestHandler
,SignatureFactoriesHolder
,SignatureFactoriesManager
public class OpenSshHostKeysHandler
extends AbstractOpenSshHostKeysHandler
implements SignatureFactoriesManager
An initial handler for "[email protected]" request
- Author:
- Apache MINA SSHD Project
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.channel.RequestHandler
RequestHandler.Result
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
Fields inherited from interface org.apache.sshd.common.session.ConnectionServiceRequestHandler
SVC2HNDLR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RequestHandler.Result
handleHostKeys
(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) void
setSignatureFactories
(List<NamedFactory<Signature>> factories) Methods inherited from class org.apache.sshd.common.global.AbstractOpenSshHostKeysHandler
getPublicKeysParser, getRequestName, isIgnoreInvalidKeys, process, setIgnoreInvalidKeys, toString
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesHolder
getSignatureFactoriesNameList, getSignatureFactoriesNames
Methods inherited from interface org.apache.sshd.common.signature.SignatureFactoriesManager
setSignatureFactoriesNameList, setSignatureFactoriesNames, setSignatureFactoriesNames
-
Field Details
-
REQUEST
- See Also:
-
INSTANCE
-
-
Constructor Details
-
OpenSshHostKeysHandler
public OpenSshHostKeysHandler() -
OpenSshHostKeysHandler
-
-
Method Details
-
getSignatureFactories
- Specified by:
getSignatureFactories
in interfaceSignatureFactoriesHolder
-
setSignatureFactories
- Specified by:
setSignatureFactories
in interfaceSignatureFactoriesManager
-
handleHostKeys
protected RequestHandler.Result handleHostKeys(Session session, Collection<? extends PublicKey> keys, boolean wantReply, Buffer buffer) throws Exception - Specified by:
handleHostKeys
in classAbstractOpenSshHostKeysHandler
- Throws:
Exception
-