ASF Bugzilla – Attachment 31620 Details for
Bug 56523
SPNEGO auth failures are leading to stack trace prints of PrivilegedActionExceptions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
GNU Unified diff format of proposed fix
SpnegoAuthenticatorChange.txt (text/plain), 697 bytes, created by
Arunav Sanyal
on 2014-05-14 09:54:30 UTC
(
hide
)
Description:
GNU Unified diff format of proposed fix
Filename:
MIME Type:
Creator:
Arunav Sanyal
Created:
2014-05-14 09:54:30 UTC
Size:
697 bytes
patch
obsolete
>--- SpnegoAuthenticator.java 2014-05-14 15:20:55.235846700 +0530 >+++ SpnegoAuthenticatorNew.java 2014-05-14 15:22:03.715694000 +0530 >@@ -262,7 +262,9 @@ > response.sendError(HttpServletResponse.SC_UNAUTHORIZED); > return false; > } catch (PrivilegedActionException e) { >- log.error(sm.getString("spnegoAuthenticator.serviceLoginFail"), e); >+ if (log.isDebugEnabled()) { >+ log.debug(sm.getString("spnegoAuthenticator.serviceLoginFail"), e); >+ } > response.setHeader("WWW-Authenticate", "Negotiate"); > response.sendError(HttpServletResponse.SC_UNAUTHORIZED); > return false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 56523
: 31620