Package org.bremersee.security.access
Interface AclFactory<T>
-
- Type Parameters:
T
- the acl type
- All Known Implementing Classes:
AclFactory.DtoAclFactory
public interface AclFactory<T>
The acl factory.- Author:
- Christian Bremer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AclFactory.DtoAclFactory
The dto acl factory.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
createAccessControlList(String owner, Map<String,? extends Ace> entries)
Create access control list of the specified type.static AclFactory<org.bremersee.common.model.AccessControlList>
dtoFactory()
Acl dto factory.default Class<T>
getAccessControlListClass()
Gets class of access control list (entity).
-
-
-
Method Detail
-
createAccessControlList
T createAccessControlList(String owner, Map<String,? extends Ace> entries)
Create access control list of the specified type.- Parameters:
owner
- the ownerentries
- the entries- Returns:
- the acl type
-
getAccessControlListClass
default Class<T> getAccessControlListClass()
Gets class of access control list (entity).- Returns:
- the access control list class
-
dtoFactory
static AclFactory<org.bremersee.common.model.AccessControlList> dtoFactory()
Acl dto factory.- Returns:
- the acl factory
-
-