Class DefaultAuthorizedKeysAuthenticator

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.io.ModifiableFileWatcher
org.apache.sshd.server.config.keys.AuthorizedKeysAuthenticator
org.apache.sshd.server.config.keys.DefaultAuthorizedKeysAuthenticator
All Implemented Interfaces:
org.apache.sshd.common.auth.UsernameHolder, PublickeyAuthenticator

public class DefaultAuthorizedKeysAuthenticator extends AuthorizedKeysAuthenticator implements org.apache.sshd.common.auth.UsernameHolder
Monitors the ~/.ssh/authorized_keys file of the user currently running the server, re-loading it if necessary. It also (optionally) enforces the same permissions regime as OpenSSH does for the file permissions. By default also compares the current username with the authenticated one.
Author:
Apache MINA SSHD Project