Spring Security Framework

org.springframework.security.acls
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$
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

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.