org.acegisecurity.acls.sid
Interface Sid

All Known Implementing Classes:
GrantedAuthoritySid, PrincipalSid

public interface Sid

A 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 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.

Version:
$Id: Sid.java 1784 2007-02-24 21:00:24Z luke_t $
Author:
Ben Alex

Method Summary
 boolean equals(java.lang.Object obj)
          Refer to the java.lang.Object documentation for the interface contract.
 int hashCode()
          Refer to the java.lang.Object documentation for the interface contract.
 

Method Detail

equals

boolean equals(java.lang.Object obj)
Refer to the java.lang.Object documentation for the interface contract.

Overrides:
equals in class java.lang.Object
Parameters:
obj - to be compared
Returns:
true if the objects are equal, false otherwise

hashCode

int hashCode()
Refer to the java.lang.Object documentation for the interface contract.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code representation of this object


Copyright © 2004-2011 Interface21, Inc. All Rights Reserved.