Class AuthenticationLogger

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

      • 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.
        session - to configure
    • Method Detail

      • getLog

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

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