Spring Security Framework

org.springframework.security.acls.jdbc
Interface LookupStrategy

All Known Implementing Classes:
BasicLookupStrategy

public interface LookupStrategy

Performs lookups for AclService.

Version:
$Id$
Author:
Ben Alex

Method Summary
 Map readAclsById(ObjectIdentity[] objects, Sid[] sids)
          Perform database-specific optimized lookup.
 

Method Detail

readAclsById

Map readAclsById(ObjectIdentity[] objects,
                 Sid[] sids)
Perform database-specific optimized lookup.

Parameters:
objects - the identities to lookup (required)
sids - the SIDs for which identities are required (may be null - implementations may elect not to provide SID optimisations)
Returns:
a Map where keys represent the ObjectIdentity of the located Acl and values are the located Acl (never null although some entries may be missing; this method should not throw NotFoundException, as a chain of LookupStrategys may be used to automatically create entries if required)

Spring Security Framework

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