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.
|
org.acegisecurity.acls.sid |
Provides indirection between ACL packages and security identities, such as principals and GrantedAuthority[]s.
|
Modifier and Type | Method and Description |
---|---|
Sid |
Acl.getOwner()
Determines the owner of the
Acl . |
Sid |
AccessControlEntry.getSid() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
Acl.isSidLoaded(Sid[] sids)
For efficiency reasons an
Acl may be loaded and not contain entries for every
Sid in the system. |
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,
Sid[] sids)
Obtains all the
Acl s that apply for the passed Object s, but only for the
security identifies passed. |
void |
OwnershipAcl.setOwner(Sid newOwner) |
Modifier and Type | Method and Description |
---|---|
Sid |
AclImpl.getOwner() |
Sid |
AccessControlEntryImpl.getSid() |
Modifier and Type | Method and Description |
---|---|
void |
AclImpl.insertAce(Serializable afterAceId,
Permission permission,
Sid sid,
boolean granting) |
boolean |
AclImpl.isGranted(Permission[] permission,
Sid[] sids,
boolean administrativeMode)
Determines authorization.
|
boolean |
AclImpl.isSidLoaded(Sid[] sids) |
void |
AclImpl.setOwner(Sid newOwner) |
Constructor and Description |
---|
AccessControlEntryImpl(Serializable id,
Acl acl,
Sid sid,
Permission permission,
boolean granting,
boolean auditSuccess,
boolean auditFailure) |
AclImpl(ObjectIdentity objectIdentity,
Serializable id,
AclAuthorizationStrategy aclAuthorizationStrategy,
AuditLogger auditLogger,
Acl parentAcl,
Sid[] loadedSids,
boolean entriesInheriting,
Sid owner)
Full constructor, which should be used by persistence tools that do not
provide field-level access features.
|
AclImpl(ObjectIdentity objectIdentity,
Serializable id,
AclAuthorizationStrategy aclAuthorizationStrategy,
AuditLogger auditLogger,
Acl parentAcl,
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 |
---|---|
protected void |
JdbcMutableAclService.createObjectIdentity(ObjectIdentity object,
Sid owner)
Creates an entry in the acl_object_identity table for the passed ObjectIdentity.
|
protected Long |
JdbcMutableAclService.createOrRetrieveSidPrimaryKey(Sid sid,
boolean allowCreate)
Retrieves the primary key from acl_sid, creating a new row if needed and the allowCreate property is
true.
|
Acl |
JdbcAclService.readAclById(ObjectIdentity object,
Sid[] sids) |
Map |
BasicLookupStrategy.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
The main method.
|
Map |
LookupStrategy.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
Perform database-specific optimized lookup.
|
Map |
JdbcAclService.readAclsById(ObjectIdentity[] objects,
Sid[] sids) |
Modifier and Type | Class and Description |
---|---|
class |
GrantedAuthoritySid
Represents a
GrantedAuthority as a Sid . |
class |
PrincipalSid
Represents an
Authentication.getPrincipal() as a Sid . |
Modifier and Type | Method and Description |
---|---|
Sid[] |
SidRetrievalStrategyImpl.getSids(Authentication authentication) |
Sid[] |
SidRetrievalStrategy.getSids(Authentication authentication) |
Copyright © 2014. All rights reserved.