com.maverick.ssh2.gss
Class Ssh2GSSAPIAuthenticationwithKeyExchange
java.lang.Object
com.maverick.ssh2.gss.Ssh2GSSAPIAuthenticationwithKeyExchange
- All Implemented Interfaces:
- SshAuthentication, AuthenticationClient
public class Ssh2GSSAPIAuthenticationwithKeyExchange
- extends java.lang.Object
- implements AuthenticationClient
SSH2 GSS-API authentication.
- Author:
- David Hodgins
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Ssh2GSSAPIAuthenticationwithKeyExchange
public Ssh2GSSAPIAuthenticationwithKeyExchange()
setUsername
public void setUsername(java.lang.String username)
- Specified by:
setUsername in interface SshAuthentication
getUsername
public java.lang.String getUsername()
- Specified by:
getUsername in interface SshAuthentication
getMethod
public java.lang.String getMethod()
- Specified by:
getMethod in interface SshAuthentication
setLoginContext
public void setLoginContext(javax.security.auth.login.LoginContext lc)
getLoginContext
public javax.security.auth.login.LoginContext getLoginContext()
authenticate
public void authenticate(AuthenticationProtocol authentication,
java.lang.String servicename)
throws SshException,
AuthenticationResult
- Specified by:
authenticate in interface AuthenticationClient
- Throws:
SshException
AuthenticationResult
Copyright © 2012. All Rights Reserved.