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
nulls 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, pushprotected Map unloadedObjectCache
protected final ACLVoter acl
protected final CurrentDetails current
public ProxyCleanupFilter()
nulls 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 Filterfilter in class ContextFilterpublic Collection filter(String fieldId, Collection c)
ContextFilterfilter in interface Filterfilter in class ContextFilterpublic Map filter(String fieldId, Map m)
ContextFilterfilter in interface Filterfilter in class ContextFilterprotected void doFilter(String arg0, Object arg1)
doFilter in class ContextFilter
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.