Class AuthenticationLogger
- java.lang.Object
-
- org.eclipse.jgit.internal.transport.sshd.AuthenticationLogger
-
public class AuthenticationLogger extends Object
Provides a log of authentication attempts for aClientSession
.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationLogger(org.apache.sshd.client.session.ClientSession session)
Creates a newAuthenticationLogger
and configures theClientSession
to report authentication attempts through this instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Drops all previously recorded log messages.List<String>
getLog()
Retrieves the log messages for the authentication attempts.
-
-
-
Constructor Detail
-
AuthenticationLogger
public AuthenticationLogger(org.apache.sshd.client.session.ClientSession session)
Creates a newAuthenticationLogger
and configures theClientSession
to report authentication attempts through this instance.- Parameters:
session
- to configure
-
-