| 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) |
UserAuthNone |
UserAuthNoneFactory.createUserAuth(ServerSession session) |
| Modifier and Type | Method and Description |
|---|---|
UserAuth |
UserAuthGSSFactory.createUserAuth(ServerSession session) |
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) |
UserAuthHostBased |
UserAuthHostBasedFactory.createUserAuth(ServerSession session) |
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) |
UserAuthKeyboardInteractive |
UserAuthKeyboardInteractiveFactory.createUserAuth(ServerSession session) |
protected Boolean |
UserAuthKeyboardInteractive.doInitialAuth(ServerSession session,
String username,
KeyboardInteractiveAuthenticator auth,
Buffer buffer) |
protected Boolean |
UserAuthKeyboardInteractive.doValidateAuthResponse(ServerSession session,
String username,
KeyboardInteractiveAuthenticator auth,
Buffer buffer) |
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. |
UserAuthPassword |
UserAuthPasswordFactory.createUserAuth(ServerSession session) |
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. |
default boolean |
PasswordAuthenticator.handleClientPasswordChangeRequest(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 | Method and Description |
|---|---|
boolean |
KeySetPublickeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
boolean |
CachingPublicKeyAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
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,
Collection<? extends PublicKey> keys) |
UserAuthPublicKey |
UserAuthPublicKeyFactory.createUserAuth(ServerSession session) |
static PublickeyAuthenticator |
PublickeyAuthenticator.fromAuthorizedEntries(Object id,
ServerSession session,
Collection<? extends AuthorizedKeyEntry> entries,
PublicKeyEntryResolver fallbackResolver) |
protected void |
StaticPublickeyAuthenticator.handleAcceptance(String username,
PublicKey key,
ServerSession session) |
protected void |
StaticPublickeyAuthenticator.handleRejection(String username,
PublicKey key,
ServerSession session) |
protected Map<PublicKey,Boolean> |
CachingPublicKeyAuthenticator.resolveCachedResults(String username,
PublicKey key,
ServerSession session) |
protected void |
UserAuthPublicKey.sendPublicKeyResponse(ServerSession session,
String username,
String alg,
PublicKey key,
byte[] keyBlob,
int offset,
int blobLen,
Buffer buffer) |
protected boolean |
UserAuthPublicKey.verifySignature(ServerSession session,
String username,
String alg,
PublicKey key,
Buffer buffer,
Signature verifier,
byte[] sig) |
| Modifier and Type | Method and Description |
|---|---|
default ServerSession |
ServerChannel.getServerSession() |
ServerSession |
ChannelSession.getSession() |
| Modifier and Type | Field and Description |
|---|---|
protected ServerSession |
AbstractCommandSupport.serverSession |
| Modifier and Type | Method and Description |
|---|---|
ServerSession |
AbstractCommandSupport.getServerSession() |
ServerSession |
AbstractCommandSupport.getSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractCommandSupport.setSession(ServerSession session) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AuthorizedKeysAuthenticator.authenticate(String username,
PublicKey key,
ServerSession session) |
protected PublickeyAuthenticator |
AuthorizedKeysAuthenticator.createDelegateAuthenticator(String username,
ServerSession session,
Path path,
Collection<AuthorizedKeyEntry> entries,
PublicKeyEntryResolver fallbackResolver) |
protected boolean |
AuthorizedKeysAuthenticator.isValidUsername(String username,
ServerSession session) |
protected boolean |
DefaultAuthorizedKeysAuthenticator.isValidUsername(String username,
ServerSession session) |
protected Collection<AuthorizedKeyEntry> |
AuthorizedKeysAuthenticator.reloadAuthorizedKeys(Path path,
String username,
ServerSession session) |
protected Collection<AuthorizedKeyEntry> |
DefaultAuthorizedKeysAuthenticator.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 | Class and Description |
|---|---|
class |
AbstractServerSession
Provides default implementations for
ServerSession related methods |
class |
ServerSessionImpl
The default implementation for a
ServerSession |
| Modifier and Type | Method and Description |
|---|---|
ServerSession |
ServerSessionHolder.getServerSession() |
ServerSession |
ServerConnectionService.getServerSession() |
ServerSession |
ServerUserAuthService.getServerSession() |
ServerSession |
ServerUserAuthService.getSession() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ServerProxyAcceptor.acceptServerProxyMetadata(ServerSession session,
Buffer buffer)
Invoked before any attempt is made to retrieve the SSH client
identification data of the standard SSH protocol.
|
protected boolean |
ServerUserAuthService.handleUserAuthRequestMessage(ServerSession session,
Buffer buffer,
AtomicReference<Boolean> authHolder) |
protected String |
ServerUserAuthService.loadWelcomeBanner(ServerSession session,
URL url,
Charset cs) |
protected String |
ServerUserAuthService.resolveWelcomeBanner(ServerSession session) |
IoWriteFuture |
ServerUserAuthService.sendWelcomeBanner(ServerSession session)
Sends the welcome banner (if any configured) and if not already invoked
|
| Modifier and Type | Method and Description |
|---|---|
ServerSession |
ProcessShell.getServerSession() |
default ServerSession |
InvertedShell.getSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessShell.setSession(ServerSession session) |
void |
InvertedShellWrapper.setSession(ServerSession session) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.