@FunctionalInterface
public interface HostBasedAuthenticator
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(ServerSession session,
java.lang.String username,
java.security.PublicKey clientHostKey,
java.lang.String clientHostName,
java.lang.String clientUsername,
java.util.List<java.security.cert.X509Certificate> certificates) |
boolean authenticate(ServerSession session, java.lang.String username, java.security.PublicKey clientHostKey, java.lang.String clientHostName, java.lang.String clientUsername, java.util.List<java.security.cert.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 proceed