/*
- * $Id$
- *
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
* ----------------------------------------------------------
*
*/
-#ifndef SQUID_NEGOTIATESCHEME_H
-#define SQUID_NEGOTIATESCHEME_H
+#ifndef SQUID_AUTH_NEGOTIATE_SCHEME_H
+#define SQUID_AUTH_NEGOTIATE_SCHEME_H
-#include "auth/Scheme.h"
#include "auth/negotiate/auth_negotiate.h"
+#include "auth/Scheme.h"
+
+namespace Auth
+{
+namespace Negotiate
+{
/// \ingroup AuthSchemeAPI
/// \ingroup AuthAPI
-class negotiateScheme : public AuthScheme
+class Scheme : public Auth::Scheme
{
public:
- static AuthScheme::Pointer GetInstance();
- negotiateScheme() {};
- virtual ~negotiateScheme() {};
+ static Auth::Scheme::Pointer GetInstance();
+ Scheme() {};
+ virtual ~Scheme() {};
/* per scheme */
- virtual char const *type () const;
- virtual void done();
- virtual AuthConfig *createConfig();
+ virtual char const *type() const;
+ virtual void shutdownCleanup();
+ virtual Auth::Config *createConfig();
/* Not implemented */
- negotiateScheme (negotiateScheme const &);
- negotiateScheme &operator=(negotiateScheme const &);
+ Scheme (Scheme const &);
+ Scheme &operator=(Scheme const &);
private:
- static AuthScheme::Pointer _instance;
+ static Auth::Scheme::Pointer _instance;
};
-#endif /* SQUID_negotiateSCHEME_H */
+} // namespace Negotiate
+} // namespace Auth
+
+#endif /* SQUID_AUTH_NEGOTIATE_SCHEME_H */