HUE-8489 [core] USER_LOGIN is not audited for SPNEGO authentication

Review Request #13247 - Created Aug. 2, 2018 and submitted

Jean-Francois Desjeans Gauthier
hue
master
HUE-8489
hue
jgauthier
commit 42975cf2f71d0409a1fda2fa267f9ca7cbdf5c04
Author: jdesjean <jgauthier@cloudera.com>
Date:   Thu Aug 2 11:29:03 2018 -0700

    HUE-8489 [core] USER_LOGIN is not audited for SPNEGO authentication

:100644 100644 f816d8b43c... ecd29d75d8... M	desktop/core/src/desktop/auth/views.py


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. 
      
  2. desktop/core/src/desktop/auth/views.py (Diff revision 1)
     
     
     
     
     
     
     
     

    nit:
    Wondering if bit cleaner to move up above 'if request.method == 'POST':' on line 107 and merge with line 109-112?

    1. Moved it to middleware, because it didn't make sense in dt_login. We only know if somebody has successfully/uncessfully logged in the middleware.

  3. 
      
  1. Ship It!
  2. 
      
Review request changed

Status: Closed (submitted)

Loading...