Package lumis.portal.service.acl
Interface IServiceAclManager
-
- All Superinterfaces:
IAclManager
,IConfigKeyChecker
- All Known Implementing Classes:
ServiceAclManager
@StableMinor(version="16.1", sinceVersion="4.0") public interface IServiceAclManager extends IAclManager
- Since:
- 4.0.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
Field Summary
Fields Modifier and Type Field Description static int
PERMISSION_DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
add(SessionConfig sessionConfig, ServiceConfig serviceConfig, ITransaction transaction)
Add an Access Control List to the Service.AccessControlList
get(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction)
Get the Service's Access Control List.void
update(SessionConfig sessionConfig, java.lang.String serviceId, AccessControlList acl, ITransaction transaction)
Update the Service's ACL.-
Methods inherited from interface lumis.util.security.acl.IAclManager
add, addOrUpdate, checkPermission, checkPermission, clearCache, delete, deleteAclEntryByPrincipalId, deserialize, exists, removeFromCache, serialize
-
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
-
-
-
-
Field Detail
-
PERMISSION_DEFAULT
static final int PERMISSION_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
add
java.lang.String add(SessionConfig sessionConfig, ServiceConfig serviceConfig, ITransaction transaction) throws ManagerException, PortalException
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.- Parameters:
sessionConfig
-serviceConfig
-transaction
-- Throws:
ManagerException
PortalException
-
get
AccessControlList get(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction) throws ManagerException, PortalException
Get the Service's Access Control List. To access this method, the user needs the PERMISSION_TYPE_VIEW_SERVICE permission in the serice.- Parameters:
sessionConfig
-serviceId
-transaction
-- Returns:
- a AccessControlList.
- Throws:
ManagerException
PortalException
-
update
void update(SessionConfig sessionConfig, java.lang.String serviceId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
Update the Service's ACL. To access this method, the user needs the PERMISSION_TYPE_MANAGE_SERVICE_SECURITY permission in the service.- Parameters:
sessionConfig
-serviceId
-acl
-transaction
-- Throws:
ManagerException
PortalException
-
-