Interface PermissionService

All Superinterfaces:
BaseService
All Known Implementing Classes:
PermissionServiceWrapper

Provides the remote service interface for Permission. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkPermission(long groupId, String name, long primKey)
    Checks to see if the group has permission to the service.
    void
    checkPermission(long groupId, String name, String primKey)
    Checks to see if the group has permission to the service.
    Returns the OSGi service identifier.
  • Method Details

    • checkPermission

      @JSONWebService(mode=IGNORE) @Transactional(readOnly=true) void checkPermission(long groupId, String name, long primKey) throws PortalException
      Checks to see if the group has permission to the service.
      Parameters:
      groupId - the primary key of the group
      name - the service name
      primKey - the primary key of the service
      Throws:
      PortalException
    • checkPermission

      @Transactional(readOnly=true) void checkPermission(long groupId, String name, String primKey) throws PortalException
      Checks to see if the group has permission to the service.
      Parameters:
      groupId - the primary key of the group
      name - the service name
      primKey - the primary key of the service
      Throws:
      PortalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier