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 |
SshServer.getPublickeyAuthenticator() |
PublickeyAuthenticator |
ServerAuthenticationManager.getPublickeyAuthenticator()
Retrieve the
PublickeyAuthenticator to be used by SSH server. |
Modifier and Type | Method and Description |
---|---|
ServerBuilder |
ServerBuilder.publickeyAuthenticator(PublickeyAuthenticator auth) |
void |
SshServer.setPublickeyAuthenticator(PublickeyAuthenticator publickeyAuthenticator) |
void |
ServerAuthenticationManager.setPublickeyAuthenticator(PublickeyAuthenticator publickeyAuthenticator) |
Modifier and Type | Class and Description |
---|---|
class |
AcceptAllPublickeyAuthenticator
Accepts all authentication attempts
|
class |
CachingPublicKeyAuthenticator
Caches the result per session
|
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 |
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 |
---|---|
static PublickeyAuthenticator |
AuthorizedKeyEntry.fromAuthorizedEntries(PublicKeyEntryResolver fallbackResolver,
Collection<? extends AuthorizedKeyEntry> entries) |
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–2016 The Apache Software Foundation. All rights reserved.