Author: tyrell
Date: Mon Jan 28 23:58:35 2008
New Revision: 13107

Log:

Changing string comparison method.

Modified:
   trunk/mashup/java/modules/www/editor.jsp

Modified: trunk/mashup/java/modules/www/editor.jsp
==============================================================================
--- trunk/mashup/java/modules/www/editor.jsp    (original)
+++ trunk/mashup/java/modules/www/editor.jsp    Mon Jan 28 23:58:35 2008
@@ -74,7 +74,7 @@
             mashupName = pathContents[3];
         }
 
-        if (!((author.equalsIgnoreCase(currentUser) || 
RegistryUtils.isAdminRole(registry)))) {
+        if (!((author.equals(currentUser) || 
RegistryUtils.isAdminRole(registry)))) {
             throw new MashupUiFault(
                     "Mashup Editor validation failure. You are not authorized 
to perform this operation.");
         }

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to