public interface AccessControlManager
Used to control access to shared filesystems.
Modifier and Type | Method and Description |
---|---|
void |
addAccessControlType(AccessControlParser parser)
Add an access control parser to the list of available access control types.
|
int |
checkAccessControl(SrvSession sess,
SharedDevice share)
Check access to the shared filesystem for the specified session
|
AccessControl |
createAccessControl(String type,
org.springframework.extensions.config.ConfigElement params)
Create an access control
|
SharedDeviceList |
filterShareList(SrvSession sess,
SharedDeviceList shares)
Filter a shared device list to remove shares that are not visible or the session does
not have access to.
|
void |
initialize(ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the access control manager
|
void initialize(ServerConfiguration config, org.springframework.extensions.config.ConfigElement params) throws InvalidConfigurationException
config
- ServerConfigurationparams
- ConfigElementInvalidConfigurationException
int checkAccessControl(SrvSession sess, SharedDevice share)
sess
- SrvSessionshare
- SharedDeviceSharedDeviceList filterShareList(SrvSession sess, SharedDeviceList shares)
sess
- SrvSessionshares
- SharedDeviceListAccessControl createAccessControl(String type, org.springframework.extensions.config.ConfigElement params) throws ACLParseException, InvalidACLTypeException
type
- Stringparams
- ConfigElementACLParseException
InvalidACLTypeException
void addAccessControlType(AccessControlParser parser)
parser
- AccessControlParserCopyright © 2005–2018 Alfresco Software. All rights reserved.