public interface ServerSession extends Session, ServerAuthenticationManager
Session.AttributeKey<T>, Session.TimeoutStatus
SignatureFactoriesManager.Utils
ServerAuthenticationManager.Utils
DEFAULT_SSH_VERSION_PREFIX
DEFAULT_MAX_AUTH_REQUESTS, MAX_AUTH_REQUESTS
Modifier and Type | Method and Description |
---|---|
int |
getActiveSessionCountForUser(String userName)
Retrieve the current number of sessions active for a given username.
|
ServerFactoryManager |
getFactoryManager() |
KeyPair |
getHostKey() |
createBuffer, createBuffer, disconnect, exceptionCaught, getAttribute, getAuthTimeout, getCipherInformation, getClientVersion, getCompressionInformation, getIdleTimeout, getIoSession, getKex, getMacInformation, getNegotiatedKexParameter, getServerVersion, getService, getSessionId, getTimeoutStatus, isAuthenticated, prepareBuffer, reExchangeKeys, request, resetIdleTimeout, setAttribute, setAuthenticated, startService, writePacket, writePacket
getCipherFactories, getCompressionFactories, getKeyExchangeFactories, getMacFactories, setCipherFactories, setCompressionFactories, setKeyExchangeFactories, setMacFactories
getKeyPairProvider, setKeyPairProvider
getSignatureFactories, setSignatureFactories
addSessionListener, getSessionListenerProxy, removeSessionListener
addChannelListener, getChannelListenerProxy, removeChannelListener
getParentPropertyResolver, getProperties
setUsername
getUsername
getGSSAuthenticator, getHostBasedAuthenticator, getKeyboardInteractiveAuthenticator, getPasswordAuthenticator, getPublickeyAuthenticator, getUserAuthFactories, setGSSAuthenticator, setHostBasedAuthenticator, setKeyboardInteractiveAuthenticator, setPasswordAuthenticator, setPublickeyAuthenticator, setUserAuthFactories
ServerFactoryManager getFactoryManager()
getFactoryManager
in interface Session
ServerFactoryManager
for this sessionKeyPair getHostKey()
KeyPair
representing the current session's used keys
on KEXint getActiveSessionCountForUser(String userName)
userName
- The name of the user - ignored if null
/emptySshSession
objects associated with the userCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.