A C E F G I K M O P R S T V W

A

allocatePseudoTerminal(String, int, int, int, int, byte[]) - Method in class ExampleSession
The client requested that a pty (pseudo terminal) is allocated for the session

C

canExecuteCommand(String, String, String) - Method in class ExampleAccessManager
 
canForward(String, String, ForwardingChannel, boolean) - Method in class ExampleAccessManager
 
canListen(String, String, String, int) - Method in class ExampleAccessManager
 
canOpenChannel(String, String, Channel) - Method in class ExampleAccessManager
 
canStartShell(String, String) - Method in class ExampleAccessManager
 
canStartSubsystem(String, String, String) - Method in class ExampleAccessManager
 
changePassword(Connection, String, String, String) - Method in class ExampleAuthenticationProvider
 
changeWindowDimensions(int, int, int, int) - Method in class ExampleSession
Change the dimensions of the terminal window.
checkPassword(String, String) - Method in class ExampleAuthenticationProvider
 
closeFile(byte[]) - Method in class ExampleFileSystem
 
closeFile(byte[], boolean) - Method in class ExampleFileSystem
 
closeFilesystem() - Method in class ExampleFileSystem
 
configure(DaemonContext) - Method in class ExampleSSHD
This is where the server is configured; add the servers host keys and configure the authentication, file system and session providers.
createContext(InetAddress, InetAddress) - Method in class ExampleContextFactory
 
createProcess(String, Map) - Method in class ExampleCommand
Here you process the command and get ready to execute but DO NOT perform any IO yet, wait for onStart()
createSymbolicLink(String, String) - Method in class ExampleFileSystem
 

E

endSession(Connection) - Method in class ExampleAuthenticationProvider
 
ExampleAccessManager - Class in <Unnamed>
An example AccessManager that provides the ability to restrict access to SSH features based upon the username of the connected user.
ExampleAccessManager() - Constructor for class ExampleAccessManager
 
ExampleAuthenticationProvider - Class in <Unnamed>
An authentication provider enables the server to authenticate users.
ExampleAuthenticationProvider() - Constructor for class ExampleAuthenticationProvider
 
ExampleCommand - Class in <Unnamed>
A simple demonstration of an executable command that simply prints out the currently logged on users.
ExampleCommand() - Constructor for class ExampleCommand
 
ExampleContextFactory - Class in <Unnamed>
 
ExampleContextFactory() - Constructor for class ExampleContextFactory
 
ExampleFileSystem - Class in <Unnamed>
A Simple local file based SSHD file system.
ExampleFileSystem() - Constructor for class ExampleFileSystem
 
ExampleSession - Class in <Unnamed>
If your server is to support an interactive shell or the execution of commands you need to implement this abstract class and set your class in the ConfigurationContext.
ExampleSession() - Constructor for class ExampleSession
 
ExampleSSHD - Class in <Unnamed>
An example server that fulfils the basic requirements of the Maverick SSHD.
executeCommand(String) - Method in class ExampleSession
The user has requested the execution of a command.

F

fileExists(String) - Method in class ExampleFileSystem
 

G

getDefaultPath() - Method in class ExampleFileSystem
 
getExitCode() - Method in class ExampleCommand
 
getFileAttributes(byte[]) - Method in class ExampleFileSystem
 
getFileAttributes(String) - Method in class ExampleFileSystem
 
getGroup(Connection) - Method in class ExampleAuthenticationProvider
 
getHome() - Method in class ExampleFileSystem
 
getInputStream(String) - Method in class ExampleFileSystem
 
getInstance() - Static method in class ExampleSSHD
 
getLoggedOnUsers() - Method in class ExampleAuthenticationProvider
 
getPathForHandle(byte[]) - Method in class ExampleFileSystem
 
getRealPath(String) - Method in class ExampleFileSystem
 
getRemoteAddress(String) - Method in class ExampleAuthenticationProvider
 
getRequiredAuthentications(String, String) - Method in class ExampleAccessManager
 
getRoot() - Method in class ExampleFileSystem
 
getVersionInformation() - Method in class ExampleSSHD
 

I

init(Connection, String) - Method in class ExampleFileSystem
 

K

kill() - Method in class ExampleCommand
 

M

main(String[]) - Static method in class ExampleSSHD
 
makeDirectory(String) - Method in class ExampleFileSystem
 

O

onChannelClosed() - Method in class ExampleSession
The channel has been closed.
onLocalEOF() - Method in class ExampleSession
The local side has sent an EOF message.
onSessionOpen() - Method in class ExampleSession
The session has now been opened.
onStart() - Method in class ExampleCommand
The session is now open so you can perform all the IO you want but DONT block this method; if you have lots of interaction you will need to start a thread or override the processStdinData method to receive notification of data.
openDirectory(String) - Method in class ExampleFileSystem
 
openFile(String, UnsignedInteger32, SftpFileAttributes) - Method in class ExampleFileSystem
 

P

processSignal(String) - Method in class ExampleSession
Process a signal sent by the client.
processStderrData(byte[]) - Method in class ExampleSession
Process stderr data.
processStdinData(byte[]) - Method in class ExampleSession
Process stdin data.

R

readDirectory(byte[]) - Method in class ExampleFileSystem
 
readFile(byte[], UnsignedInteger64, byte[], int, int) - Method in class ExampleFileSystem
 
readSymbolicLink(String) - Method in class ExampleFileSystem
 
removeDirectory(String) - Method in class ExampleFileSystem
 
removeFile(String) - Method in class ExampleFileSystem
 
renameFile(String, String) - Method in class ExampleFileSystem
 

S

setEnvironmentVariable(String, String) - Method in class ExampleSession
Set an environment variable
setFileAttributes(String, SftpFileAttributes) - Method in class ExampleFileSystem
 
setFileAttributes(byte[], SftpFileAttributes) - Method in class ExampleFileSystem
 
startSession(Connection) - Method in class ExampleAuthenticationProvider
 
startShell() - Method in class ExampleSession
The user has requested that the session start an interactive shell.

T

translateNFSPath(File) - Method in class ExampleFileSystem
 
translateVFSPath(String) - Method in class ExampleFileSystem
 

V

verifyPassword(Connection, String, String, SocketAddress) - Method in class ExampleAuthenticationProvider
 

W

writeFile(byte[], UnsignedInteger64, byte[], int, int) - Method in class ExampleFileSystem
 

A C E F G I K M O P R S T V W

Copyright © 2012. All Rights Reserved.