Package | Description |
---|---|
org.apache.sshd.server | |
org.apache.sshd.server.auth.pubkey | |
org.apache.sshd.server.config.keys | |
org.apache.sshd.server.session |
Modifier and Type | Field and Description |
---|---|
static PublickeyAuthenticator |
ServerBuilder.DEFAULT_PUBLIC_KEY_AUTHENTICATOR |
protected PublickeyAuthenticator |
ServerBuilder.pubkeyAuthenticator |
Modifier and Type | Method and Description |
---|---|
PublickeyAuthenticator |
ServerAuthenticationManager.getPublickeyAuthenticator()
Retrieve the
PublickeyAuthenticator to be used by SSH server. |
PublickeyAuthenticator |
SshServer.getPublickeyAuthenticator() |
Modifier and Type | Method and Description |
---|---|
ServerBuilder |
ServerBuilder.publickeyAuthenticator(PublickeyAuthenticator auth) |
void |
ServerAuthenticationManager.setPublickeyAuthenticator(PublickeyAuthenticator publickeyAuthenticator) |
void |
SshServer.setPublickeyAuthenticator(PublickeyAuthenticator publickeyAuthenticator) |
Modifier and Type | Class and Description |
---|---|
class |
AcceptAllPublickeyAuthenticator
Accepts all authentication attempts
|
class |
AuthorizedKeyEntriesPublickeyAuthenticator
Checks against a
Collection of AuthorizedKeyEntry s
Records the matched entry under a session attribute. |
class |
CachingPublicKeyAuthenticator
Caches the result per session - compensates for
OpenSSH behavior where it sends 2 requests with the same key
(see SSHD-300 ). |
class |
KeySetPublickeyAuthenticator
Checks against a
Collection of PublicKey s |
class |
RejectAllPublickeyAuthenticator
Rejects all authentication attempts
|
class |
StaticPublickeyAuthenticator
Returns the same constant result
true/false regardless |
Modifier and Type | Field and Description |
---|---|
protected PublickeyAuthenticator |
CachingPublicKeyAuthenticator.authenticator |
Modifier and Type | Method and Description |
---|---|
static PublickeyAuthenticator |
PublickeyAuthenticator.fromAuthorizedEntries(Object id,
ServerSession session,
Collection<? extends AuthorizedKeyEntry> entries,
PublicKeyEntryResolver fallbackResolver) |
Constructor and Description |
---|
CachingPublicKeyAuthenticator(PublickeyAuthenticator authenticator) |
Modifier and Type | Class and Description |
---|---|
class |
AuthorizedKeysAuthenticator
Uses the authorized keys file to implement
PublickeyAuthenticator while automatically re-loading the keys if
the file has changed when a new authentication request is received. |
class |
DefaultAuthorizedKeysAuthenticator
Monitors the
~/.ssh/authorized_keys file of the user currently running the server, re-loading it if
necessary. |
Modifier and Type | Method and Description |
---|---|
protected PublickeyAuthenticator |
AuthorizedKeysAuthenticator.createDelegateAuthenticator(String username,
ServerSession session,
Path path,
Collection<AuthorizedKeyEntry> entries,
PublicKeyEntryResolver fallbackResolver) |
protected PublickeyAuthenticator |
AuthorizedKeysAuthenticator.resolvePublickeyAuthenticator(String username,
ServerSession session) |
Modifier and Type | Method and Description |
---|---|
PublickeyAuthenticator |
AbstractServerSession.getPublickeyAuthenticator() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractServerSession.setPublickeyAuthenticator(PublickeyAuthenticator publickeyAuthenticator) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.