21 #ifndef G_SASL_SERVER_PAM_H
22 #define G_SASL_SERVER_PAM_H
37 class SaslServerPamImp ;
62 virtual bool active()
const override ;
65 virtual std::string
mechanisms(
char sep =
' ' )
const override ;
71 virtual std::string
mechanism()
const override ;
80 virtual std::string
apply(
const std::string & response ,
bool & done )
override ;
86 virtual std::string
id()
const override ;
virtual std::string initialChallenge() const override
Override from GAuth::SaslServer.
virtual std::string id() const override
Override from GAuth::SaslServer.
virtual bool init(const std::string &mechanism) override
Override from GAuth::SaslServer.
The GNet::Address class encapsulates a TCP/UDP transport address.
virtual bool requiresEncryption() const override
Override from GAuth::SaslServer.
virtual bool authenticated() const override
Override from GAuth::SaslServer.
virtual bool active() const override
Override from GAuth::SaslServer.
An interface used by GAuth::SaslServer to obtain authentication secrets.
virtual ~SaslServerPam()
Destructor.
virtual std::string mechanism() const override
Override from GAuth::SaslServer.
An interface for implementing the server-side SASL challenge/response concept.
A private implementation class used by GAuth::SaslServerPam.
virtual std::string apply(const std::string &response, bool &done) override
Override from GAuth::SaslServer.
An implementation of the SaslServer interface using PAM as the authentication mechanism.
SaslServerPam(const SaslServerSecrets &, bool allow_apop)
Constructor.
virtual bool trusted(const GNet::Address &) const override
Override from GAuth::SaslServer.
virtual bool mustChallenge() const override
Override from GAuth::SaslServer.
virtual std::string mechanisms(char sep= ' ') const override
Override from GAuth::SaslServer.
SASL authentication classes.