java.lang.Object | |
↳ | org.springframework.security.acls.jdbc.JdbcAclService |
Known Direct Subclasses |
Simple JDBC-based implementation of AclService
.
Requires the "dirty" flags in AclImpl
and
AccessControlEntryImpl
to be set, so that the implementation can
detect changed parameters easily.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
jdbcTemplate | |||||||||||
log |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Locates all object identities that use the specified parent.
| |||||||||||
Same as
readAclsById(List) except it returns only a single Acl. | |||||||||||
Same as
readAclsById(List, List) except it returns only a single Acl. | |||||||||||
Obtains all the Acls that apply for the passed Objects.
| |||||||||||
Obtains all the Acls that apply for the passed Objects, but only for the
security identifies passed.
| |||||||||||
Allows customization of the SQL query used to find child object identities.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.acls.model.AclService
|
Locates all object identities that use the specified parent. This is useful for administration tools.
parentIdentity | to locate children of |
---|
Same as readAclsById(List)
except it returns only a single Acl.
This method should not be called as it does not leverage the underlying implementation's potential ability to
filter Acl entries based on a Sid
parameter.
object | to locate an Acl for |
---|
Acl
for the requested ObjectIdentity
(never null)NotFoundException |
---|
Same as readAclsById(List, List)
except it returns only a single Acl.
object | to locate an Acl for |
---|---|
sids | the security identities for which Acl information is required
(may be null to denote all entries) |
Acl
for the requested ObjectIdentity
(never null)NotFoundException |
---|
Obtains all the Acls that apply for the passed Objects.
The returned map is keyed on the passed objects, with the values being the Acl instances. Any unknown objects will not have a map key.
objects | the objects to find Acl information for |
---|
ObjectIdentity
passed as an argument (never null)NotFoundException |
---|
Obtains all the Acls that apply for the passed Objects, but only for the security identifies passed.
Implementations MAY provide a subset of the ACLs via this method although this is NOT a requirement. This is intended to allow performance optimisations within implementations. Callers should therefore use this method in preference to the alternative overloaded version which does not have performance optimisation opportunities.
The returned map is keyed on the passed objects, with the values being the Acl instances. Any unknown objects (or objects for which the interested Sids do not have entries) will not have a map key.
objects | the objects to find Acl information for |
---|---|
sids | the security identities for which Acl information is required
(may be null to denote all entries) |
ObjectIdentity
passed as an argument (never null)NotFoundException |
---|
Allows customization of the SQL query used to find child object identities.