org.apache.sshd.client.auth
Class UserAuthAgent
java.lang.Object
org.apache.sshd.client.auth.UserAuthAgent
- All Implemented Interfaces:
- UserAuth
public class UserAuthAgent
- extends java.lang.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,
java.lang.String username)
throws java.io.IOException
- Throws:
java.io.IOException
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername in interface UserAuth
sendNextKey
protected void sendNextKey(java.security.PublicKey key)
throws java.io.IOException
- Throws:
java.io.IOException
next
public UserAuth.Result next(Buffer buffer)
throws java.io.IOException
- Specified by:
next in interface UserAuth
- Throws:
java.io.IOException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.