21 #ifndef G_SASL_SERVER_PAM_H
22 #define G_SASL_SERVER_PAM_H
39 class SaslServerPamImp ;
66 virtual bool active()
const ;
69 virtual std::string
mechanisms(
char sep =
' ' )
const ;
84 virtual std::string
apply(
const std::string & response ,
bool & done ) ;
90 virtual std::string
id()
const ;
virtual bool trusted(GNet::Address) const
Final override from GAuth::SaslServer.
The Address class encapsulates an IP transport address.
virtual std::string initialChallenge() const
Final override from GAuth::SaslServer.
virtual ~SaslServerPam()
Destructor.
virtual std::string mechanisms(char sep= ' ') const
Final override from GAuth::SaslServer.
virtual bool requiresEncryption() const
Final override from GAuth::SaslServer.
virtual std::string id() const
Final override from GAuth::SaslServer.
A class for implementing the server-side SASL challenge/response concept.
virtual std::string apply(const std::string &response, bool &done)
Final override from GAuth::SaslServer.
A private implementation class used by GAuth::SaslServerPam.
virtual bool authenticated() const
Final override from GAuth::SaslServer.
An implementation of the SaslServer interface using PAM as the authentication mechanism.
SaslServerPam(const Secrets &, bool ignored, bool force_one_mechanism)
Constructor.
virtual std::string mechanism() const
Final override from GAuth::SaslServer.
virtual bool active() const
Final override from GAuth::SaslServer.
An interface used by GAuth::SaslServer to obtain authentication secrets.
SASL authentication classes.
virtual bool mustChallenge() const
Final override from GAuth::SaslServer.
virtual bool init(const std::string &mechanism)
Final override from GAuth::SaslServer.