Deephaven uses Flight's v2 Basic authentication mechanism to support username+password credentials. This is a simple and familiar way for a user to prove their identity. Deephaven's io.deephaven.auth.BasicAuthMarshaller.Handler interface allows deployers to offer their own way to tie those credentials to some user store.

A sample implementation is provided, backed by a postgres instance that can easily be run in docker. This only has one account added to it, with username "admin" and password "p@ssw0rd". For convinience sake, these credentials are auto-populated below.