Module org.eclipse.jgit.ssh.apache
Class GssApiWithMicAuthentication
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.client.auth.AbstractUserAuth
org.eclipse.jgit.internal.transport.sshd.GssApiWithMicAuthentication
- All Implemented Interfaces:
org.apache.sshd.client.auth.UserAuth,org.apache.sshd.client.session.ClientSessionHolder,org.apache.sshd.common.auth.UserAuthInstance<org.apache.sshd.client.session.ClientSession>,org.apache.sshd.common.NamedResource
public class GssApiWithMicAuthentication
extends org.apache.sshd.client.auth.AbstractUserAuth
GSSAPI-with-MIC authentication handler (Kerberos 5).
- See Also:
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()protected booleanprocessAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer in) protected booleansendAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service) voidsignalAuthMethodFailure(org.apache.sshd.client.session.ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) voidsignalAuthMethodSuccess(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) Methods inherited from class org.apache.sshd.client.auth.AbstractUserAuth
getClientSession, getName, getService, getSession, init, isCancellable, process, setCancellable, toStringMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Constructor Details
-
GssApiWithMicAuthentication
public GssApiWithMicAuthentication()Creates a newGssApiWithMicAuthentication.
-
-
Method Details
-
sendAuthDataRequest
protected boolean sendAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service) throws Exception - Specified by:
sendAuthDataRequestin classorg.apache.sshd.client.auth.AbstractUserAuth- Throws:
Exception
-
processAuthDataRequest
protected boolean processAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer in) throws Exception - Specified by:
processAuthDataRequestin classorg.apache.sshd.client.auth.AbstractUserAuth- Throws:
Exception
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.sshd.client.auth.UserAuth- Overrides:
destroyin classorg.apache.sshd.client.auth.AbstractUserAuth
-
signalAuthMethodSuccess
public void signalAuthMethodSuccess(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception - Throws:
Exception
-
signalAuthMethodFailure
public void signalAuthMethodFailure(org.apache.sshd.client.session.ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer) throws Exception - Throws:
Exception
-