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 java.util.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(java.lang.String arg0,
java.lang.Object arg1) |
java.util.Collection |
filter(java.lang.String fieldId,
java.util.Collection c)
iterates over the contents of the collection and filters each.
|
Filterable |
filter(java.lang.String fieldId,
Filterable f) |
java.util.Map |
filter(java.lang.String fieldId,
java.util.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 java.util.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(java.lang.String fieldId, Filterable f)
filter
in interface Filter
filter
in class ContextFilter
public java.util.Collection filter(java.lang.String fieldId, java.util.Collection c)
ContextFilter
filter
in interface Filter
filter
in class ContextFilter
public java.util.Map filter(java.lang.String fieldId, java.util.Map m)
ContextFilter
filter
in interface Filter
filter
in class ContextFilter
protected void doFilter(java.lang.String arg0, java.lang.Object arg1)
doFilter
in class ContextFilter
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.