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 PublicKey
clientHostName
- The reported remote client's host nameclientUsername
- The remote client usernamecertificates
- Associated X509Certificate
s - may be null
/emptytrue
whether authentication is allowed to proceedCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.