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 @@ -98,8 +98,14 @@ hashing_module_for_user(#internal_user{
9898 hashing_algorithm = ModOrUndefined }) ->
9999 rabbit_password :hashing_mod (ModOrUndefined ).
100100
101+ % % For cases when we do not have a set of credentials,
102+ % % namely when x509 (TLS) certificates are used. This should only be
103+ % % possible when the EXTERNAL authentication mechanism is used, see
104+ % % rabbit_auth_mechanism_plain:handle_response/2 and rabbit_reader:auth_phase/2.
101105user_login_authentication (Username , []) ->
102106 internal_check_user_login (Username , fun (_ ) -> true end );
107+ % % For cases when we do have a set of credentials. rabbit_auth_mechanism_plain:handle_response/2
108+ % % performs initial validation.
103109user_login_authentication (Username , AuthProps ) ->
104110 case lists :keyfind (password , 1 , AuthProps ) of
105111 {password , Cleartext } ->
You can’t perform that action at this time.
0 commit comments