|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServerFactoryManager
The ServerFactoryManager enable the retrieval of additional
configuration needed specifically for the server side.
| Field Summary | |
|---|---|
static java.lang.String |
MAX_CONCURRENT_SESSIONS
Key used to retrieve the value of the maximum concurrent open session count per username |
static java.lang.String |
SERVER_IDENTIFICATION
Key used to retrieve the value of the server identification string if not default. |
| Fields inherited from interface org.apache.sshd.common.FactoryManager |
|---|
AUTH_TIMEOUT, MAX_AUTH_REQUESTS, MAX_PACKET_SIZE, WINDOW_SIZE |
| Method Summary | |
|---|---|
CommandFactory |
getCommandFactory()
Retrieve the CommandFactory to be used to process commands requests. |
FileSystemFactory |
getFileSystemFactory()
Retrieve the FileSystemFactory to be used to traverse the file system. |
ForwardingFilter |
getForwardingFilter()
Retrieve the ForwardingFilter to be used by the SSH server. |
PasswordAuthenticator |
getPasswordAuthenticator()
Retrieve the PasswordAuthenticator to be used by the SSH server. |
PublickeyAuthenticator |
getPublickeyAuthenticator()
Retrieve the PublickeyAuthenticator to be used by SSH server. |
Factory<Command> |
getShellFactory()
Retrieve the ShellFactory object to be used to create shells. |
java.util.List<NamedFactory<Command>> |
getSubsystemFactories()
Retrieve the list of named factories for CommandFactory.Command to
be used to create subsystems. |
java.util.List<NamedFactory<UserAuth>> |
getUserAuthFactories()
Retrieve the list of named factories for UserAuth |
| Methods inherited from interface org.apache.sshd.common.FactoryManager |
|---|
getChannelFactories, getCipherFactories, getCompressionFactories, getKeyExchangeFactories, getKeyPairProvider, getMacFactories, getProperties, getRandomFactory, getSignatureFactories, getVersion |
| Field Detail |
|---|
static final java.lang.String MAX_CONCURRENT_SESSIONS
static final java.lang.String SERVER_IDENTIFICATION
| Method Detail |
|---|
java.util.List<NamedFactory<UserAuth>> getUserAuthFactories()
UserAuth objects.
- Returns:
- a list of named
UserAuth factories, never null
PublickeyAuthenticator getPublickeyAuthenticator()
PublickeyAuthenticator to be used by SSH server.
If no authenticator has been configured (i.e. this method returns
null), then client authentication requests based on keys will be
rejected.
PublickeyAuthenticato or nullPasswordAuthenticator getPasswordAuthenticator()
PasswordAuthenticator to be used by the SSH server.
If no authenticator has been configured (i.e. this method returns
null), then client authentication requests based on passwords
will be rejected.
PasswordAuthenticator or nullForwardingFilter getForwardingFilter()
ForwardingFilter to be used by the SSH server.
If no filter has been configured (i.e. this method returns
null), then all forwarding requests will be rejected.
ForwardingFilter or nullFactory<Command> getShellFactory()
ShellFactory object to be used to create shells.
ShellFactory object or null if shells
are not supported on this serverCommandFactory getCommandFactory()
CommandFactory to be used to process commands requests.
CommandFactory object or null if commands
are not supported on this serverFileSystemFactory getFileSystemFactory()
FileSystemFactory to be used to traverse the file system.
FileSystemFactory object or null if commands
are not supported on this serverjava.util.List<NamedFactory<Command>> getSubsystemFactories()
CommandFactory.Command to
be used to create subsystems.
CommandFactory.Command factories
or null if subsystems are not supported on this server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||