public class CassandraMutableAclService extends CassandraAclService implements org.springframework.security.acls.model.MutableAclService
Acl instances in Cassandra,
using the AclRepository.aclCache, aclRepository| Constructor and Description |
|---|
CassandraMutableAclService(AclRepository aclRepository,
org.springframework.security.acls.model.AclCache aclCache,
org.springframework.security.acls.model.PermissionGrantingStrategy grantingStrategy,
org.springframework.security.acls.domain.AclAuthorizationStrategy aclAuthorizationStrategy,
org.springframework.security.acls.domain.PermissionFactory permissionFactory)
Constructs a new
CassandraMutableAclService object. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.acls.model.MutableAcl |
createAcl(org.springframework.security.acls.model.ObjectIdentity objectIdentity) |
void |
deleteAcl(org.springframework.security.acls.model.ObjectIdentity objectIdentity,
boolean deleteChildren) |
org.springframework.security.acls.model.MutableAcl |
updateAcl(org.springframework.security.acls.model.MutableAcl acl) |
findChildren, readAclById, readAclById, readAclsById, readAclsByIdpublic CassandraMutableAclService(AclRepository aclRepository, org.springframework.security.acls.model.AclCache aclCache, org.springframework.security.acls.model.PermissionGrantingStrategy grantingStrategy, org.springframework.security.acls.domain.AclAuthorizationStrategy aclAuthorizationStrategy, org.springframework.security.acls.domain.PermissionFactory permissionFactory)
CassandraMutableAclService object.aclRepository - the AclRepository to use for access to the
database.aclCache - the AclCache to use (can be null).grantingStrategy - the PermissionGrantingStrategy to use
when creating Acl objects.aclAuthorizationStrategy - the AclAuthorizationStrategy to
use when creating Acl objects.permissionFactory - the PermissionFactory to use when
creating AccessControlEntry objects.public org.springframework.security.acls.model.MutableAcl createAcl(org.springframework.security.acls.model.ObjectIdentity objectIdentity)
throws org.springframework.security.acls.model.AlreadyExistsException
createAcl in interface org.springframework.security.acls.model.MutableAclServiceorg.springframework.security.acls.model.AlreadyExistsExceptionpublic void deleteAcl(org.springframework.security.acls.model.ObjectIdentity objectIdentity,
boolean deleteChildren)
throws org.springframework.security.acls.model.ChildrenExistException
deleteAcl in interface org.springframework.security.acls.model.MutableAclServiceorg.springframework.security.acls.model.ChildrenExistExceptionpublic org.springframework.security.acls.model.MutableAcl updateAcl(org.springframework.security.acls.model.MutableAcl acl)
throws org.springframework.security.acls.model.NotFoundException
updateAcl in interface org.springframework.security.acls.model.MutableAclServiceorg.springframework.security.acls.model.NotFoundExceptionCopyright © 2013–2019 Europeana Cloud Development Team. All rights reserved.