|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="4.1", sinceVersion="4.0") public interface IServiceInstanceAclManager
Public Interface to Service Instance ACL Management
Field Summary | |
---|---|
static int |
PERMISSION_DEFAULT
|
Method Summary | |
---|---|
String |
add(SessionConfig sessionConfig,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Add an Access Control List to the Service Instance. |
void |
checkRequiredPermissions(AccessControlList acl)
Checks if the required permissions were given for someone. |
void |
clearCache(SessionConfig sessionConfig,
String serviceInstanceId,
ITransaction transaction)
Reloads the ACL associated with the given serviceInstanceId. |
AccessControlList |
get(SessionConfig sessionConfig,
String serviceInstanceId,
ITransaction transaction)
Get the Service Instance's Access Control List. |
ServiceInstancePermissions |
getPermissions(SessionConfig sessionConfig,
String serviceId,
ITransaction transaction)
|
void |
update(SessionConfig sessionConfig,
String serviceInstanceId,
AccessControlList acl,
ITransaction transaction)
Update the Service Instance'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 |
---|
static final int PERMISSION_DEFAULT
Method Detail |
---|
String add(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceConfig
- transaction
-
ManagerException
PortalException
AccessControlList get(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceId
- transaction
-
ManagerException
PortalException
void update(SessionConfig sessionConfig, String serviceInstanceId, AccessControlList acl, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceId
- acl
- transaction
-
ManagerException
PortalException
void clearCache(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceInstanceId
- acl
- transaction
-
ManagerException
PortalException
ServiceInstancePermissions getPermissions(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
sessionConfig
- serviceId
- transaction
-
ManagerException
PortalException
void checkRequiredPermissions(AccessControlList acl) throws PortalException
acl
- the acl to be checked.
PortalException
- if the required permissions were not given.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |