@FunctionalInterface public interface HostBasedAuthenticator
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(ServerSession session,
String username,
PublicKey clientHostKey,
String clientHostName,
String clientUsername,
List<X509Certificate> certificates) |
boolean authenticate(ServerSession session, String username, PublicKey clientHostKey, String clientHostName, String clientUsername, List<X509Certificate> certificates)
session - The ServerSession through which the request was receivedusername - The username attempting to loginclientHostKey - The remote client's host PublicKeyclientHostName - The reported remote client's host nameclientUsername - The remote client usernamecertificates - Associated X509Certificates - may be null/emptytrue whether authentication is allowed to proceedCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.