1 17 package org.alfresco.filesys.server.auth.acl; 18 19 import org.alfresco.config.ConfigElement; 20 import org.alfresco.filesys.server.SrvSession; 21 import org.alfresco.filesys.server.config.ServerConfiguration; 22 import org.alfresco.filesys.server.core.SharedDevice; 23 import org.alfresco.filesys.server.core.SharedDeviceList; 24 25 32 public interface AccessControlManager 33 { 34 35 41 public void initialize(ServerConfiguration config, ConfigElement params); 42 43 50 public int checkAccessControl(SrvSession sess, SharedDevice share); 51 52 60 public SharedDeviceList filterShareList(SrvSession sess, SharedDeviceList shares); 61 62 71 public AccessControl createAccessControl(String type, ConfigElement params) throws ACLParseException, 72 InvalidACLTypeException; 73 74 79 public void addAccessControlType(AccessControlParser parser); 80 } 81 | Popular Tags |