Package com.couchbase.lite
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 ListenerCertificateAuthenticatorDelegateFunctional Interface for an Authenticator that uses an authentication strategy based on client supplied certificates. Pass implementations of this interface to theListenerCertificateAuthenticatorto realize specific authentication strategies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanauthenticate(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.
-
-