summaryrefslogtreecommitdiff
path: root/src/mongo/db/client_basic.cpp
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2012-12-19 16:34:22 -0500
committerSpencer T Brody <spencer@10gen.com>2012-12-20 15:53:31 -0500
commit09acb35f3d09621ce2df9b099ddcb5db14fa0e1e (patch)
treef76938cb6e9403e69fe494ae601f684c2fbb7ab2 /src/mongo/db/client_basic.cpp
parent458796c7cca9f299ee2f23b4dec25162d3235b29 (diff)
downloadmongo-09acb35f3d09621ce2df9b099ddcb5db14fa0e1e.tar.gz
SERVER-7572 Update auth checking of serverStatus sub-sections
Diffstat (limited to 'src/mongo/db/client_basic.cpp')
-rw-r--r--src/mongo/db/client_basic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/client_basic.cpp b/src/mongo/db/client_basic.cpp
index 3312fd1846b..33185b5aae1 100644
--- a/src/mongo/db/client_basic.cpp
+++ b/src/mongo/db/client_basic.cpp
@@ -41,11 +41,11 @@ namespace mongo {
_authenticationSession.swap(other);
}
- bool ClientBasic::hasAuthorizationManager() {
+ bool ClientBasic::hasAuthorizationManager() const {
return _authorizationManager.get();
}
- AuthorizationManager* ClientBasic::getAuthorizationManager() {
+ AuthorizationManager* ClientBasic::getAuthorizationManager() const {
massert(16481,
"No AuthorizationManager has been set up for this connection",
hasAuthorizationManager());