org.esupportail.portal.channels.CStockage.channelAction.injac.acl
Class InjacAclManager
java.lang.Object
org.esupportail.portal.channels.CStockage.channelAction.injac.acl.InjacAclManager
- public class InjacAclManager
- extends java.lang.Object
Id: InjacAclManager.java,v 1.0 10 nov. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: InjacAclManager
Original Author: Yohan Colmant
Use to manage the acl used in injac
Field Summary |
protected static Log |
log
Logger object |
Method Summary |
static boolean |
getReadersAclOnSpace(ServerAccess access,
java.lang.String path,
org.esupportail.portal.utils.webdav.acl.EsupPermissions permissions,
java.util.Vector users,
java.util.Vector groups,
java.lang.String userPrefix,
java.lang.String groupPrefix)
Return the ACL for reading on a space |
static void |
setReadersAclOnSpace(Space currentSpace,
java.lang.String path,
InjacSpaceManagementProperties smp)
Set the acl for reading set by manager on a space |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Log log
- Logger object
InjacAclManager
public InjacAclManager()
setReadersAclOnSpace
public static void setReadersAclOnSpace(Space currentSpace,
java.lang.String path,
InjacSpaceManagementProperties smp)
throws ServerException,
ApplicationException,
AclReadException,
AclAccessException,
AclWriteException,
NotSupportedAclException
- Set the acl for reading set by manager on a space
- Parameters:
currentSpace
- the current space usedpath
- the resource pathsmp
- object containing all properties
- Throws:
ServerException
ApplicationException
AclReadException
AclAccessException
AclWriteException
NotSupportedAclException
getReadersAclOnSpace
public static boolean getReadersAclOnSpace(ServerAccess access,
java.lang.String path,
org.esupportail.portal.utils.webdav.acl.EsupPermissions permissions,
java.util.Vector users,
java.util.Vector groups,
java.lang.String userPrefix,
java.lang.String groupPrefix)
throws AclAccessException,
AclReadException,
NotSupportedAclException,
PropertiesException
- Return the ACL for reading on a space
- Parameters:
access
- the server access objectpath
- the resource pathpermissions
- the permissions listusers
- the usersgroups
- the groupsuserPrefix
- the acl user prefixgroupPrefix
- the acl group prefix
- Returns:
- true if public, false if not public
- Throws:
AclAccessException
AclReadException
NotSupportedAclException
PropertiesException