Interface HostBasedAuthenticator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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)  
    • Method Detail

      • authenticate

        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)
        Parameters:
        session - The ServerSession through which the request was received
        username - The username attempting to login
        clientHostKey - The remote client's host PublicKey
        clientHostName - The reported remote client's host name
        clientUsername - The remote client username
        certificates - Associated X509Certificates - may be null/empty
        Returns:
        true whether authentication is allowed to proceed