com.maverick.ssh2.gss
Class Ssh2GSSAPIAuthenticationWithMIC

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

public class Ssh2GSSAPIAuthenticationWithMIC
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
Ssh2GSSAPIAuthenticationWithMIC()
           
Ssh2GSSAPIAuthenticationWithMIC(Configuration configuration)
           
 
Method Summary
 void authenticate(AuthenticationProtocol authentication, String servicename)
           
 String getMethod()
           
 String getUsername()
           
 void setCallbackHandler(CallbackHandler callbackHandler)
           
 void setMutualAuthentication(boolean mutualAuth)
           
 void setRequestAnonymity(boolean requestAnonymity)
           
 void setRequestConf(boolean requestConf)
           
 void setRequestCredDeleg(boolean requestCredDeleg)
           
 void setRequestInteg(boolean requestInteg)
           
 void setServicePrincipalName(String servicePrincipalName)
           
 void setUsername(String username)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ssh2GSSAPIAuthenticationWithMIC

public Ssh2GSSAPIAuthenticationWithMIC()

Ssh2GSSAPIAuthenticationWithMIC

public Ssh2GSSAPIAuthenticationWithMIC(Configuration configuration)
Method Detail

setServicePrincipalName

public void setServicePrincipalName(String servicePrincipalName)

setMutualAuthentication

public void setMutualAuthentication(boolean mutualAuth)

setRequestConf

public void setRequestConf(boolean requestConf)

setRequestInteg

public void setRequestInteg(boolean requestInteg)

setRequestCredDeleg

public void setRequestCredDeleg(boolean requestCredDeleg)

setRequestAnonymity

public void setRequestAnonymity(boolean requestAnonymity)

getMethod

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

setCallbackHandler

public void setCallbackHandler(CallbackHandler callbackHandler)

authenticate

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

setUsername

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

getUsername

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


Copyright © 2012. All Rights Reserved.