public class ProxyCleanupFilter extends ContextFilter
Details
objects.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 s to ProxyCleanupFilter(ACLVoter, CurrentDetails)
such that all restricted objects will be unloaded. |
ProxyCleanupFilter(ACLVoter acl,
CurrentDetails current)
Construct a proxy cleanup filter that checks
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()
null
s to ProxyCleanupFilter(ACLVoter, CurrentDetails)
such that all restricted objects will be unloaded.public ProxyCleanupFilter(ACLVoter acl, CurrentDetails current)
acl
- the ACL votercurrent
- the current thread's security contextpublic 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.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.