summaryrefslogtreecommitdiffstats
path: root/src/auth/AuthServiceHandler.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@hq.newdream.net>2009-10-28 19:01:16 +0100
committerYehuda Sadeh <yehuda@hq.newdream.net>2009-10-28 19:01:16 +0100
commitb89673bf00ced510d49ac1ecf929c77e87eba2ae (patch)
tree6d61ffe4acbf7ffb7708ddfcbba7014ebc3bf93e /src/auth/AuthServiceHandler.h
parentauth: filter mon messages according to peer type (diff)
downloadceph-b89673bf00ced510d49ac1ecf929c77e87eba2ae.tar.xz
ceph-b89673bf00ced510d49ac1ecf929c77e87eba2ae.zip
auth: mon does not filter messages that come from mon
Diffstat (limited to 'src/auth/AuthServiceHandler.h')
-rw-r--r--src/auth/AuthServiceHandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/auth/AuthServiceHandler.h b/src/auth/AuthServiceHandler.h
index 88702236f45..9b8835df5bb 100644
--- a/src/auth/AuthServiceHandler.h
+++ b/src/auth/AuthServiceHandler.h
@@ -25,6 +25,8 @@ struct AuthServiceHandler {
virtual int start_session(bufferlist& result) = 0;
virtual int handle_request(bufferlist::iterator& indata, bufferlist& result, bufferlist& caps) = 0;
+
+ virtual EntityName& get_entity_name() = 0;
};
extern AuthServiceHandler *get_auth_service_handler(KeyServer *ks, set<__u32>& supported);