org.apache.sshd.client.auth
Class UserAuthPublicKey

java.lang.Object
  extended by org.apache.sshd.client.auth.UserAuthPublicKey
All Implemented Interfaces:
UserAuth

public class UserAuthPublicKey
extends Object
implements UserAuth

TODO Add javadoc

Author:
Apache MINA SSHD Project

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.sshd.client.UserAuth
UserAuth.Result
 
Field Summary
protected  org.slf4j.Logger log
           
 
Constructor Summary
UserAuthPublicKey(ClientSessionImpl session, String username, KeyPair key)
           
 
Method Summary
 String getUsername()
           
 UserAuth.Result next(Buffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.slf4j.Logger log
Constructor Detail

UserAuthPublicKey

public UserAuthPublicKey(ClientSessionImpl session,
                         String username,
                         KeyPair key)
                  throws IOException
Throws:
IOException
Method Detail

getUsername

public String getUsername()
Specified by:
getUsername in interface UserAuth

next

public UserAuth.Result next(Buffer buffer)
                     throws IOException
Specified by:
next in interface UserAuth
Throws:
IOException


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.