|
Spring Security Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sid | |
---|---|
org.springframework.security.acls | Interfaces and shared classes to manage access control lists (ACLs) for domain object instances. |
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.sid | Provides indirection between ACL packages and security identities, such as principals and GrantedAuthority[]s. |
Uses of Sid in org.springframework.security.acls |
---|
Methods in org.springframework.security.acls that return Sid | |
---|---|
Sid |
Acl.getOwner()
Determines the owner of the Acl. |
Sid |
AccessControlEntry.getSid()
|
Methods in org.springframework.security.acls with parameters of type Sid | |
---|---|
void |
MutableAcl.insertAce(int atIndexLocation,
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 Acls that apply for the passed Objects, but only for the security identifies passed. |
void |
OwnershipAcl.setOwner(Sid newOwner)
|
void |
MutableAcl.setOwner(Sid newOwner)
Changes the present owner to a different owner. |
Uses of Sid in org.springframework.security.acls.domain |
---|
Methods in org.springframework.security.acls.domain that return Sid | |
---|---|
Sid |
AclImpl.getOwner()
|
Sid |
AccessControlEntryImpl.getSid()
|
Methods in org.springframework.security.acls.domain with parameters of type Sid | |
---|---|
void |
AclImpl.insertAce(int atIndexLocation,
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)
|
Constructors in org.springframework.security.acls.domain with parameters of type Sid | |
---|---|
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. |
Uses of Sid in org.springframework.security.acls.jdbc |
---|
Methods in org.springframework.security.acls.jdbc with parameters of type Sid | |
---|---|
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 |
LookupStrategy.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
Perform database-specific optimized lookup. |
Map |
JdbcAclService.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
|
Map |
BasicLookupStrategy.readAclsById(ObjectIdentity[] objects,
Sid[] sids)
The main method. |
Uses of Sid in org.springframework.security.acls.sid |
---|
Classes in org.springframework.security.acls.sid that implement Sid | |
---|---|
class |
GrantedAuthoritySid
Represents a GrantedAuthority as a Sid . |
class |
PrincipalSid
Represents an Authentication.getPrincipal() as a Sid . |
Methods in org.springframework.security.acls.sid that return Sid | |
---|---|
Sid[] |
SidRetrievalStrategyImpl.getSids(Authentication authentication)
|
Sid[] |
SidRetrievalStrategy.getSids(Authentication authentication)
|
|
Spring Security Framework | |||||||||
PREV NEXT | FRAMES NO FRAMES |