Modifier and Type | Method and Description |
---|---|
protected TreeConnection |
FTPSrvSession.getTreeConnection(SharedDevice share)
Get a tree connection for the specified shared device.
|
Modifier and Type | Method and Description |
---|---|
SharedDevice |
HomeShareMapper.findShare(String host,
String name,
int typ,
SrvSession sess,
boolean create)
Find a share using the name and type for the specified client.
|
Modifier and Type | Method and Description |
---|---|
SharedDevice |
NetworkServer.findShare(String host,
String name,
int typ,
SrvSession sess,
boolean create)
Find the shared device with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
SrvSession.addDynamicShare(SharedDevice shrDev)
Add a dynamic share to the list of shares created for this session
|
Modifier and Type | Method and Description |
---|---|
int |
DefaultAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String pwd,
SrvSession sess)
Allow any user to access the server
|
int |
ICifsAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess)
Authenticate a connection to a share.
|
int |
CifsAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess) |
int |
LocalAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String pwd,
SrvSession sess)
Authenticate the connection to a share
|
Modifier and Type | Method and Description |
---|---|
int |
UserAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the user name matches the access control user name and return the allowed access.
|
int |
ProtocolAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the protocol matches the access control protocol list and return the allowed access.
|
int |
UidAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the session is an RPC session (NFS/mount) and the client has the required Unix user id.
|
int |
DomainAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the domain name matches the access control domain name and return the allowed access.
|
int |
IpAddressAccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the TCP/IP address matches the specifed address or is within the subnet.
|
abstract int |
AccessControl.allowsAccess(SrvSession sess,
SharedDevice share,
AccessControlManager mgr)
Check if the specified session has access to the shared device.
|
int |
GidAccessControl.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.
|
int |
DefaultAccessControlManager.checkAccessControl(SrvSession sess,
SharedDevice share)
Check if the session has access to the shared device.
|
int |
AccessControlManager.checkAccessControl(SrvSession sess,
SharedDevice share)
Check access to the shared filesystem for the specified session
|
Modifier and Type | Method and Description |
---|---|
int |
PassthruAuthenticator.authenticateShareConnect(ClientInfo client,
SharedDevice share,
String sharePwd,
SrvSession sess)
Authenticate the connection to a particular share, called when the SMB server is in share
security mode
|
Modifier and Type | Method and Description |
---|---|
SharedDevice |
SharedDeviceList.deleteShare(String name)
Delete the specified shared device from the list.
|
SharedDevice |
SharedDeviceList.findShare(String name)
Find the shared device with the specified name.
|
SharedDevice |
SharedDeviceList.findShare(String name,
int typ,
boolean nocase)
Find the shared device with the specified name and type
|
SharedDevice |
ShareMapper.findShare(String tohost,
String name,
int typ,
SrvSession sess,
boolean create)
Find the share of the specified name/type
|
Modifier and Type | Method and Description |
---|---|
Enumeration<SharedDevice> |
SharedDeviceList.enumerateShares()
Return an enumeration to allow the shared devices to be listed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SharedDeviceList.addShare(SharedDevice shr)
Add a shared device to the list.
|
int |
SharedDevice.compareTo(SharedDevice sd)
Compare this shared device to another shared device using the device name
|
Modifier and Type | Class and Description |
---|---|
class |
DiskSharedDevice
A disk shared device has a name, a driver class and a context for the driver.
|
Modifier and Type | Method and Description |
---|---|
SharedDevice |
DefaultShareMapper.findShare(String host,
String name,
int typ,
SrvSession sess,
boolean create)
Find a share using the name and type for the specified client.
|
SharedDevice |
TreeConnection.getSharedDevice()
Return the shared device that this tree connection is using.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FilesystemsConfigSection.addShare(SharedDevice shr)
Add a shared device to the server configuration.
|
Constructor and Description |
---|
TreeConnection(SharedDevice shrDev)
Construct a tree connection using the specified shared device.
|
Modifier and Type | Method and Description |
---|---|
int |
VirtualCircuit.addConnection(SharedDevice shrDev)
Add a new connection to this virtual circuit.
|
protected void |
SMBServer.checkReadOnly(SharedDevice shr)
Check if the disk share is read-only.
|
Copyright © 2005–2018 Alfresco Software. All rights reserved.