public class DelegatingServerKeyVerifier extends AbstractLoggingBean implements ServerKeyVerifier
log| Constructor and Description |
|---|
DelegatingServerKeyVerifier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verifyServerKey(ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey)
Verify that the server key provided is really the one of the host.
|
public boolean verifyServerKey(ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey)
ServerKeyVerifierverifyServerKey in interface ServerKeyVerifiersshClientSession - the current sessionremoteAddress - the hostserverKey - the presented keytrue if the key is accepted for the hostCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.