Interface PublickeyAuthenticator

    • Method Detail

      • authenticate

        boolean authenticate​(String username,
                             PublicKey key,
                             ServerSession session)
                      throws AsyncAuthException
        Check the validity of a public key.
        Parameters:
        username - the username
        key - the key
        session - the server session
        Returns:
        a boolean indicating if authentication succeeded or not
        Throws:
        AsyncAuthException - If the authentication is performed asynchronously