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, toStringpublic int allowsAccess(SrvSession sess, SharedDevice share, AccessControlManager mgr)
allowsAccess in class AccessControlsess - SrvSessionshare - SharedDevicemgr - AccessControlManagerCopyright © 2005–2020 Alfresco Software. All rights reserved.