public class GidAccessControl extends AccessControl
Allow/disallow access to a shared device by checking the Unix group ids of the client.
Constructor and Description |
---|
GidAccessControl(String gidStr,
int gid,
String type,
int access)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the session is an RPC session (NFS/mount) and the client is a member of the required
group.
|
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–2017 Alfresco Software. All rights reserved.