Interface GssApiWithMicAuthenticationReporter


public interface GssApiWithMicAuthenticationReporter
Callback interface for recording authentication state in GssApiWithMicAuthentication.
  • Field Details

  • 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 - the ClientSession
      service - the name of the requesting SSH service name
      mechanism - 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 - the ClientSession
      service - 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 - the ClientSession
      service - the name of the requesting SSH service name
      mechanism - 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 - the ClientSession
      service - the name of the requesting SSH service name
      mechanism - the OID of the mechanism used
      partial - true if authentication was partially successful, meaning one continues with additional authentication methods given by serverMethods
      serverMethods - the List of authentication methods that can continue