Interface ListenerCertificateAuthenticatorDelegate

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ListenerCertificateAuthenticatorDelegate
    Functional Interface for an Authenticator that uses an authentication strategy based on client supplied certificates. Pass implementations of this interface to the ListenerCertificateAuthenticator to realize specific authentication strategies.
    • Method Detail

      • authenticate

        boolean authenticate​(@NonNull
                             List<Certificate> certs)
        Authenticate a client based on the passed certificates. Note that the passed certificates have not been validated. All validation and authorization are the responsiblity of the implementation.
        Parameters:
        certs - client supplied certificates.
        Returns:
        true to validate the client.