Interface HostBasedAuthenticator

    • Method Detail

      • authenticate

        boolean authenticate​(ServerSession session,
                             String username,
                             PublicKey clientHostKey,
                             String clientHostName,
                             String clientUsername,
                             List<X509Certificate> certificates)
        Parameters:
        session - The ServerSession through which the request was received
        username - The username attempting to login
        clientHostKey - The remote client's host PublicKey
        clientHostName - The reported remote client's host name
        clientUsername - The remote client username
        certificates - Associated X509Certificates - may be null/empty
        Returns:
        true whether authentication is allowed to proceed