Class LogMaxConnectionsPerUserExceeded

  • All Implemented Interfaces:
    org.apache.sshd.common.session.SessionDisconnectHandler

    public class LogMaxConnectionsPerUserExceeded
    extends Object
    implements org.apache.sshd.common.session.SessionDisconnectHandler
    • Constructor Detail

      • LogMaxConnectionsPerUserExceeded

        public LogMaxConnectionsPerUserExceeded()
    • Method Detail

      • handleSessionsCountDisconnectReason

        public boolean handleSessionsCountDisconnectReason​(org.apache.sshd.common.session.Session session,
                                                           org.apache.sshd.common.Service service,
                                                           String username,
                                                           int currentSessionCount,
                                                           int maxSessionCount)
                                                    throws IOException
        Specified by:
        handleSessionsCountDisconnectReason in interface org.apache.sshd.common.session.SessionDisconnectHandler
        Throws:
        IOException