org.acegisecurity.acls
Interface AccessControlEntry

All Known Subinterfaces:
AuditableAccessControlEntry
All Known Implementing Classes:
AccessControlEntryImpl

public interface AccessControlEntry

Represents an individual permission assignment within an Acl.

Instances MUST be immutable, as they are returned by Acl and should not allow client modification.

Version:
$Id: AccessControlEntry.java 1754 2006-11-17 02:01:21Z benalex $
Author:
Ben Alex

Method Summary
 Acl getAcl()
           
 Serializable getId()
          Obtains an identifier that represents this ACE.
 Permission getPermission()
           
 Sid getSid()
           
 boolean isGranting()
          Indicates the a Permission is being granted to the relevant Sid.
 

Method Detail

getAcl

Acl getAcl()

getId

Serializable getId()
Obtains an identifier that represents this ACE.

Returns:
the identifier, or null if unsaved

getPermission

Permission getPermission()

getSid

Sid getSid()

isGranting

boolean isGranting()
Indicates the a Permission is being granted to the relevant Sid. If false, indicates the permission is being revoked/blocked.

Returns:
true if being granted, false otherwise


Copyright © 2004-2006 Acegi Technology Pty Limited. All Rights Reserved.