public class ProxyCleanupFilter extends ContextFilter
Details
objects.8277
Modifier and Type | Class and Description |
---|---|
static class |
ProxyCleanupFilter.Interceptor
wraps a filter for each invocation
|
Modifier and Type | Field and Description |
---|---|
protected ACLVoter |
acl |
protected CurrentDetails |
current |
protected Map |
unloadedObjectCache |
_cache, _context
Constructor and Description |
---|
ProxyCleanupFilter()
Passes null to
ProxyCleanupFilter#ProxyCleanupFilter(CurrentDetails)
such that all restricted objects will be unloaded. |
ProxyCleanupFilter(ACLVoter acl,
CurrentDetails current)
Constructor take a
CurrentDetails object in order to check
the security restrictions on certain objects. |
Modifier and Type | Method and Description |
---|---|
protected void |
doFilter(String arg0,
Object arg1) |
Collection |
filter(String fieldId,
Collection c)
iterates over the contents of the collection and filters each.
|
Filterable |
filter(String fieldId,
Filterable f) |
Map |
filter(String fieldId,
Map m)
filters both the key and value sets of the map.
|
addSeen, afterFilter, beforeFilter, currentContext, doFilter, doFilter, enter, exit, filter, filter, hasntSeen, pop, previousContext, push
protected Map unloadedObjectCache
protected final ACLVoter acl
protected final CurrentDetails current
public ProxyCleanupFilter()
ProxyCleanupFilter#ProxyCleanupFilter(CurrentDetails)
such that all restricted objects will be unloaded.public ProxyCleanupFilter(ACLVoter acl, CurrentDetails current)
CurrentDetails
object in order to check
the security restrictions on certain objects.public Filterable filter(String fieldId, Filterable f)
filter
in interface Filter
filter
in class ContextFilter
public Collection filter(String fieldId, Collection c)
ContextFilter
filter
in interface Filter
filter
in class ContextFilter
public Map filter(String fieldId, Map m)
ContextFilter
filter
in interface Filter
filter
in class ContextFilter
protected void doFilter(String arg0, Object arg1)
doFilter
in class ContextFilter
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.