Package | Description |
---|---|
org.acegisecurity.acls |
Interfaces and shared classes to manage access control lists (ACLs) for domain object instances.
|
org.acegisecurity.acls.domain |
Basic implementation of access control lists (ACLs) interfaces.
|
org.acegisecurity.acls.jdbc |
JDBC-based persistence of ACL information.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableAcl.deleteAce(Serializable aceId) |
void |
MutableAcl.insertAce(Serializable afterAceId,
Permission permission,
Sid sid,
boolean granting) |
boolean |
Acl.isGranted(Permission[] permission,
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(ObjectIdentity[]) except it returns only a single Acl. |
Acl |
AclService.readAclById(ObjectIdentity object,
Sid[] sids)
Same as
AclService.readAclsById(ObjectIdentity[], Sid[]) except it returns only a single Acl. |
Map |
AclService.readAclsById(ObjectIdentity[] objects)
Obtains all the
Acl s that apply for the passed Object s. |
Map |
AclService.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
Obtains all the
Acl s that apply for the passed Object s, but only for the
security identifies passed. |
void |
MutableAcl.updateAce(Serializable aceId,
Permission permission) |
MutableAcl |
MutableAclService.updateAcl(MutableAcl acl)
Changes an existing
Acl in the database. |
Modifier and Type | Method and Description |
---|---|
void |
AclImpl.deleteAce(Serializable aceId) |
void |
AclImpl.insertAce(Serializable afterAceId,
Permission permission,
Sid sid,
boolean granting) |
boolean |
AclImpl.isGranted(Permission[] permission,
Sid[] sids,
boolean administrativeMode)
Determines authorization.
|
void |
AclImpl.updateAce(Serializable aceId,
Permission permission) |
Modifier and Type | Method and Description |
---|---|
Acl |
JdbcAclService.readAclById(ObjectIdentity object) |
Acl |
JdbcAclService.readAclById(ObjectIdentity object,
Sid[] sids) |
Map |
JdbcAclService.readAclsById(ObjectIdentity[] objects,
Sid[] sids) |
Map |
BasicLookupStrategy.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
The main method.
|
MutableAcl |
JdbcMutableAclService.updateAcl(MutableAcl acl)
This implementation will simply delete all ACEs in the database and recreate them on each invocation of
this method.
|
Copyright © 2015. All rights reserved.