Author: keith
Date: Tue Jan 15 22:26:52 2008
New Revision: 12308
Log:
Fixing logic error
Modified:
trunk/mashup/java/modules/admin/module/src/org/wso2/mashup/admin/handler/AuthenticationHandler.java
Modified:
trunk/mashup/java/modules/admin/module/src/org/wso2/mashup/admin/handler/AuthenticationHandler.java
==============================================================================
---
trunk/mashup/java/modules/admin/module/src/org/wso2/mashup/admin/handler/AuthenticationHandler.java
(original)
+++
trunk/mashup/java/modules/admin/module/src/org/wso2/mashup/admin/handler/AuthenticationHandler.java
Tue Jan 15 22:26:52 2008
@@ -72,7 +72,7 @@
// We need to authenticate this call only if its calling the
MashupAdminService.
// We do not need to authenticate calls to the login and logout
operations.
return (MashupConstants.MASHUP_ADMIN_SERVICEGROUP.equals(groupName))&&
- MashupConstants.MASHUP_LOGIN_SERVICEUT.equals(serviceName) ||
- MashupConstants.MASHUP_LOGIN_SERVICEIC.equals(serviceName);
+ !(MashupConstants.MASHUP_LOGIN_SERVICEUT.equals(serviceName) ||
+ MashupConstants.MASHUP_LOGIN_SERVICEIC.equals(serviceName));
}
}
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev