You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2011/03/04 05:10:31 UTC

svn commit: r1077393 - /hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/authorize/ProxyUsers.java

Author: omalley
Date: Fri Mar  4 04:10:31 2011
New Revision: 1077393

URL: http://svn.apache.org/viewvc?rev=1077393&view=rev
Log:
commit fae96da7dc5df38bbd5af5f58e01b6b9d236e2ff
Author: Boris Shkolnik <borya@answerany-lm.(none)>
Date:   Thu Apr 15 16:42:27 2010 -0700

    HDFS:1096 from https://issues.apache.org/jira/secure/attachment/12441888/HDFS-1096-BP20-6-fix.patch
    
    +++ b/YAHOO-CHANGES.txt
    +    HDFS-1096. Fix for prev patch. (boryas)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/authorize/ProxyUsers.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/authorize/ProxyUsers.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/authorize/ProxyUsers.java?rev=1077393&r1=1077392&r2=1077393&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/authorize/ProxyUsers.java (original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/core/org/apache/hadoop/security/authorize/ProxyUsers.java Fri Mar  4 04:10:31 2011
@@ -96,7 +96,7 @@ public class ProxyUsers {
    * @param newConf configuration
    * @throws AuthorizationException
    */
-  public static void authorize(UserGroupInformation user, String remoteAddress,
+  public static synchronized void authorize(UserGroupInformation user, String remoteAddress,
       Configuration newConf) throws AuthorizationException {
     
     if(conf == null) {