lumis.portal.service.acl
Class ServiceAclManager

Package class diagram package ServiceAclManager
java.lang.Object
  extended by lumis.util.security.acl.AclManager
      extended by lumis.portal.service.acl.ServiceAclManager
All Implemented Interfaces:
IConfigKeyChecker, IServiceAclManager, IAclManager

public class ServiceAclManager
extends AclManager
implements IServiceAclManager


Field Summary
 
Fields inherited from class lumis.util.security.acl.AclManager
aclCache
 
Fields inherited from interface lumis.portal.service.acl.IServiceAclManager
PERMISSION_DEFAULT
 
Constructor Summary
ServiceAclManager()
           
 
Method Summary
 String add(SessionConfig sessionConfig, ServiceConfig serviceConfig, ITransaction transaction)
          Add an Access Control List to the Service.
 AccessControlList get(SessionConfig sessionConfig, String serviceId, ITransaction transaction)
          Get the Service's Access Control List.
protected  AccessControlList getAclInternal(SessionConfig sessionConfig, String serviceId, ITransaction transaction)
           
protected  int getRequiredPermissions()
           
 void update(SessionConfig sessionConfig, String serviceId, AccessControlList acl, ITransaction transaction)
          Update the Service's ACL.
 
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
 
Methods inherited from interface lumis.portal.serialization.operation.IConfigKeyChecker
keyExists
 

Constructor Detail

ServiceAclManager

public ServiceAclManager()
Method Detail

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  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.