The only user is ProtocolV1, which passes in an in-use auth_method...
which must be either AUTH_NONE or AUTH_CEPHX since we successfully
authenticated at this point.
Signed-off-by: Sage Weil <sage@redhat.com>
#include "krb/KrbSessionHandler.hpp"
#endif
#include "none/AuthNoneSessionHandler.h"
-#include "unknown/AuthUnknownSessionHandler.h"
#include "common/ceph_crypto.h"
#define dout_subsys ceph_subsys_auth
return new CephxSessionHandler(cct, key, features);
case CEPH_AUTH_NONE:
return new AuthNoneSessionHandler();
- case CEPH_AUTH_UNKNOWN:
- return new AuthUnknownSessionHandler();
#ifdef HAVE_GSSAPI
case CEPH_AUTH_GSS:
return new KrbSessionHandler();
cephx/CephxClientHandler.cc
cephx/CephxProtocol.cc
cephx/CephxSessionHandler.cc
- none/AuthNoneAuthorizeHandler.cc
- unknown/AuthUnknownAuthorizeHandler.cc)
+ none/AuthNoneAuthorizeHandler.cc)
if(HAVE_GSSAPI)
list(APPEND auth_srcs
+++ /dev/null
-// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
-// vim: ts=8 sw=2 smarttab
-/*
- * Ceph - scalable distributed file system
- *
- * Copyright (C) 2004-2009 Sage Weil <sage@newdream.net>
- *
- * This is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License version 2.1, as published by the Free Software
- * Foundation. See file COPYING.
- *
- */
-
-#include "auth/AuthSessionHandler.h"
-
-struct AuthUnknownSessionHandler : DummyAuthSessionHandler {
-};
-