org.apache.sshd.client.auth
Class UserAuthAgent
java.lang.Object
org.apache.sshd.client.auth.UserAuthAgent
- All Implemented Interfaces:
- UserAuth
public class UserAuthAgent
- extends Object
- implements UserAuth
Authentication delegating to an SSH agent
Field Summary |
protected org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.slf4j.Logger log
UserAuthAgent
public UserAuthAgent(ClientSessionImpl session,
String username)
throws IOException
- Throws:
IOException
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.