Class LdapPublickeyAuthenticator

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.net.NetworkConnector
org.apache.sshd.ldap.LdapNetworkConnector<org.apache.sshd.server.session.ServerSession>
org.apache.sshd.ldap.LdapAuthenticator
org.apache.sshd.ldap.LdapPublickeyAuthenticator
All Implemented Interfaces:
org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator

public class LdapPublickeyAuthenticator extends LdapAuthenticator implements org.apache.sshd.server.auth.pubkey.PublickeyAuthenticator
Uses LDAP to retrieve a user's registered public key and compare it with the provided one. The default search pattern attempts to retrieve the user's SSH public key value which is assumed to be in OpenSSH format. The default assumes that the value resides in the DEFAULT_PUBKEY_ATTR_NAME attribute and can be either a single or a multi-valued one