org.springframework.security.acls.jdbc
Interface LookupStrategy

All Known Implementing Classes:
BasicLookupStrategy

public interface LookupStrategy

Performs lookups for AclService.

Version:
$Id: LookupStrategy.java 3651 2009-05-11 05:20:09Z ltaylor $
Author:
Ben Alex

Method Summary
 Map<ObjectIdentity,Acl> readAclsById(List<ObjectIdentity> objects, List<Sid> sids)
          Perform database-specific optimized lookup.
 

Method Detail

readAclsById

Map<ObjectIdentity,Acl> readAclsById(List<ObjectIdentity> objects,
                                     List<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)


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