-
Nested Class Summary
Nested Classes
static class
Container class used for keeping cache elements at map.
-
Method Summary
List<org.acegisecurity.acls.AccessControlEntry>
For a given Sid
find the AccessControlEntry
s which applies to the Sid
org.acegisecurity.acls.MutableAcl
List<org.acegisecurity.acls.objectidentity.ObjectIdentity>
Find a list of Acls whose parent is the given object identity
Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl>
findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Find a
Map
of
ObjectIdentity
to
Acl
mappings given an
ObjectIdentity
s
List<org.acegisecurity.acls.OwnershipAcl>
For a given Sid
find the Acl
s which is owned by Sid
@NotNull Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl>
boolean
Check if given Sid
has any AccessControlEntry
s.
void
remove(org.acegisecurity.acls.Acl acl)
void
removeForIdentity(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Remove acls for an object identity.
void
save(org.acegisecurity.acls.Acl acl)
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
-
Method Details
-
findAclObjectWithParent
List<org.acegisecurity.acls.objectidentity.ObjectIdentity> findAclObjectWithParent(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Find a list of Acls whose parent is the given object identity
- Parameters:
objectIdentity
-
- Returns:
List
of ObjectIdentity
s
-
findAcls
Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Find a
Map
of
ObjectIdentity
to
Acl
mappings given an
ObjectIdentity
s
- Parameters:
objectIdentity
-
- Returns:
Map
of ObjectIdentity
to Acl
-
save
void save(org.acegisecurity.acls.Acl acl)
-
remove
void remove(org.acegisecurity.acls.Acl acl)
-
removeForIdentity
void removeForIdentity(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Remove acls for an object identity.
- Since:
- 9.0
-
findAcesForSid
List<org.acegisecurity.acls.AccessControlEntry> findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
For a given Sid
find the AccessControlEntry
s which applies to the Sid
- Parameters:
sid
-
- Returns:
-
hasAcesForSid
boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Check if given Sid
has any AccessControlEntry
s.
- Parameters:
sid
-
- Returns:
- true if sid has aces.
-
findAclsOwnedBySid
List<org.acegisecurity.acls.OwnershipAcl> findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
For a given Sid
find the Acl
s which is owned by Sid
- Parameters:
sid
-
-
findAllAcls
@NotNull
@NotNull Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAllAcls()
Find all acls.
- Since:
- 9.0
-
findAcl
@Deprecated
org.acegisecurity.acls.MutableAcl findAcl(long objectId)
Deprecated.
Find acl for given domain object id
- Parameters:
objectId
-
findAcls(ObjectIdentity)