Class DelegatingServerKeyVerifier

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.client.keyverifier.DelegatingServerKeyVerifier
All Implemented Interfaces:
ServerKeyVerifier

public class DelegatingServerKeyVerifier extends org.apache.sshd.common.util.logging.AbstractLoggingBean implements ServerKeyVerifier
A ServerKeyVerifier that delegates verification to the instance found in the ClientSession metadata The verifier can be specified at the SshClient level, which may have connections to multiple hosts. This technique lets each connection have its own verifier instance.
Author:
Apache MINA SSHD Project
  • Field Summary

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    verifyServerKey(ClientSession session, SocketAddress remoteAddress, PublicKey serverKey)
    Verify that the server key provided is really the one of the host.

    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 Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait