public class DomainAccessControl extends AccessControl
Allow/disallow access based on the SMB/CIFS session callers domain name.
Constructor and Description |
---|
DomainAccessControl(String domainName,
String type,
int access)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the domain name matches the access control domain name and return the allowed access.
|
asAccessString, getAccess, getAccessString, getName, getType, indexFromList, listFromString, setName, setType, toString
public int allowsAccess(SrvSession sess, SharedDevice share, AccessControlManager mgr)
allowsAccess
in class AccessControl
sess
- SrvSessionshare
- SharedDevicemgr
- AccessControlManagerCopyright © 2005–2018 Alfresco Software. All rights reserved.