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 | Method and Description |
---|---|
void |
AclImpl.deleteAce(int aceIndex) |
void |
AclImpl.insertAce(int atIndexLocation,
Permission permission,
Sid sid,
boolean granting) |
boolean |
DefaultPermissionGrantingStrategy.isGranted(Acl acl,
List<Permission> permission,
List<Sid> sids,
boolean administrativeMode)
Determines authorization.
|
boolean |
AclImpl.isGranted(List<Permission> permission,
List<Sid> sids,
boolean administrativeMode)
Delegates to the
PermissionGrantingStrategy . |
void |
AclImpl.updateAce(int aceIndex,
Permission permission) |
Modifier and Type | Method and Description |
---|---|
Acl |
JdbcAclService.readAclById(ObjectIdentity object) |
Acl |
JdbcAclService.readAclById(ObjectIdentity object,
List<Sid> sids) |
Map<ObjectIdentity,Acl> |
JdbcAclService.readAclsById(List<ObjectIdentity> objects) |
Map<ObjectIdentity,Acl> |
JdbcAclService.readAclsById(List<ObjectIdentity> objects,
List<Sid> sids) |
MutableAcl |
JdbcMutableAclService.updateAcl(MutableAcl acl)
This implementation will simply delete all ACEs in the database and recreate them on each invocation of
this method.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableAcl.deleteAce(int aceIndex) |
void |
MutableAcl.insertAce(int atIndexLocation,
Permission permission,
Sid sid,
boolean granting) |
boolean |
Acl.isGranted(List<Permission> permission,
List<Sid> sids,
boolean administrativeMode)
This is the actual authorization logic method, and must be used whenever ACL authorization decisions are
required.
|
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. |
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.
|
void |
MutableAcl.updateAce(int aceIndex,
Permission permission) |
MutableAcl |
MutableAclService.updateAcl(MutableAcl acl)
Changes an existing
Acl in the database. |
Copyright © 2015. All rights reserved.