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:
-
Constructor Summary
ConstructorDescriptionAccessControlEntryImpl
(Serializable id, Acl acl, Sid sid, Permission permission, boolean granting, boolean auditSuccess, boolean auditFailure) -
Method Summary
-
Constructor Details
-
AccessControlEntryImpl
public AccessControlEntryImpl(Serializable id, Acl acl, Sid sid, Permission permission, boolean granting, boolean auditSuccess, boolean auditFailure)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getAcl
- Specified by:
getAcl
in interfaceAccessControlEntry
-
getId
Description copied from interface:AccessControlEntry
Obtains an identifier that represents this ACE.- Specified by:
getId
in interfaceAccessControlEntry
- Returns:
- the identifier, or
null
if unsaved
-
getPermission
- Specified by:
getPermission
in interfaceAccessControlEntry
-
getSid
- Specified by:
getSid
in interfaceAccessControlEntry
-
isAuditFailure
public boolean isAuditFailure()- Specified by:
isAuditFailure
in interfaceAuditableAccessControlEntry
-
isAuditSuccess
public boolean isAuditSuccess()- Specified by:
isAuditSuccess
in interfaceAuditableAccessControlEntry
-
isGranting
public boolean isGranting()Description copied from interface:AccessControlEntry
Indicates the permission is being granted to the relevant Sid. If false, indicates the permission is being revoked/blocked.- Specified by:
isGranting
in interfaceAccessControlEntry
- Returns:
- true if being granted, false otherwise
-
toString
-