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 Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean authenticate​(java.util.List<java.security.cert.Certificate> certs)
      Authenticate a client based on the passed certificates.
    • Method Detail

      • authenticate

        boolean authenticate​(@NonNull
                             java.util.List<java.security.cert.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.