Package com.google.gerrit.sshd
Class LogMaxConnectionsPerUserExceeded
java.lang.Object
com.google.gerrit.sshd.LogMaxConnectionsPerUserExceeded
- All Implemented Interfaces:
org.apache.sshd.common.session.SessionDisconnectHandler
public class LogMaxConnectionsPerUserExceeded
extends Object
implements org.apache.sshd.common.session.SessionDisconnectHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleSessionsCountDisconnectReason
(org.apache.sshd.common.session.Session session, org.apache.sshd.common.Service service, String username, int currentSessionCount, int maxSessionCount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.sshd.common.session.SessionDisconnectHandler
handleAuthCountDisconnectReason, handleAuthParamsDisconnectReason, handleKexDisconnectReason, handleTimeoutDisconnectReason, handleUnsupportedServiceDisconnectReason
-
Constructor Details
-
LogMaxConnectionsPerUserExceeded
public LogMaxConnectionsPerUserExceeded()
-
-
Method Details
-
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 interfaceorg.apache.sshd.common.session.SessionDisconnectHandler
- Throws:
IOException
-