org.apache.maven.wagon.providers.ssh.knownhost

Class AbstractKnownHostsProvider

public abstract class AbstractKnownHostsProvider extends Object implements KnownHostsProvider

Common base for known hosts providers.

Version: $Id: AbstractKnownHostsProvider.java 477186 2006-11-20 14:14:45Z brett $

Author: Brett Porter

Field Summary
protected Stringcontents
the known hosts, in the openssh format
StringhostKeyChecking
Valid values are ask, yes, no.
Method Summary
StringgetContents()
StringgetHostKeyChecking()
voidsetHostKeyChecking(String hostKeyChecking)
voidstoreKnownHosts(String contents)

Field Detail

contents

protected String contents
the known hosts, in the openssh format

hostKeyChecking

private String hostKeyChecking
Valid values are ask, yes, no.

Method Detail

getContents

public String getContents()

getHostKeyChecking

public String getHostKeyChecking()

setHostKeyChecking

public void setHostKeyChecking(String hostKeyChecking)

storeKnownHosts

public void storeKnownHosts(String contents)