public interface AccessManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteAces(String resourcePath,
List<String> users)
Delete old Aces
|
Map<String,List<String>> |
getEACL(String absPath)
Get the permissions which are effective for a particular node.
|
boolean |
setAdminACL(List<String> users,
String absPath)
All privileges.
|
boolean |
setReadOnlyACL(List<String> users,
String absPath)
Allow users to only read files.
|
boolean |
setWriteAllACL(List<String> users,
String absPath)
Allow users to create, edit and delete files of everyone in the share.
|
boolean |
setWriteOwnerACL(List<String> users,
String absPath)
Allow users to create, edit and delete files of everyone in the share.
|
Map<String,List<String>> getEACL(String absPath) throws InternalErrorException
absPath - InternalErrorExceptionboolean setReadOnlyACL(List<String> users, String absPath) throws InternalErrorException
users - absPath - InternalErrorExceptionboolean setWriteOwnerACL(List<String> users, String absPath) throws InternalErrorException
users - absPath - InternalErrorExceptionboolean setWriteAllACL(List<String> users, String absPath) throws InternalErrorException
users - absPath - InternalErrorExceptionboolean setAdminACL(List<String> users, String absPath) throws InternalErrorException
users - absPath - InternalErrorExceptionboolean deleteAces(String resourcePath, List<String> users) throws InternalErrorException
resourcePath - principalNamesToDelete - InternalErrorExceptionPathNotFoundExceptionCopyright © 2020. All Rights Reserved.