Author: pnguyen
Date: 2009-11-13 10:33:48 -0800 (Fri, 13 Nov 2009)
New Revision: 13942
URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=13942
Modified:
branches/HQ_4_2/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java
Log:
[HHQ-3473] Use service prototype instead of service
Modified: branches/HQ_4_2/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java
===================================================================
--- branches/HQ_4_2/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java 2009-11-13 18:31:35 UTC (rev 13941)
+++ branches/HQ_4_2/src/org/hyperic/hq/authz/server/session/ResourceGroupDAO.java 2009-11-13 18:33:48 UTC (rev 13942)
@@ -436,7 +436,7 @@
Integer protoType = prototype.getResourceType().getId();
if (protoType.equals(AuthzConstants.authzPlatformProto) ||
protoType.equals(AuthzConstants.authzServerProto) ||
- protoType.equals(AuthzConstants.authzService)) {
+ protoType.equals(AuthzConstants.authzServiceProto)) {
hql += " or g.groupType = " +
AppdefEntityConstants.APPDEF_TYPE_GROUP_ADHOC_PSS;
} else if (protoType.equals(AuthzConstants.authzApplicationProto)) {
|