Module org.eclipse.jgit.ssh.apache
Interface GssApiWithMicAuthenticationReporter
public interface GssApiWithMicAuthenticationReporter
Callback interface for recording authentication state in
GssApiWithMicAuthentication.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.sshd.common.AttributeRepository.AttributeKey<GssApiWithMicAuthenticationReporter>AnAttributeRepository.AttributeKeyfor aClientSessionholding theGssApiWithMicAuthenticationReporter. -
Method Summary
Modifier and TypeMethodDescriptiondefault voidsignalAuthenticationAttempt(org.apache.sshd.client.session.ClientSession session, String service, String mechanism) Called when a new authentication attempt is made.default voidsignalAuthenticationExhausted(org.apache.sshd.client.session.ClientSession session, String service) Called when there are no more mechanisms to try.default voidsignalAuthenticationFailure(org.apache.sshd.client.session.ClientSession session, String service, String mechanism, boolean partial, List<String> serverMethods) Called when the authentication was not successful.default voidsignalAuthenticationSuccess(org.apache.sshd.client.session.ClientSession session, String service, String mechanism) Called when authentication was succeessful.
-
Field Details
-
GSS_AUTHENTICATION_REPORTER
static final org.apache.sshd.common.AttributeRepository.AttributeKey<GssApiWithMicAuthenticationReporter> GSS_AUTHENTICATION_REPORTERAnAttributeRepository.AttributeKeyfor aClientSessionholding theGssApiWithMicAuthenticationReporter.
-
-
Method Details
-
signalAuthenticationAttempt
default void signalAuthenticationAttempt(org.apache.sshd.client.session.ClientSession session, String service, String mechanism) Called when a new authentication attempt is made.- Parameters:
session- theClientSessionservice- the name of the requesting SSH service namemechanism- the OID of the mechanism used
-
signalAuthenticationExhausted
default void signalAuthenticationExhausted(org.apache.sshd.client.session.ClientSession session, String service) Called when there are no more mechanisms to try.- Parameters:
session- theClientSessionservice- the name of the requesting SSH service name
-
signalAuthenticationSuccess
default void signalAuthenticationSuccess(org.apache.sshd.client.session.ClientSession session, String service, String mechanism) Called when authentication was succeessful.- Parameters:
session- theClientSessionservice- the name of the requesting SSH service namemechanism- the OID of the mechanism used
-
signalAuthenticationFailure
default void signalAuthenticationFailure(org.apache.sshd.client.session.ClientSession session, String service, String mechanism, boolean partial, List<String> serverMethods) Called when the authentication was not successful.- Parameters:
session- theClientSessionservice- the name of the requesting SSH service namemechanism- the OID of the mechanism usedpartial-trueif authentication was partially successful, meaning one continues with additional authentication methods given byserverMethodsserverMethods- theListof authentication methods that can continue
-