Class AuthorizedKeysAuthenticator

All Implemented Interfaces:
PublickeyAuthenticator
Direct Known Subclasses:
DefaultAuthorizedKeysAuthenticator

public class AuthorizedKeysAuthenticator extends ModifiableFileWatcher implements PublickeyAuthenticator
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. Note: by default, the only validation of the username is that it is not null/empty - see isValidUsername(String, ServerSession)
Author:
Apache MINA SSHD Project