File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,14 @@ hashing_module_for_user(#internal_user{
93
93
hashing_algorithm = ModOrUndefined }) ->
94
94
rabbit_password :hashing_mod (ModOrUndefined ).
95
95
96
+ % % For cases when we do not have a set of credentials,
97
+ % % namely when x509 (TLS) certificates are used. This should only be
98
+ % % possible when the EXTERNAL authentication mechanism is used, see
99
+ % % rabbit_auth_mechanism_plain:handle_response/2 and rabbit_reader:auth_phase/2.
96
100
user_login_authentication (Username , []) ->
97
101
internal_check_user_login (Username , fun (_ ) -> true end );
102
+ % % For cases when we do have a set of credentials. rabbit_auth_mechanism_plain:handle_response/2
103
+ % % performs initial validation.
98
104
user_login_authentication (Username , AuthProps ) ->
99
105
case lists :keyfind (password , 1 , AuthProps ) of
100
106
{password , Cleartext } ->
You can’t perform that action at this time.
0 commit comments