Interface Sid
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
GrantedAuthoritySid,PrincipalSid
public interface Sid extends java.io.SerializableA security identity recognised by the ACL system.This interface provides indirection between actual security objects (eg principals, roles, groups etc) and what is stored inside an
Acl. This is because anAclwill not store an entire security object, but only an abstraction of it. This interface therefore provides a simple way to compare these abstracted security identities with other security identities and actual security objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Refer to thejava.lang.Objectdocumentation for the interface contract.inthashCode()Refer to thejava.lang.Objectdocumentation for the interface contract.
-
-
-
Method Detail
-
equals
boolean equals(java.lang.Object obj)
Refer to thejava.lang.Objectdocumentation for the interface contract.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- to be compared- Returns:
trueif the objects are equal,falseotherwise
-
hashCode
int hashCode()
Refer to thejava.lang.Objectdocumentation for the interface contract.- Overrides:
hashCodein classjava.lang.Object- Returns:
- a hash code representation of this object
-
-