org.apache.maven.wagon.providers.ssh
Class SshServerEmbedded
java.lang.Object
org.apache.maven.wagon.providers.ssh.SshServerEmbedded
public class SshServerEmbedded
- extends Object
- Author:
- Olivier Lamy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
publickeyAuthenticator
public TestPublickeyAuthenticator publickeyAuthenticator
passwordAuthenticator
public TestPasswordAuthenticator passwordAuthenticator
SshServerEmbedded
public SshServerEmbedded(String wagonProtocol,
List<String> sshKeysResources,
boolean keyAuthz)
- Parameters:
wagonProtocol
- scp scpexesshKeysResources
- paths in the classlaoder with ssh keys
start
public int start()
throws IOException
- Returns:
- random port used
- Throws:
IOException
stop
public void stop()
throws InterruptedException
- Throws:
InterruptedException
getPort
public int getPort()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.