org.springframework.security.acls.domain
Class AccessControlEntryImpl
java.lang.Object
org.springframework.security.acls.domain.AccessControlEntryImpl
- All Implemented Interfaces:
- Serializable, AccessControlEntry, AuditableAccessControlEntry
public class AccessControlEntryImpl
- extends Object
- implements AccessControlEntry, AuditableAccessControlEntry
An immutable default implementation of AccessControlEntry
.
- See Also:
- Serialized Form
AccessControlEntryImpl
public AccessControlEntryImpl(Serializable id,
Acl acl,
Sid sid,
Permission permission,
boolean granting,
boolean auditSuccess,
boolean auditFailure)
equals
public boolean equals(Object arg0)
- Overrides:
equals
in class Object
getAcl
public Acl getAcl()
- Specified by:
getAcl
in interface AccessControlEntry
getId
public Serializable getId()
- Description copied from interface:
AccessControlEntry
- Obtains an identifier that represents this ACE.
- Specified by:
getId
in interface AccessControlEntry
- Returns:
- the identifier, or
null
if unsaved
getPermission
public Permission getPermission()
- Specified by:
getPermission
in interface AccessControlEntry
getSid
public Sid getSid()
- Specified by:
getSid
in interface AccessControlEntry
isAuditFailure
public boolean isAuditFailure()
- Specified by:
isAuditFailure
in interface AuditableAccessControlEntry
isAuditSuccess
public boolean isAuditSuccess()
- Specified by:
isAuditSuccess
in interface AuditableAccessControlEntry
isGranting
public boolean isGranting()
- Description copied from interface:
AccessControlEntry
- Indicates the a Permission is being granted to the relevant Sid. If false, indicates the permission is
being revoked/blocked.
- Specified by:
isGranting
in interface AccessControlEntry
- Returns:
- true if being granted, false otherwise
toString
public String toString()
- Overrides:
toString
in class Object