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:
- RFC 4462
-
-
Constructor Summary
Constructors Constructor Description GssApiWithMicAuthentication()
Creates a newGssApiWithMicAuthentication
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
protected boolean
processAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service, org.apache.sshd.common.util.buffer.Buffer in)
protected boolean
sendAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service)
void
signalAuthMethodFailure(org.apache.sshd.client.session.ClientSession session, String service, boolean partial, List<String> serverMethods, org.apache.sshd.common.util.buffer.Buffer buffer)
void
signalAuthMethodSuccess(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, process, toString
-
-
-
-
Constructor Detail
-
GssApiWithMicAuthentication
public GssApiWithMicAuthentication()
Creates a newGssApiWithMicAuthentication
.
-
-
Method Detail
-
sendAuthDataRequest
protected boolean sendAuthDataRequest(org.apache.sshd.client.session.ClientSession session, String service) throws Exception
- Specified by:
sendAuthDataRequest
in 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:
processAuthDataRequest
in classorg.apache.sshd.client.auth.AbstractUserAuth
- Throws:
Exception
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.apache.sshd.client.auth.UserAuth
- Overrides:
destroy
in 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
-
-