geoserver/geoserver — pull request #592 by smithkm (2014-05-22 00:04:37+00:00)
Title: Delegate filter generation to ResourceAccessManager (GSIP-113)

Added new methods to ResourceAccessManager and CatalogFilter interfaces and changed CatalogFilterAccessManager and SecureCatalogImpl to use the new methods rather than building a filter itself per the GSIP.

Added default implementations on AbstractResourceManager and AbstractCatalogFilter equivalent to the old implementation in SecureCatalogImpl.

Added specific implementations for DataAccessManagerAdapter and DefaultWorkspaceCatalogFilter that return well known filters when possible.

See http://geoserver.org/display/GEOS/GSIP+113+-+ResourceAccessManager+to+Build+Security+Filter