| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private List | |
| private String | |
| private String | |
| private UserAuth | |
| private int | |
| private int | |
| private final Map | |
| private final ServerSession | |
| private List | |
| private final WelcomeBannerPhase | |
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized void | |
| public ServerFactoryManager | |
| public Map | getProperties()
Implements org. A map of properties that can be used to configure the SSH server or client. |
| public ServerSession | |
| public ServerSession | |
| public WelcomeBannerPhase | |
| protected void | |
| protected void | |
| protected void | |
| protected boolean | handleUserAuthRequestMessage(ServerSession session, Buffer buffer, AtomicReference<Boolean> authHolder)
|
| protected String | |
| public synchronized void | process(int
The incoming command type cmd, Buffer The buffer)Buffer containing optional command parametersImplements org. Service the request. |
| protected String | |
| public IoWriteFuture | sendWelcomeBanner(ServerSession
The session)ServerSession to send the welcome banner toSends the welcome banner (if any configured) and if not already invoked |
| public void |
| authMethod | back to summary |
|---|---|
| private String authMethod | |
| authMethods | back to summary |
|---|---|
| private List<List<String>> authMethods | |
| authService | back to summary |
|---|---|
| private String authService | |
| authUserName | back to summary |
|---|---|
| private String authUserName | |
| currentAuth | back to summary |
|---|---|
| private UserAuth currentAuth | |
| maxAuthRequests | back to summary |
|---|---|
| private int maxAuthRequests | |
| nbAuthRequests | back to summary |
|---|---|
| private int nbAuthRequests | |
| properties | back to summary |
|---|---|
| private final Map<String, Object> properties | |
| serverSession | back to summary |
|---|---|
| private final ServerSession serverSession | |
| userAuthFactories | back to summary |
|---|---|
| private List<UserAuthFactory> userAuthFactories | |
| welcomePhase | back to summary |
|---|---|
| private final WelcomeBannerPhase welcomePhase | |
| welcomeSent | back to summary |
|---|---|
| private final AtomicBoolean welcomeSent | |
| ServerUserAuthService | back to summary |
|---|---|
| public ServerUserAuthService(Session s) throws IOException | |
| asyncAuth | back to summary |
|---|---|
| protected synchronized void asyncAuth(int cmd, Buffer buffer, boolean authed) | |
| getFactoryManager | back to summary |
|---|---|
| public ServerFactoryManager getFactoryManager() | |
| getProperties | back to summary |
|---|---|
| public Map Implements org. Doc from org. A map of properties that can be used to configure the SSH server or client. This map will never be changed by either the server or client and is not supposed to be changed at runtime (changes are not bound to have any effect on a running client or server), though it may affect the creation of sessions later as these values are usually not cached Note the type of the mapped property should match the expected configuration value type -
| |
| getServerSession | back to summary |
|---|---|
| public ServerSession getServerSession() Implements org.
| |
| getSession | back to summary |
|---|---|
| public ServerSession getSession() Implements org.
| |
| getWelcomePhase | back to summary |
|---|---|
| public WelcomeBannerPhase getWelcomePhase() | |
| handleAuthenticationFailure | back to summary |
|---|---|
| protected void handleAuthenticationFailure(int cmd, Buffer buffer) throws Exception | |
| handleAuthenticationInProgress | back to summary |
|---|---|
| protected void handleAuthenticationInProgress(int cmd, Buffer buffer) throws Exception | |
| handleAuthenticationSuccess | back to summary |
|---|---|
| protected void handleAuthenticationSuccess(int cmd, Buffer buffer) throws Exception | |
| handleUserAuthRequestMessage | back to summary |
|---|---|
| protected boolean handleUserAuthRequestMessage(ServerSession session, Buffer buffer, AtomicReference<Boolean> authHolder) throws Exception | |
| loadWelcomeBanner | back to summary |
|---|---|
| protected String loadWelcomeBanner(ServerSession session, URL url, Charset cs) throws IOException | |
| process | back to summary |
|---|---|
| public synchronized void process(int cmd, Buffer buffer) throws Exception Implements org. Doc from org. Service the request. | |
| resolveWelcomeBanner | back to summary |
|---|---|
| protected String resolveWelcomeBanner(ServerSession session) throws IOException | |
| sendWelcomeBanner | back to summary |
|---|---|
| public IoWriteFuture sendWelcomeBanner(ServerSession session) throws IOException Sends the welcome banner (if any configured) and if not already invoked
| |
| start | back to summary |
|---|---|
| public void start() Implements org.
| |