ASF Bugzilla – Attachment 19903 Details for
Bug 42037
User principal not always set correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patches Request.java fixing user principal bug
catalina_request.patch (text/plain), 854 bytes, created by
Allan Schweitz
on 2007-04-03 13:24:15 UTC
(
hide
)
Description:
Patches Request.java fixing user principal bug
Filename:
MIME Type:
Creator:
Allan Schweitz
Created:
2007-04-03 13:24:15 UTC
Size:
854 bytes
patch
obsolete
>Index: /home/allans/Development/tomcat/catalina/src/share/org/apache/catalina/connector/Request.java >=================================================================== >--- /home/allans/Development/tomcat/catalina/src/share/org/apache/catalina/connector/Request.java (revision 525259) >+++ /home/allans/Development/tomcat/catalina/src/share/org/apache/catalina/connector/Request.java (working copy) >@@ -1711,9 +1711,7 @@ > } else if (session != null && > session.getAttribute(Globals.SUBJECT_ATTR) == null) { > subject = new Subject(); >- subject.getPrincipals().add(principal); >- } >- if (session != null){ >+ subject.getPrincipals().add(principal); > session.setAttribute(Globals.SUBJECT_ATTR, subject); > } > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42037
: 19903