[SERVER-7042] The shell should be able to report what dbs it's authenticated to Created: 14/Sep/12  Updated: 19/Mar/13  Resolved: 08/Mar/13

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Richard Kreuter (Inactive) Assignee: Andy Schwerin
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-6406 Add authentication module Closed
Participants:

 Description   

It would be nice if the shell could report back what databases a connection has authenticated to.

This could be done internally in the shell, or, if this kind of thing makes sense in drivers too, then maybe there should be a command for querying what authentication tokens are associated with the current connection.

This has come up twice in trainings in 2012Q3.



 Comments   
Comment by Richard Kreuter (Inactive) [ 08/Mar/13 ]

Seems like the new connectionStatus command suffices.

Comment by Andy Schwerin [ 08/Mar/13 ]

richard@10gen.com, can this be considered a duplicate of SERVER-7124, which added a command to the servers, or do you think we also need a shell helper?

If you want a shell helper, could you propose the desired UX?

Comment by Andy Schwerin [ 14/Sep/12 ]

Is there an existing command for extracting information about a connection to which this functionality could be naturally appended? We could add another command, getConnectionPrivileges, but if there's a getConnectionInfo-y command, or should be, that might be a better direction.

Generated at Thu Feb 08 03:13:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.