com.sshtools.j2ssh.agent
Class AgentAuthenticationClient
public class AgentAuthenticationClient
Provides an application with an authentication mechanism that links to the
sshtools agent; the agent stores private keys and can hash and sign data
for the public key authentication request.
authenticate , canAuthenticate , canPrompt , getAuthenticationPrompt , getMethodName , getPersistableProperties , getUsername , reset , setAuthenticationPrompt , setPersistableProperties , setUsername |
AgentAuthenticationClient
public AgentAuthenticationClient()
Creates a new AgentAuthenticationClient object.
acceptsKey
public boolean acceptsKey(AuthenticationProtocolClient authentication,
String username,
String serviceToStart,
SshPublicKey key)
throws IOException
authentication
- username
- serviceToStart
- key
-
hasAcceptableKey
public boolean hasAcceptableKey(SshClient ssh)
showAuthenticationDialog
public boolean showAuthenticationDialog(Component parent)
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.