org.apache.sshd.client.auth
Class UserAuthAgent

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

public class UserAuthAgent
extends Object
implements UserAuth

Authentication delegating to an SSH agent


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
UserAuthAgent(ClientSessionImpl session, String username)
           
 
Method Summary
 String getUsername()
           
 UserAuth.Result next(Buffer buffer)
           
protected  void sendNextKey()
           
protected  void sendNextKey(PublicKey key)
           
 
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

UserAuthAgent

public UserAuthAgent(ClientSessionImpl session,
                     String username)
              throws IOException
Throws:
IOException
Method Detail

getUsername

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

sendNextKey

protected void sendNextKey()
                    throws IOException
Throws:
IOException

sendNextKey

protected void sendNextKey(PublicKey key)
                    throws IOException
Throws:
IOException

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.