lumis.portal.service.acl
Class ServiceAclManager
java.lang.Object
lumis.util.security.acl.AclManager
lumis.portal.service.acl.ServiceAclManager
- All Implemented Interfaces:
- IConfigKeyChecker, IServiceAclManager, IAclManager
public class ServiceAclManager
- extends AclManager
- implements IServiceAclManager
- Since:
- 4.0.0
Methods inherited from class lumis.util.security.acl.AclManager |
add, add, addOrUpdate, checkPermission, checkPermission, checkRequiredPermissionsInternal, cleanupInvalidData, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, keyExists, removeFromCache, serialize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface lumis.util.security.acl.IAclManager |
add, addOrUpdate, checkPermission, checkPermission, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, removeFromCache, serialize |
ServiceAclManager
public ServiceAclManager()
add
public String add(SessionConfig sessionConfig,
ServiceConfig serviceConfig,
ITransaction transaction)
throws ManagerException,
PortalException
- Description copied from interface:
IServiceAclManager
- Add an Access Control List to the Service. To access this method, the
user needs the PERMISSION_TYPE_MANAGE_SERVICE_SECURITY permission in the
service.
- Specified by:
add
in interface IServiceAclManager
- Throws:
ManagerException
PortalException
get
public AccessControlList get(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
throws ManagerException,
PortalException
- Description copied from interface:
IServiceAclManager
- Get the Service's Access Control List. To access this method, the user
needs the PERMISSION_TYPE_VIEW_SERVICE permission in the serice.
- Specified by:
get
in interface IServiceAclManager
- Specified by:
get
in class AclManager
- Returns:
- a AccessControlList.
- Throws:
ManagerException
PortalException
update
public void update(SessionConfig sessionConfig,
String serviceId,
AccessControlList acl,
ITransaction transaction)
throws ManagerException,
PortalException
- Description copied from interface:
IServiceAclManager
- Update the Service's ACL. To access this method, the user needs the
PERMISSION_TYPE_MANAGE_SERVICE_SECURITY permission in the service.
- Specified by:
update
in interface IServiceAclManager
- Throws:
ManagerException
PortalException
getAclInternal
protected AccessControlList getAclInternal(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
throws ManagerException,
PortalException
- Specified by:
getAclInternal
in class AclManager
- Throws:
ManagerException
PortalException
getRequiredPermissions
protected int getRequiredPermissions()
throws PortalException
- Specified by:
getRequiredPermissions
in class AclManager
- Throws:
PortalException
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.