public interface Sid
extends java.io.Serializable
This interface provides indirection between actual security objects (eg
principals, roles, groups etc) and what is stored inside an
Acl
. This is because an Acl
will 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.
boolean equals(java.lang.Object obj)
java.lang.Object
documentation for the interface contract.equals
in class java.lang.Object
obj
- to be comparedtrue
if the objects are equal, false
otherwiseint hashCode()
java.lang.Object
documentation for the interface contract.hashCode
in class java.lang.Object