org.springframework.security.acls.model
Interface AccessControlEntry

All Superinterfaces:
Serializable
All Known Subinterfaces:
AuditableAccessControlEntry
All Known Implementing Classes:
AccessControlEntryImpl

public interface AccessControlEntry
extends Serializable

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 3651 2009-05-11 05:20:09Z ltaylor $
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-2009 SpringSource, Inc. All Rights Reserved.