)]}'
{"openstackclient/api/auth.py":[{"author":{"_account_id":8736,"name":"Terry Howe","email":"terrylhowe@gmail.com","username":"terrylhowe"},"change_message_id":"1aa44234bc49f6072f7e7fffe677fba01c25157d","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    LOG.debug(\"Auth plugin %s selected\" % auth_plugin_name)"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    # Horrible hack alert...must handle prompt for null password if"},{"line_number":143,"context_line":"    # password auth is requested."},{"line_number":144,"context_line":"    if (auth_plugin_name.endswith(\u0027password\u0027) and not options.os_password):"},{"line_number":145,"context_line":"        options.os_password \u003d prompt_for_password()"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9aa53dc9_e76bba83","line":143,"updated":"2015-04-10 13:39:33.000000000","message":"It would be nice if the plugs supported a \u0027passwordRequired() method or something.","commit_id":"25ba3a9bd9ef147e13d1cf0273a81873869b6c41"},{"author":{"_account_id":7191,"name":"Jamie Lennox","email":"jamielennox@gmail.com","username":"jamielennox"},"change_message_id":"96e3c9cf41d7d0c031efb29b7c014edc3e06450a","unresolved":false,"context_lines":[{"line_number":140,"context_line":"    LOG.debug(\"Auth plugin %s selected\" % auth_plugin_name)"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    # Horrible hack alert...must handle prompt for null password if"},{"line_number":143,"context_line":"    # password auth is requested."},{"line_number":144,"context_line":"    if (auth_plugin_name.endswith(\u0027password\u0027) and not options.os_password):"},{"line_number":145,"context_line":"        options.os_password \u003d prompt_for_password()"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7aaa499b_15b0b8dc","line":143,"in_reply_to":"9aa53dc9_e76bba83","updated":"2015-04-12 00:06:40.000000000","message":"there\u0027s two ways i want to handle that: \n\n1st: plugins typically have load_from_argparse_arguments. If that is called for a password plugin with no password then it should be safe to prompt the user, so this can be handled from keystoneclient. \n\n2nd: OSC needs to only try and interfere if it knows exactly what\u0027s going on. That\u0027s the point of the next patch (which still needs some more work). OSC can handle the default case (no --os-auth-type provided) but in which case it should properly take control of the auth process and not start guessing at values based on the plugin name.","commit_id":"25ba3a9bd9ef147e13d1cf0273a81873869b6c41"}]}
