public interface SecurityDescriptorInterface
Optional interface that a DiskInterface driver can implement loading and saving of per file security descriptors.
Modifier and Type | Method and Description |
---|---|
int |
getSecurityDescriptorLength(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Return the security descriptor length for the specified file
|
SecurityDescriptor |
loadSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile)
Load a security descriptor for the specified file
|
void |
saveSecurityDescriptor(SrvSession sess,
TreeConnection tree,
NetworkFile netFile,
SecurityDescriptor secDesc)
Save the security descriptor for the specified file
|
int getSecurityDescriptorLength(SrvSession sess, TreeConnection tree, NetworkFile netFile) throws SMBSrvException
sess
- Server sessiontree
- Tree connectionnetFile
- Network fileSMBSrvException
SecurityDescriptor loadSecurityDescriptor(SrvSession sess, TreeConnection tree, NetworkFile netFile) throws SMBSrvException
sess
- Server sessiontree
- Tree connectionnetFile
- Network fileSMBSrvException
void saveSecurityDescriptor(SrvSession sess, TreeConnection tree, NetworkFile netFile, SecurityDescriptor secDesc) throws SMBSrvException
sess
- Server sessiontree
- Tree connectionnetFile
- Network filesecDesc
- Security descriptorSMBSrvException
Copyright © 2005–2018 Alfresco Software. All rights reserved.