001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.service.http;
022:
023: import com.liferay.portal.kernel.log.Log;
024: import com.liferay.portal.kernel.log.LogFactoryUtil;
025: import com.liferay.portal.kernel.util.IntegerWrapper;
026: import com.liferay.portal.kernel.util.LongWrapper;
027: import com.liferay.portal.kernel.util.MethodWrapper;
028: import com.liferay.portal.kernel.util.NullWrapper;
029: import com.liferay.portal.security.auth.HttpPrincipal;
030: import com.liferay.portal.service.PermissionServiceUtil;
031:
032: /**
033: * <a href="PermissionServiceHttp.java.html"><b><i>View Source</i></b></a>
034: *
035: * <p>
036: * ServiceBuilder generated this class. Modifications in this class will be
037: * overwritten the next time is generated.
038: * </p>
039: *
040: * <p>
041: * This class provides a HTTP utility for the
042: * <code>com.liferay.portal.service.PermissionServiceUtil</code> service
043: * utility. The static methods of this class calls the same methods of the
044: * service utility. However, the signatures are different because it requires an
045: * additional <code>com.liferay.portal.security.auth.HttpPrincipal</code>
046: * parameter.
047: * </p>
048: *
049: * <p>
050: * The benefits of using the HTTP utility is that it is fast and allows for
051: * tunneling without the cost of serializing to text. The drawback is that it
052: * only works with Java.
053: * </p>
054: *
055: * <p>
056: * Set the property <code>tunnel.servlet.hosts.allowed</code> in
057: * portal.properties to configure security.
058: * </p>
059: *
060: * <p>
061: * The HTTP utility is only generated for remote services.
062: * </p>
063: *
064: * @author Brian Wing Shun Chan
065: *
066: * @see com.liferay.portal.security.auth.HttpPrincipal
067: * @see com.liferay.portal.service.PermissionServiceUtil
068: * @see com.liferay.portal.service.http.PermissionServiceSoap
069: *
070: */
071: public class PermissionServiceHttp {
072: public static void checkPermission(HttpPrincipal httpPrincipal,
073: long groupId, java.lang.String name,
074: java.lang.String primKey)
075: throws com.liferay.portal.SystemException,
076: com.liferay.portal.PortalException {
077: try {
078: Object paramObj0 = new LongWrapper(groupId);
079:
080: Object paramObj1 = name;
081:
082: if (name == null) {
083: paramObj1 = new NullWrapper("java.lang.String");
084: }
085:
086: Object paramObj2 = primKey;
087:
088: if (primKey == null) {
089: paramObj2 = new NullWrapper("java.lang.String");
090: }
091:
092: MethodWrapper methodWrapper = new MethodWrapper(
093: PermissionServiceUtil.class.getName(),
094: "checkPermission", new Object[] { paramObj0,
095: paramObj1, paramObj2 });
096:
097: try {
098: TunnelUtil.invoke(httpPrincipal, methodWrapper);
099: } catch (Exception e) {
100: if (e instanceof com.liferay.portal.SystemException) {
101: throw (com.liferay.portal.SystemException) e;
102: }
103:
104: if (e instanceof com.liferay.portal.PortalException) {
105: throw (com.liferay.portal.PortalException) e;
106: }
107:
108: throw new com.liferay.portal.SystemException(e);
109: }
110: } catch (com.liferay.portal.SystemException se) {
111: _log.error(se, se);
112:
113: throw se;
114: }
115: }
116:
117: public static boolean hasGroupPermission(
118: HttpPrincipal httpPrincipal, long groupId,
119: java.lang.String actionId, long resourceId)
120: throws com.liferay.portal.SystemException,
121: com.liferay.portal.PortalException {
122: try {
123: Object paramObj0 = new LongWrapper(groupId);
124:
125: Object paramObj1 = actionId;
126:
127: if (actionId == null) {
128: paramObj1 = new NullWrapper("java.lang.String");
129: }
130:
131: Object paramObj2 = new LongWrapper(resourceId);
132:
133: MethodWrapper methodWrapper = new MethodWrapper(
134: PermissionServiceUtil.class.getName(),
135: "hasGroupPermission", new Object[] { paramObj0,
136: paramObj1, paramObj2 });
137:
138: Object returnObj = null;
139:
140: try {
141: returnObj = TunnelUtil.invoke(httpPrincipal,
142: methodWrapper);
143: } catch (Exception e) {
144: if (e instanceof com.liferay.portal.SystemException) {
145: throw (com.liferay.portal.SystemException) e;
146: }
147:
148: if (e instanceof com.liferay.portal.PortalException) {
149: throw (com.liferay.portal.PortalException) e;
150: }
151:
152: throw new com.liferay.portal.SystemException(e);
153: }
154:
155: return ((Boolean) returnObj).booleanValue();
156: } catch (com.liferay.portal.SystemException se) {
157: _log.error(se, se);
158:
159: throw se;
160: }
161: }
162:
163: public static boolean hasUserPermission(
164: HttpPrincipal httpPrincipal, long userId,
165: java.lang.String actionId, long resourceId)
166: throws com.liferay.portal.SystemException,
167: com.liferay.portal.PortalException {
168: try {
169: Object paramObj0 = new LongWrapper(userId);
170:
171: Object paramObj1 = actionId;
172:
173: if (actionId == null) {
174: paramObj1 = new NullWrapper("java.lang.String");
175: }
176:
177: Object paramObj2 = new LongWrapper(resourceId);
178:
179: MethodWrapper methodWrapper = new MethodWrapper(
180: PermissionServiceUtil.class.getName(),
181: "hasUserPermission", new Object[] { paramObj0,
182: paramObj1, paramObj2 });
183:
184: Object returnObj = null;
185:
186: try {
187: returnObj = TunnelUtil.invoke(httpPrincipal,
188: methodWrapper);
189: } catch (Exception e) {
190: if (e instanceof com.liferay.portal.SystemException) {
191: throw (com.liferay.portal.SystemException) e;
192: }
193:
194: if (e instanceof com.liferay.portal.PortalException) {
195: throw (com.liferay.portal.PortalException) e;
196: }
197:
198: throw new com.liferay.portal.SystemException(e);
199: }
200:
201: return ((Boolean) returnObj).booleanValue();
202: } catch (com.liferay.portal.SystemException se) {
203: _log.error(se, se);
204:
205: throw se;
206: }
207: }
208:
209: public static boolean hasUserPermissions(
210: HttpPrincipal httpPrincipal,
211: long userId,
212: long groupId,
213: java.lang.String actionId,
214: long[] resourceIds,
215: com.liferay.portal.kernel.security.permission.PermissionCheckerBag permissionCheckerBag)
216: throws com.liferay.portal.SystemException,
217: com.liferay.portal.PortalException {
218: try {
219: Object paramObj0 = new LongWrapper(userId);
220:
221: Object paramObj1 = new LongWrapper(groupId);
222:
223: Object paramObj2 = actionId;
224:
225: if (actionId == null) {
226: paramObj2 = new NullWrapper("java.lang.String");
227: }
228:
229: Object paramObj3 = resourceIds;
230:
231: if (resourceIds == null) {
232: paramObj3 = new NullWrapper("[J");
233: }
234:
235: Object paramObj4 = permissionCheckerBag;
236:
237: if (permissionCheckerBag == null) {
238: paramObj4 = new NullWrapper(
239: "com.liferay.portal.kernel.security.permission.PermissionCheckerBag");
240: }
241:
242: MethodWrapper methodWrapper = new MethodWrapper(
243: PermissionServiceUtil.class.getName(),
244: "hasUserPermissions",
245: new Object[] { paramObj0, paramObj1, paramObj2,
246: paramObj3, paramObj4 });
247:
248: Object returnObj = null;
249:
250: try {
251: returnObj = TunnelUtil.invoke(httpPrincipal,
252: methodWrapper);
253: } catch (Exception e) {
254: if (e instanceof com.liferay.portal.SystemException) {
255: throw (com.liferay.portal.SystemException) e;
256: }
257:
258: if (e instanceof com.liferay.portal.PortalException) {
259: throw (com.liferay.portal.PortalException) e;
260: }
261:
262: throw new com.liferay.portal.SystemException(e);
263: }
264:
265: return ((Boolean) returnObj).booleanValue();
266: } catch (com.liferay.portal.SystemException se) {
267: _log.error(se, se);
268:
269: throw se;
270: }
271: }
272:
273: public static void setGroupPermissions(HttpPrincipal httpPrincipal,
274: long groupId, java.lang.String[] actionIds, long resourceId)
275: throws com.liferay.portal.SystemException,
276: com.liferay.portal.PortalException {
277: try {
278: Object paramObj0 = new LongWrapper(groupId);
279:
280: Object paramObj1 = actionIds;
281:
282: if (actionIds == null) {
283: paramObj1 = new NullWrapper("[Ljava.lang.String;");
284: }
285:
286: Object paramObj2 = new LongWrapper(resourceId);
287:
288: MethodWrapper methodWrapper = new MethodWrapper(
289: PermissionServiceUtil.class.getName(),
290: "setGroupPermissions", new Object[] { paramObj0,
291: paramObj1, paramObj2 });
292:
293: try {
294: TunnelUtil.invoke(httpPrincipal, methodWrapper);
295: } catch (Exception e) {
296: if (e instanceof com.liferay.portal.SystemException) {
297: throw (com.liferay.portal.SystemException) e;
298: }
299:
300: if (e instanceof com.liferay.portal.PortalException) {
301: throw (com.liferay.portal.PortalException) e;
302: }
303:
304: throw new com.liferay.portal.SystemException(e);
305: }
306: } catch (com.liferay.portal.SystemException se) {
307: _log.error(se, se);
308:
309: throw se;
310: }
311: }
312:
313: public static void setGroupPermissions(HttpPrincipal httpPrincipal,
314: java.lang.String className, java.lang.String classPK,
315: long groupId, java.lang.String[] actionIds, long resourceId)
316: throws com.liferay.portal.SystemException,
317: com.liferay.portal.PortalException {
318: try {
319: Object paramObj0 = className;
320:
321: if (className == null) {
322: paramObj0 = new NullWrapper("java.lang.String");
323: }
324:
325: Object paramObj1 = classPK;
326:
327: if (classPK == null) {
328: paramObj1 = new NullWrapper("java.lang.String");
329: }
330:
331: Object paramObj2 = new LongWrapper(groupId);
332:
333: Object paramObj3 = actionIds;
334:
335: if (actionIds == null) {
336: paramObj3 = new NullWrapper("[Ljava.lang.String;");
337: }
338:
339: Object paramObj4 = new LongWrapper(resourceId);
340:
341: MethodWrapper methodWrapper = new MethodWrapper(
342: PermissionServiceUtil.class.getName(),
343: "setGroupPermissions",
344: new Object[] { paramObj0, paramObj1, paramObj2,
345: paramObj3, paramObj4 });
346:
347: try {
348: TunnelUtil.invoke(httpPrincipal, methodWrapper);
349: } catch (Exception e) {
350: if (e instanceof com.liferay.portal.SystemException) {
351: throw (com.liferay.portal.SystemException) e;
352: }
353:
354: if (e instanceof com.liferay.portal.PortalException) {
355: throw (com.liferay.portal.PortalException) e;
356: }
357:
358: throw new com.liferay.portal.SystemException(e);
359: }
360: } catch (com.liferay.portal.SystemException se) {
361: _log.error(se, se);
362:
363: throw se;
364: }
365: }
366:
367: public static void setOrgGroupPermissions(
368: HttpPrincipal httpPrincipal, long organizationId,
369: long groupId, java.lang.String[] actionIds, long resourceId)
370: throws com.liferay.portal.SystemException,
371: com.liferay.portal.PortalException {
372: try {
373: Object paramObj0 = new LongWrapper(organizationId);
374:
375: Object paramObj1 = new LongWrapper(groupId);
376:
377: Object paramObj2 = actionIds;
378:
379: if (actionIds == null) {
380: paramObj2 = new NullWrapper("[Ljava.lang.String;");
381: }
382:
383: Object paramObj3 = new LongWrapper(resourceId);
384:
385: MethodWrapper methodWrapper = new MethodWrapper(
386: PermissionServiceUtil.class.getName(),
387: "setOrgGroupPermissions", new Object[] { paramObj0,
388: paramObj1, paramObj2, paramObj3 });
389:
390: try {
391: TunnelUtil.invoke(httpPrincipal, methodWrapper);
392: } catch (Exception e) {
393: if (e instanceof com.liferay.portal.SystemException) {
394: throw (com.liferay.portal.SystemException) e;
395: }
396:
397: if (e instanceof com.liferay.portal.PortalException) {
398: throw (com.liferay.portal.PortalException) e;
399: }
400:
401: throw new com.liferay.portal.SystemException(e);
402: }
403: } catch (com.liferay.portal.SystemException se) {
404: _log.error(se, se);
405:
406: throw se;
407: }
408: }
409:
410: public static void setRolePermission(HttpPrincipal httpPrincipal,
411: long roleId, long groupId, java.lang.String name,
412: int scope, java.lang.String primKey,
413: java.lang.String actionId)
414: throws com.liferay.portal.SystemException,
415: com.liferay.portal.PortalException {
416: try {
417: Object paramObj0 = new LongWrapper(roleId);
418:
419: Object paramObj1 = new LongWrapper(groupId);
420:
421: Object paramObj2 = name;
422:
423: if (name == null) {
424: paramObj2 = new NullWrapper("java.lang.String");
425: }
426:
427: Object paramObj3 = new IntegerWrapper(scope);
428:
429: Object paramObj4 = primKey;
430:
431: if (primKey == null) {
432: paramObj4 = new NullWrapper("java.lang.String");
433: }
434:
435: Object paramObj5 = actionId;
436:
437: if (actionId == null) {
438: paramObj5 = new NullWrapper("java.lang.String");
439: }
440:
441: MethodWrapper methodWrapper = new MethodWrapper(
442: PermissionServiceUtil.class.getName(),
443: "setRolePermission", new Object[] { paramObj0,
444: paramObj1, paramObj2, paramObj3, paramObj4,
445: paramObj5 });
446:
447: try {
448: TunnelUtil.invoke(httpPrincipal, methodWrapper);
449: } catch (Exception e) {
450: if (e instanceof com.liferay.portal.SystemException) {
451: throw (com.liferay.portal.SystemException) e;
452: }
453:
454: if (e instanceof com.liferay.portal.PortalException) {
455: throw (com.liferay.portal.PortalException) e;
456: }
457:
458: throw new com.liferay.portal.SystemException(e);
459: }
460: } catch (com.liferay.portal.SystemException se) {
461: _log.error(se, se);
462:
463: throw se;
464: }
465: }
466:
467: public static void setRolePermissions(HttpPrincipal httpPrincipal,
468: long roleId, long groupId, java.lang.String[] actionIds,
469: long resourceId) throws com.liferay.portal.SystemException,
470: com.liferay.portal.PortalException {
471: try {
472: Object paramObj0 = new LongWrapper(roleId);
473:
474: Object paramObj1 = new LongWrapper(groupId);
475:
476: Object paramObj2 = actionIds;
477:
478: if (actionIds == null) {
479: paramObj2 = new NullWrapper("[Ljava.lang.String;");
480: }
481:
482: Object paramObj3 = new LongWrapper(resourceId);
483:
484: MethodWrapper methodWrapper = new MethodWrapper(
485: PermissionServiceUtil.class.getName(),
486: "setRolePermissions", new Object[] { paramObj0,
487: paramObj1, paramObj2, paramObj3 });
488:
489: try {
490: TunnelUtil.invoke(httpPrincipal, methodWrapper);
491: } catch (Exception e) {
492: if (e instanceof com.liferay.portal.SystemException) {
493: throw (com.liferay.portal.SystemException) e;
494: }
495:
496: if (e instanceof com.liferay.portal.PortalException) {
497: throw (com.liferay.portal.PortalException) e;
498: }
499:
500: throw new com.liferay.portal.SystemException(e);
501: }
502: } catch (com.liferay.portal.SystemException se) {
503: _log.error(se, se);
504:
505: throw se;
506: }
507: }
508:
509: public static void setUserPermissions(HttpPrincipal httpPrincipal,
510: long userId, long groupId, java.lang.String[] actionIds,
511: long resourceId) throws com.liferay.portal.SystemException,
512: com.liferay.portal.PortalException {
513: try {
514: Object paramObj0 = new LongWrapper(userId);
515:
516: Object paramObj1 = new LongWrapper(groupId);
517:
518: Object paramObj2 = actionIds;
519:
520: if (actionIds == null) {
521: paramObj2 = new NullWrapper("[Ljava.lang.String;");
522: }
523:
524: Object paramObj3 = new LongWrapper(resourceId);
525:
526: MethodWrapper methodWrapper = new MethodWrapper(
527: PermissionServiceUtil.class.getName(),
528: "setUserPermissions", new Object[] { paramObj0,
529: paramObj1, paramObj2, paramObj3 });
530:
531: try {
532: TunnelUtil.invoke(httpPrincipal, methodWrapper);
533: } catch (Exception e) {
534: if (e instanceof com.liferay.portal.SystemException) {
535: throw (com.liferay.portal.SystemException) e;
536: }
537:
538: if (e instanceof com.liferay.portal.PortalException) {
539: throw (com.liferay.portal.PortalException) e;
540: }
541:
542: throw new com.liferay.portal.SystemException(e);
543: }
544: } catch (com.liferay.portal.SystemException se) {
545: _log.error(se, se);
546:
547: throw se;
548: }
549: }
550:
551: public static void unsetRolePermission(HttpPrincipal httpPrincipal,
552: long roleId, long groupId, long permissionId)
553: throws com.liferay.portal.SystemException,
554: com.liferay.portal.PortalException {
555: try {
556: Object paramObj0 = new LongWrapper(roleId);
557:
558: Object paramObj1 = new LongWrapper(groupId);
559:
560: Object paramObj2 = new LongWrapper(permissionId);
561:
562: MethodWrapper methodWrapper = new MethodWrapper(
563: PermissionServiceUtil.class.getName(),
564: "unsetRolePermission", new Object[] { paramObj0,
565: paramObj1, paramObj2 });
566:
567: try {
568: TunnelUtil.invoke(httpPrincipal, methodWrapper);
569: } catch (Exception e) {
570: if (e instanceof com.liferay.portal.SystemException) {
571: throw (com.liferay.portal.SystemException) e;
572: }
573:
574: if (e instanceof com.liferay.portal.PortalException) {
575: throw (com.liferay.portal.PortalException) e;
576: }
577:
578: throw new com.liferay.portal.SystemException(e);
579: }
580: } catch (com.liferay.portal.SystemException se) {
581: _log.error(se, se);
582:
583: throw se;
584: }
585: }
586:
587: public static void unsetRolePermission(HttpPrincipal httpPrincipal,
588: long roleId, long groupId, java.lang.String name,
589: int scope, java.lang.String primKey,
590: java.lang.String actionId)
591: throws com.liferay.portal.SystemException,
592: com.liferay.portal.PortalException {
593: try {
594: Object paramObj0 = new LongWrapper(roleId);
595:
596: Object paramObj1 = new LongWrapper(groupId);
597:
598: Object paramObj2 = name;
599:
600: if (name == null) {
601: paramObj2 = new NullWrapper("java.lang.String");
602: }
603:
604: Object paramObj3 = new IntegerWrapper(scope);
605:
606: Object paramObj4 = primKey;
607:
608: if (primKey == null) {
609: paramObj4 = new NullWrapper("java.lang.String");
610: }
611:
612: Object paramObj5 = actionId;
613:
614: if (actionId == null) {
615: paramObj5 = new NullWrapper("java.lang.String");
616: }
617:
618: MethodWrapper methodWrapper = new MethodWrapper(
619: PermissionServiceUtil.class.getName(),
620: "unsetRolePermission", new Object[] { paramObj0,
621: paramObj1, paramObj2, paramObj3, paramObj4,
622: paramObj5 });
623:
624: try {
625: TunnelUtil.invoke(httpPrincipal, methodWrapper);
626: } catch (Exception e) {
627: if (e instanceof com.liferay.portal.SystemException) {
628: throw (com.liferay.portal.SystemException) e;
629: }
630:
631: if (e instanceof com.liferay.portal.PortalException) {
632: throw (com.liferay.portal.PortalException) e;
633: }
634:
635: throw new com.liferay.portal.SystemException(e);
636: }
637: } catch (com.liferay.portal.SystemException se) {
638: _log.error(se, se);
639:
640: throw se;
641: }
642: }
643:
644: public static void unsetRolePermissions(
645: HttpPrincipal httpPrincipal, long roleId, long groupId,
646: java.lang.String name, int scope, java.lang.String actionId)
647: throws com.liferay.portal.SystemException,
648: com.liferay.portal.PortalException {
649: try {
650: Object paramObj0 = new LongWrapper(roleId);
651:
652: Object paramObj1 = new LongWrapper(groupId);
653:
654: Object paramObj2 = name;
655:
656: if (name == null) {
657: paramObj2 = new NullWrapper("java.lang.String");
658: }
659:
660: Object paramObj3 = new IntegerWrapper(scope);
661:
662: Object paramObj4 = actionId;
663:
664: if (actionId == null) {
665: paramObj4 = new NullWrapper("java.lang.String");
666: }
667:
668: MethodWrapper methodWrapper = new MethodWrapper(
669: PermissionServiceUtil.class.getName(),
670: "unsetRolePermissions",
671: new Object[] { paramObj0, paramObj1, paramObj2,
672: paramObj3, paramObj4 });
673:
674: try {
675: TunnelUtil.invoke(httpPrincipal, methodWrapper);
676: } catch (Exception e) {
677: if (e instanceof com.liferay.portal.SystemException) {
678: throw (com.liferay.portal.SystemException) e;
679: }
680:
681: if (e instanceof com.liferay.portal.PortalException) {
682: throw (com.liferay.portal.PortalException) e;
683: }
684:
685: throw new com.liferay.portal.SystemException(e);
686: }
687: } catch (com.liferay.portal.SystemException se) {
688: _log.error(se, se);
689:
690: throw se;
691: }
692: }
693:
694: public static void unsetUserPermissions(
695: HttpPrincipal httpPrincipal, long userId, long groupId,
696: java.lang.String[] actionIds, long resourceId)
697: throws com.liferay.portal.SystemException,
698: com.liferay.portal.PortalException {
699: try {
700: Object paramObj0 = new LongWrapper(userId);
701:
702: Object paramObj1 = new LongWrapper(groupId);
703:
704: Object paramObj2 = actionIds;
705:
706: if (actionIds == null) {
707: paramObj2 = new NullWrapper("[Ljava.lang.String;");
708: }
709:
710: Object paramObj3 = new LongWrapper(resourceId);
711:
712: MethodWrapper methodWrapper = new MethodWrapper(
713: PermissionServiceUtil.class.getName(),
714: "unsetUserPermissions", new Object[] { paramObj0,
715: paramObj1, paramObj2, paramObj3 });
716:
717: try {
718: TunnelUtil.invoke(httpPrincipal, methodWrapper);
719: } catch (Exception e) {
720: if (e instanceof com.liferay.portal.SystemException) {
721: throw (com.liferay.portal.SystemException) e;
722: }
723:
724: if (e instanceof com.liferay.portal.PortalException) {
725: throw (com.liferay.portal.PortalException) e;
726: }
727:
728: throw new com.liferay.portal.SystemException(e);
729: }
730: } catch (com.liferay.portal.SystemException se) {
731: _log.error(se, se);
732:
733: throw se;
734: }
735: }
736:
737: private static Log _log = LogFactoryUtil
738: .getLog(PermissionServiceHttp.class);
739: }
|