|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
com.sshtools.common.hosts.AbstractHostKeyVerification
edu.harvard.mgh.purcell.gCLINE.data.Record.myHostKeyValidator
private static class Record.myHostKeyValidator
This is a host key validator that automatically accepts any host key sent but doesn't actually save any of them.
| Constructor Summary | |
|---|---|
Record.myHostKeyValidator()
|
|
| Method Summary | |
|---|---|
void |
onDeniedHost(java.lang.String host)
|
void |
onHostKeyMismatch(java.lang.String host,
java.lang.String allowedHostKey,
java.lang.String actualHostKey)
|
void |
onUnknownHost(java.lang.String host,
java.lang.String hostKeyFingerprint)
|
| Methods inherited from class com.sshtools.common.hosts.AbstractHostKeyVerification |
|---|
allowedHosts, allowHost, deniedHosts, denyHost, endElement, isHostFileWriteable, removeAllowedHost, removeDeniedHost, saveHostFile, startElement, toString, verifyHost |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Record.myHostKeyValidator()
throws InvalidHostFileException
InvalidHostFileException| Method Detail |
|---|
public void onDeniedHost(java.lang.String host)
throws TransportProtocolException
onDeniedHost in class AbstractHostKeyVerificationTransportProtocolException
public void onHostKeyMismatch(java.lang.String host,
java.lang.String allowedHostKey,
java.lang.String actualHostKey)
throws TransportProtocolException
onHostKeyMismatch in class AbstractHostKeyVerificationTransportProtocolException
public void onUnknownHost(java.lang.String host,
java.lang.String hostKeyFingerprint)
throws TransportProtocolException
onUnknownHost in class AbstractHostKeyVerificationTransportProtocolException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||