Class AuthenticationLogger

java.lang.Object
org.eclipse.jgit.internal.transport.sshd.AuthenticationLogger

public class AuthenticationLogger extends Object
Provides a log of authentication attempts for a ClientSession.
  • Constructor Details

    • AuthenticationLogger

      public AuthenticationLogger(org.apache.sshd.client.session.ClientSession session)
      Creates a new AuthenticationLogger and configures the ClientSession to report authentication attempts through this instance.
      Parameters:
      session - to configure
  • Method Details

    • getLog

      public List<String> getLog()
      Retrieves the log messages for the authentication attempts.
      Returns:
      the messages as an unmodifiable list
    • clear

      public void clear()
      Drops all previously recorded log messages.