Module org.eclipse.jgit.ssh.apache
Class AuthenticationLogger
java.lang.Object
org.eclipse.jgit.internal.transport.sshd.AuthenticationLogger
Provides a log of authentication attempts for a
ClientSession.-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationLogger(org.apache.sshd.client.session.ClientSession session) Creates a newAuthenticationLoggerand configures theClientSessionto report authentication attempts through this instance. -
Method Summary
-
Constructor Details
-
AuthenticationLogger
public AuthenticationLogger(org.apache.sshd.client.session.ClientSession session) Creates a newAuthenticationLoggerand configures theClientSessionto report authentication attempts through this instance.- Parameters:
session- to configure
-
-
Method Details
-
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.
-