Package | Description |
---|---|
org.springframework.security.acls.domain |
Basic implementation of access control lists (ACLs) interfaces.
|
org.springframework.security.acls.jdbc |
JDBC-based persistence of ACL information
|
org.springframework.security.acls.model |
Interfaces and shared classes to manage access control lists (ACLs) for domain object instances.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectIdentityImpl
Simple implementation of
ObjectIdentity . |
Modifier and Type | Method and Description |
---|---|
ObjectIdentity |
ObjectIdentityRetrievalStrategyImpl.createObjectIdentity(Serializable id,
String type) |
ObjectIdentity |
AclImpl.getObjectIdentity() |
ObjectIdentity |
ObjectIdentityRetrievalStrategyImpl.getObjectIdentity(Object domainObject) |
Modifier and Type | Method and Description |
---|---|
void |
EhCacheBasedAclCache.evictFromCache(ObjectIdentity objectIdentity) |
MutableAcl |
EhCacheBasedAclCache.getFromCache(ObjectIdentity objectIdentity) |
Constructor and Description |
---|
AclImpl(ObjectIdentity objectIdentity,
Serializable id,
AclAuthorizationStrategy aclAuthorizationStrategy,
AuditLogger auditLogger)
Minimal constructor, which should be used
MutableAclService.createAcl(ObjectIdentity) . |
AclImpl(ObjectIdentity objectIdentity,
Serializable id,
AclAuthorizationStrategy aclAuthorizationStrategy,
AuditLogger auditLogger,
Acl parentAcl,
List<Sid> loadedSids,
boolean entriesInheriting,
Sid owner)
Deprecated.
Use the version which takes a
PermissionGrantingStrategy argument instead. |
AclImpl(ObjectIdentity objectIdentity,
Serializable id,
AclAuthorizationStrategy aclAuthorizationStrategy,
PermissionGrantingStrategy grantingStrategy,
Acl parentAcl,
List<Sid> loadedSids,
boolean entriesInheriting,
Sid owner)
Full constructor, which should be used by persistence tools that do not
provide field-level access features.
|
Modifier and Type | Method and Description |
---|---|
List<ObjectIdentity> |
JdbcAclService.findChildren(ObjectIdentity parentIdentity) |
Map<ObjectIdentity,Acl> |
JdbcAclService.readAclsById(List<ObjectIdentity> objects) |
Map<ObjectIdentity,Acl> |
LookupStrategy.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids)
Perform database-specific optimized lookup.
|
Map<ObjectIdentity,Acl> |
BasicLookupStrategy.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids)
The main method.
|
Map<ObjectIdentity,Acl> |
JdbcAclService.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids) |
Modifier and Type | Method and Description |
---|---|
MutableAcl |
JdbcMutableAclService.createAcl(ObjectIdentity objectIdentity) |
protected void |
JdbcMutableAclService.createObjectIdentity(ObjectIdentity object,
Sid owner)
Creates an entry in the acl_object_identity table for the passed ObjectIdentity.
|
void |
JdbcMutableAclService.deleteAcl(ObjectIdentity objectIdentity,
boolean deleteChildren) |
List<ObjectIdentity> |
JdbcAclService.findChildren(ObjectIdentity parentIdentity) |
Acl |
JdbcAclService.readAclById(ObjectIdentity object) |
Acl |
JdbcAclService.readAclById(ObjectIdentity object,
List<Sid> sids) |
protected Long |
JdbcMutableAclService.retrieveObjectIdentityPrimaryKey(ObjectIdentity oid)
Retrieves the primary key from the acl_object_identity table for the passed ObjectIdentity.
|
Modifier and Type | Method and Description |
---|---|
Map<ObjectIdentity,Acl> |
JdbcAclService.readAclsById(List<ObjectIdentity> objects) |
Map<ObjectIdentity,Acl> |
LookupStrategy.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids)
Perform database-specific optimized lookup.
|
Map<ObjectIdentity,Acl> |
BasicLookupStrategy.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids)
The main method.
|
Map<ObjectIdentity,Acl> |
JdbcAclService.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids) |
Modifier and Type | Method and Description |
---|---|
ObjectIdentity |
ObjectIdentityGenerator.createObjectIdentity(Serializable id,
String type) |
ObjectIdentity |
Acl.getObjectIdentity()
Obtains the domain object this Acl provides entries for.
|
ObjectIdentity |
ObjectIdentityRetrievalStrategy.getObjectIdentity(Object domainObject) |
Modifier and Type | Method and Description |
---|---|
List<ObjectIdentity> |
AclService.findChildren(ObjectIdentity parentIdentity)
Locates all object identities that use the specified parent.
|
Map<ObjectIdentity,Acl> |
AclService.readAclsById(List<ObjectIdentity> objects)
Obtains all the Acls that apply for the passed Objects.
|
Map<ObjectIdentity,Acl> |
AclService.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids)
Obtains all the Acls that apply for the passed Objects, but only for the
security identifies passed.
|
Modifier and Type | Method and Description |
---|---|
MutableAcl |
MutableAclService.createAcl(ObjectIdentity objectIdentity)
Creates an empty
Acl object in the database. |
void |
MutableAclService.deleteAcl(ObjectIdentity objectIdentity,
boolean deleteChildren)
Removes the specified entry from the database.
|
void |
AclCache.evictFromCache(ObjectIdentity objectIdentity) |
List<ObjectIdentity> |
AclService.findChildren(ObjectIdentity parentIdentity)
Locates all object identities that use the specified parent.
|
MutableAcl |
AclCache.getFromCache(ObjectIdentity objectIdentity) |
Acl |
AclService.readAclById(ObjectIdentity object)
Same as
AclService.readAclsById(List) except it returns only a single Acl. |
Acl |
AclService.readAclById(ObjectIdentity object,
List<Sid> sids)
Same as
AclService.readAclsById(List, List) except it returns only a single Acl. |
Modifier and Type | Method and Description |
---|---|
Map<ObjectIdentity,Acl> |
AclService.readAclsById(List<ObjectIdentity> objects)
Obtains all the Acls that apply for the passed Objects.
|
Map<ObjectIdentity,Acl> |
AclService.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids)
Obtains all the Acls that apply for the passed Objects, but only for the
security identifies passed.
|
Copyright © 2015. All rights reserved.