summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authorization_manager.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2014-05-29 17:38:27 -0400
committerAndy Schwerin <schwerin@mongodb.com>2014-05-29 18:17:17 -0400
commit26211a7bfae928ded0ff30f6f974ff79f686f002 (patch)
tree9bdf47cb8c4c89fe8a7000fdbaf6c2567c2de674 /src/mongo/db/auth/authorization_manager.h
parentd5ceac1d556806be15d7653b92268354f52bbeda (diff)
downloadmongo-26211a7bfae928ded0ff30f6f974ff79f686f002.tar.gz
SERVER-14089 Remove support for schemaVersion24 users.
Diffstat (limited to 'src/mongo/db/auth/authorization_manager.h')
-rw-r--r--src/mongo/db/auth/authorization_manager.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mongo/db/auth/authorization_manager.h b/src/mongo/db/auth/authorization_manager.h
index b3a17c491c5..be11d634e83 100644
--- a/src/mongo/db/auth/authorization_manager.h
+++ b/src/mongo/db/auth/authorization_manager.h
@@ -333,16 +333,6 @@ namespace mongo {
void releaseUser(User* user);
/**
- * Returns a User object for a V1-style user with the given "userName" in "*acquiredUser",
- * On success, "acquiredUser" will have any privileges that the named user has on
- * database "dbname".
- *
- * Bumps the returned **acquiredUser's reference count on success.
- */
- Status acquireV1UserProbedForDb(
- const UserName& userName, const StringData& dbname, User** acquiredUser);
-
- /**
* Marks the given user as invalid and removes it from the user cache.
*/
void invalidateUserByName(const UserName& user);
@@ -461,13 +451,6 @@ namespace mongo {
Status _fetchUserV2(const UserName& userName, std::auto_ptr<User>* acquiredUser);
/**
- * Fetches user information from a v1-schema user document for the named user, possibly
- * examining system.users collections from userName.getDB() and admin.system.users in the
- * process. Stores a pointer to a new user object into *acquiredUser on success.
- */
- Status _fetchUserV1(const UserName& userName, std::auto_ptr<User>* acquiredUser);
-
- /**
* True if access control enforcement is enabled in this AuthorizationManager.
*
* Defaults to false. Changes to its value are not synchronized, so it should only be set