Package com.logicaldoc.core.security
Interface Secure<T extends AccessControlEntry>
- Type Parameters:
T
- The exact type orAccessControlEntry
- All Superinterfaces:
Serializable
An object that implements this interface, supports an Access Control List to
define security policies. Each element of the ACL is an AccessControlEntry.
- Since:
- 8.9.1
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAccessControlEntry
(T ace) Adds a new entry, replacing a previous one with the same groupId.getAccessControlEntry
(long groupId) void
setAccessControlList
(Set<T> acl)
-
Method Details
-
setAccessControlList
-
getAccessControlList
-
getAccessControlEntry
-
addAccessControlEntry
Adds a new entry, replacing a previous one with the same groupId.- Parameters:
ace
- the access control entry to add
-