Class KBIAuthenticationClient
- java.lang.Object
-
- com.sshtools.j2ssh.authentication.SshAuthenticationClient
-
- com.sshtools.j2ssh.authentication.KBIAuthenticationClient
-
public class KBIAuthenticationClient extends SshAuthenticationClient
- Version:
- $Revision: 1.19 $
- Author:
- $author$
-
-
Constructor Summary
Constructors Constructor Description KBIAuthenticationClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
authenticate(AuthenticationProtocolClient authentication, java.lang.String serviceToStart)
boolean
canAuthenticate()
java.lang.String
getMethodName()
java.util.Properties
getPersistableProperties()
void
reset()
void
setKBIRequestHandler(KBIRequestHandler handler)
void
setPersistableProperties(java.util.Properties properties)
-
Methods inherited from class com.sshtools.j2ssh.authentication.SshAuthenticationClient
canPrompt, getAuthenticationPrompt, getUsername, setAuthenticationPrompt, setUsername
-
-
-
-
Method Detail
-
getPersistableProperties
public java.util.Properties getPersistableProperties()
- Specified by:
getPersistableProperties
in classSshAuthenticationClient
- Returns:
-
setKBIRequestHandler
public void setKBIRequestHandler(KBIRequestHandler handler)
- Parameters:
handler
-
-
reset
public void reset()
- Specified by:
reset
in classSshAuthenticationClient
-
authenticate
public void authenticate(AuthenticationProtocolClient authentication, java.lang.String serviceToStart) throws TerminatedStateException, java.io.IOException
- Specified by:
authenticate
in classSshAuthenticationClient
- Parameters:
authentication
-serviceToStart
-- Throws:
TerminatedStateException
java.io.IOException
AuthenticationProtocolException
-
canAuthenticate
public boolean canAuthenticate()
- Specified by:
canAuthenticate
in classSshAuthenticationClient
- Returns:
-
getMethodName
public java.lang.String getMethodName()
- Specified by:
getMethodName
in classSshAuthenticationClient
- Returns:
-
setPersistableProperties
public void setPersistableProperties(java.util.Properties properties)
- Specified by:
setPersistableProperties
in classSshAuthenticationClient
- Parameters:
properties
-
-
-