Modifier and Type | Method and Description |
---|---|
void |
SessionAware.setSession(ServerSession session) |
Modifier and Type | Method and Description |
---|---|
ServerSession |
AbstractUserAuth.getServerSession() |
ServerSession |
AbstractUserAuth.getSession() |
Modifier and Type | Method and Description |
---|---|
Boolean |
UserAuth.auth(ServerSession session,
String username,
String service,
Buffer buffer)
Try to authenticate the user.
|
Boolean |
AbstractUserAuth.auth(ServerSession session,
String username,
String service,
Buffer buffer) |
Modifier and Type | Method and Description |
---|---|
boolean |
GSSAuthenticator.validateIdentity(ServerSession session,
String identity)
Validate the source identity obtained from the context after negotiation is complete.
|
boolean |
GSSAuthenticator.validateInitialUser(ServerSession session,
String user)
Validate the user name passed in the initial SSH_MSG_USERAUTH_REQUEST message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
StaticHostBasedAuthenticator.authenticate(ServerSession session,
String username,
PublicKey clientHostKey,
String clientHostName,
String clientUsername,
List<X509Certificate> certificates) |
boolean |
HostBasedAuthenticator.authenticate(ServerSession session,
String username,
PublicKey clientHostKey,
String clientHostName,
String clientUsername,
List<X509Certificate> certificates) |
protected void |
StaticHostBasedAuthenticator.handleAcceptance(ServerSession session,
String username,
PublicKey clientHostKey,
String clientHostName,
String clientUsername,
List<X509Certificate> certificates) |
protected void |
StaticHostBasedAuthenticator.handleRejection(ServerSession session,
String username,
PublicKey clientHostKey,
String clientHostName,
String clientUsername,
List<X509Certificate> certificates) |
Modifier and Type | Method and Description |
---|---|
boolean |
KeyboardInteractiveAuthenticator.authenticate(ServerSession session,
String username,
List<String> responses)
Called to authenticate the response to the challenge(s) sent previously
|
boolean |
DefaultKeyboardInteractiveAuthenticator.authenticate(ServerSession session,
String username,
List<String> responses) |
InteractiveChallenge |
KeyboardInteractiveAuthenticator.generateChallenge(ServerSession session,
String username,
String lang,
String subMethods)
Generates the interactive "challenge" to send to the client
|
InteractiveChallenge |
DefaultKeyboardInteractiveAuthenticator.generateChallenge(ServerSession session,
String username,
String lang,
String subMethods) |
protected String |
DefaultKeyboardInteractiveAuthenticator.getInteractionInstruction(ServerSession session) |
protected String |
DefaultKeyboardInteractiveAuthenticator.getInteractionLanguage(ServerSession session) |
protected String |
DefaultKeyboardInteractiveAuthenticator.getInteractionName(ServerSession session) |
protected String |
DefaultKeyboardInteractiveAuthenticator.getInteractionPrompt(ServerSession session) |
protected boolean |
DefaultKeyboardInteractiveAuthenticator.isInteractionPromptEchoEnabled(ServerSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
StaticPasswordAuthenticator.authenticate(String username,
String password,
ServerSession session) |
boolean |
PasswordAuthenticator.authenticate(String username,
String password,
ServerSession session)
Check the validity of a password.
|
protected Boolean |
UserAuthPassword.checkPassword(Buffer buffer,
ServerSession session,
String username,
String password)
Invokes the configured
PasswordAuthenticator and returns the result. |
protected void |
StaticPasswordAuthenticator.handleAcceptance(String username,
String password,
ServerSession session) |
protected Boolean |
UserAuthPassword.handleClientPasswordChangeRequest(Buffer buffer,
ServerSession session,
String username,
String oldPassword,
String newPassword)
Invoked when the client sends a
SSH_MSG_USERAUTH_REQUEST indicating
a password change. |
protected void |
StaticPasswordAuthenticator.handleRejection(String username,
String password,
ServerSession session) |
protected Boolean |
UserAuthPassword.handleServerPasswordChangeRequest(Buffer buffer,
ServerSession session,
String username,
String password,
PasswordChangeRequiredException e)
Invoked by
UserAuthPassword.checkPassword(Buffer, ServerSession, String, String)
when a PasswordChangeRequiredException was thrown by the authenticator. |
Modifier and Type | Field and Description |
---|---|
protected Map<ServerSession,Map<PublicKey,Boolean>> |
CachingPublicKeyAuthenticator.cache |
Modifier and Type | Method and Description |
---|---|
boolean |
StaticPublickeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
boolean |
PublickeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session)
Check the validity of a public key.
|
boolean |
KeySetPublickeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
boolean |
CachingPublicKeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
boolean |
KeySetPublickeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session,
Collection<? extends PublicKey> keys) |
protected void |
StaticPublickeyAuthenticator.handleAcceptance(String username,
PublicKey key,
ServerSession session) |
protected void |
StaticPublickeyAuthenticator.handleRejection(String username,
PublicKey key,
ServerSession session) |
Modifier and Type | Method and Description |
---|---|
ServerSession |
AbstractServerChannel.getServerSession() |
Modifier and Type | Method and Description |
---|---|
boolean |
AuthorizedKeysAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
protected boolean |
DefaultAuthorizedKeysAuthenticator.isValidUsername(String username,
ServerSession session) |
protected boolean |
AuthorizedKeysAuthenticator.isValidUsername(String username,
ServerSession session) |
protected Collection<AuthorizedKeyEntry> |
DefaultAuthorizedKeysAuthenticator.reloadAuthorizedKeys(Path path,
String username,
ServerSession session) |
protected Collection<AuthorizedKeyEntry> |
AuthorizedKeysAuthenticator.reloadAuthorizedKeys(Path path,
String username,
ServerSession session) |
protected PublickeyAuthenticator |
AuthorizedKeysAuthenticator.resolvePublickeyAuthenticator(String username,
ServerSession session) |
Modifier and Type | Method and Description |
---|---|
boolean |
JaasPasswordAuthenticator.authenticate(String username,
String password,
ServerSession session) |
Modifier and Type | Method and Description |
---|---|
ServerSession |
AbstractDHServerKeyExchange.getServerSession() |
Modifier and Type | Field and Description |
---|---|
protected ServerSession |
ScpCommand.serverSession |
Modifier and Type | Method and Description |
---|---|
ServerSession |
ScpCommand.getServerSession() |
Modifier and Type | Method and Description |
---|---|
void |
ScpCommand.setSession(ServerSession session) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractServerSession |
class |
ServerSessionImpl
TODO Add javadoc
|
Modifier and Type | Method and Description |
---|---|
ServerSession |
ServerUserAuthService.getServerSession() |
ServerSession |
ServerSessionHolder.getServerSession() |
ServerSession |
ServerConnectionService.getServerSession() |
ServerSession |
ServerUserAuthService.getSession() |
Modifier and Type | Method and Description |
---|---|
ServerSession |
ProcessShell.getServerSession() |
Modifier and Type | Method and Description |
---|---|
void |
ProcessShell.setSession(ServerSession session) |
void |
InvertedShellWrapper.setSession(ServerSession session) |
Modifier and Type | Method and Description |
---|---|
ServerSession |
SftpSubsystem.getServerSession() |
Modifier and Type | Method and Description |
---|---|
void |
SftpEventListener.blocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask,
Throwable thrown)
Called after blocking a file section
|
void |
AbstractSftpEventListenerAdapter.blocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask,
Throwable thrown) |
void |
SftpEventListener.blocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask)
Called prior to blocking a file section
|
void |
AbstractSftpEventListenerAdapter.blocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
int mask) |
void |
SftpEventListener.close(ServerSession session,
String remoteHandle,
Handle localHandle)
Specified file / directory has been closed
|
void |
AbstractSftpEventListenerAdapter.close(ServerSession session,
String remoteHandle,
Handle localHandle) |
void |
SftpEventListener.created(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown)
Called after creating a directory
|
void |
AbstractSftpEventListenerAdapter.created(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
void |
SftpEventListener.creating(ServerSession session,
Path path,
Map<String,?> attrs)
Called prior to creating a directory
|
void |
AbstractSftpEventListenerAdapter.creating(ServerSession session,
Path path,
Map<String,?> attrs) |
void |
SftpEventListener.destroying(ServerSession session)
Called when subsystem is destroyed since it was closed
|
void |
AbstractSftpEventListenerAdapter.destroying(ServerSession session) |
void |
SftpEventListener.initialized(ServerSession session,
int version)
Called when the SFTP protocol has been initialized
|
void |
AbstractSftpEventListenerAdapter.initialized(ServerSession session,
int version) |
void |
SftpEventListener.linked(ServerSession session,
Path source,
Path target,
boolean symLink,
Throwable thrown)
Called after creating a link
|
void |
AbstractSftpEventListenerAdapter.linked(ServerSession session,
Path source,
Path target,
boolean symLink,
Throwable thrown) |
void |
SftpEventListener.linking(ServerSession session,
Path source,
Path target,
boolean symLink)
Called prior to creating a link
|
void |
AbstractSftpEventListenerAdapter.linking(ServerSession session,
Path source,
Path target,
boolean symLink) |
void |
SftpEventListener.modifiedAttributes(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown)
Called after modifying the attributes of a file / directory
|
void |
AbstractSftpEventListenerAdapter.modifiedAttributes(ServerSession session,
Path path,
Map<String,?> attrs,
Throwable thrown) |
void |
SftpEventListener.modifyingAttributes(ServerSession session,
Path path,
Map<String,?> attrs)
Called prior to modifying the attributes of a file / directory
|
void |
AbstractSftpEventListenerAdapter.modifyingAttributes(ServerSession session,
Path path,
Map<String,?> attrs) |
void |
SftpEventListener.moved(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts,
Throwable thrown)
Called after renaming a file / directory
|
void |
AbstractSftpEventListenerAdapter.moved(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts,
Throwable thrown) |
void |
SftpEventListener.moving(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts)
Called prior to renaming a file / directory
|
void |
AbstractSftpEventListenerAdapter.moving(ServerSession session,
Path srcPath,
Path dstPath,
Collection<CopyOption> opts) |
void |
SftpEventListener.open(ServerSession session,
String remoteHandle,
Handle localHandle)
Specified file / directory has been opened
|
void |
AbstractSftpEventListenerAdapter.open(ServerSession session,
String remoteHandle,
Handle localHandle) |
void |
SftpEventListener.read(ServerSession session,
String remoteHandle,
DirectoryHandle localHandle,
Map<String,Path> entries)
Result of reading entries from a directory - Note: it may be a
partial result if the directory contains more entries than can
be accommodated in the response
|
void |
AbstractSftpEventListenerAdapter.read(ServerSession session,
String remoteHandle,
DirectoryHandle localHandle,
Map<String,Path> entries) |
void |
SftpEventListener.read(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
int readLen)
Result of reading from a file
|
void |
AbstractSftpEventListenerAdapter.read(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen,
int readLen) |
void |
SftpEventListener.removed(ServerSession session,
Path path,
Throwable thrown)
Called after a file / directory has been removed
|
void |
AbstractSftpEventListenerAdapter.removed(ServerSession session,
Path path,
Throwable thrown) |
void |
SftpEventListener.removing(ServerSession session,
Path path)
Called prior to removing a file / directory
|
void |
AbstractSftpEventListenerAdapter.removing(ServerSession session,
Path path) |
protected Collection<Integer> |
SftpSubsystem.resolveAclSupportedCapabilities(ServerSession session) |
protected String |
SftpSubsystem.resolveNewlineValue(ServerSession session) |
protected List<AbstractOpenSSHExtensionParser.OpenSSHExtension> |
SftpSubsystem.resolveOpenSSHExtensions(ServerSession session) |
void |
SftpSubsystem.setSession(ServerSession session) |
void |
SftpEventListener.unblocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
Boolean result,
Throwable thrown)
Called prior to un-blocking a file section
|
void |
AbstractSftpEventListenerAdapter.unblocked(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length,
Boolean result,
Throwable thrown) |
void |
SftpEventListener.unblocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length)
Called prior to un-blocking a file section
|
void |
AbstractSftpEventListenerAdapter.unblocking(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
long length) |
void |
SftpEventListener.write(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen)
Result of writing to a file
|
void |
AbstractSftpEventListenerAdapter.write(ServerSession session,
String remoteHandle,
FileHandle localHandle,
long offset,
byte[] data,
int dataOffset,
int dataLen) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.