25 #ifndef LSST_MWI_PERSISTENCE_DBAUTH_H 26 #define LSST_MWI_PERSISTENCE_DBAUTH_H 56 namespace persistence {
static bool available(std::string const &host, std::string const &port)
Determine whether an authenticator string is available for database access.
static void setPolicy(lsst::pex::policy::Policy::Ptr policy)
Set the authenticator Policy.
Class for database authentication.
A base class for image defects.
static void resetPolicy()
Set the authenticator Policy back to null.
static std::string authString(std::string const &host, std::string const &port)
Get the authenticator string for a database.
static std::string username(std::string const &host, std::string const &port)
Get the username to use to authenticate to a database.
static std::string password(std::string const &host, std::string const &port)
Get the password to use to authenticate to a database.