public class IpAddressAccessControl extends AccessControl
Allow/disallow access by checking for a particular TCP/IP address or checking that the address is within a specified subnet.
Constructor and Description |
---|
IpAddressAccessControl(String address,
String mask,
String type,
int access)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the TCP/IP address matches the specifed address or is within the subnet.
|
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.