com.maverick.ssh2.gss
Class Ssh2GSSAPIAuthenticationwithKeyExchange

java.lang.Object
  extended by com.maverick.ssh2.gss.Ssh2GSSAPIAuthenticationwithKeyExchange
All Implemented Interfaces:
SshAuthentication, AuthenticationClient

public class Ssh2GSSAPIAuthenticationwithKeyExchange
extends Object
implements AuthenticationClient

SSH2 GSS-API authentication.

Author:
David Hodgins

Field Summary
 
Fields inherited from interface com.maverick.ssh.SshAuthentication
CANCELLED, COMPLETE, FAILED, FURTHER_AUTHENTICATION_REQUIRED, PUBLIC_KEY_ACCEPTABLE
 
Constructor Summary
Ssh2GSSAPIAuthenticationwithKeyExchange()
           
 
Method Summary
 void authenticate(AuthenticationProtocol authentication, String servicename)
           
 LoginContext getLoginContext()
           
 String getMethod()
           
 String getUsername()
           
 void setLoginContext(LoginContext lc)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ssh2GSSAPIAuthenticationwithKeyExchange

public Ssh2GSSAPIAuthenticationwithKeyExchange()
Method Detail

setUsername

public void setUsername(String username)
Specified by:
setUsername in interface SshAuthentication

getUsername

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

getMethod

public String getMethod()
Specified by:
getMethod in interface SshAuthentication

setLoginContext

public void setLoginContext(LoginContext lc)

getLoginContext

public LoginContext getLoginContext()

authenticate

public void authenticate(AuthenticationProtocol authentication,
                         String servicename)
                  throws SshException,
                         AuthenticationResult
Specified by:
authenticate in interface AuthenticationClient
Throws:
SshException
AuthenticationResult


Copyright © 2013. All Rights Reserved.