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 fileSMBSrvExceptionSecurityDescriptor loadSecurityDescriptor(SrvSession sess, TreeConnection tree, NetworkFile netFile) throws SMBSrvException
sess - Server sessiontree - Tree connectionnetFile - Network fileSMBSrvExceptionvoid saveSecurityDescriptor(SrvSession sess, TreeConnection tree, NetworkFile netFile, SecurityDescriptor secDesc) throws SMBSrvException
sess - Server sessiontree - Tree connectionnetFile - Network filesecDesc - Security descriptorSMBSrvExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.