7 #ifndef HTTP_AUTH_CONFIG_H
8 #define HTTP_AUTH_CONFIG_H
46 virtual bool empty()
const = 0;
49 virtual void clear() = 0;
84 #endif // endif HTTP_AUTH_CONFIG_H
virtual bool empty() const =0
Empty predicate.
boost::shared_ptr< HttpResponseJson > HttpResponseJsonPtr
Pointer to the HttpResponseJson object.
void setRealm(const std::string &realm)
Set the realm.
Base class for user context.
virtual void clear()=0
Clear configuration.
Specifies an interface for classes creating HTTP responses from HTTP requests.
boost::shared_ptr< Element > ElementPtr
Base type of HTTP authentication configuration.
const std::string & getRealm() const
Returns the realm.
virtual ~HttpAuthConfig()
Destructor.
Abstract class for configuration Cfg_* classes.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
boost::shared_ptr< HttpRequest > HttpRequestPtr
Pointer to the HttpRequest object.
virtual isc::http::HttpResponseJsonPtr checkAuth(const isc::http::HttpResponseCreator &creator, const isc::http::HttpRequestPtr &request) const =0
Validate HTTP request.
virtual void parse(const isc::data::ConstElementPtr &config)=0
Parses HTTP authentication configuration.
virtual isc::data::ElementPtr toElement() const =0
Unparses HTTP authentication configuration.
boost::shared_ptr< HttpAuthConfig > HttpAuthConfigPtr
Type of shared pointers to HTTP authentication configuration.