public class ProxyCleanupFilter
extends ome.util.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 |
| 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(java.lang.String arg0,
java.lang.Object arg1) |
java.util.Collection |
filter(java.lang.String fieldId,
java.util.Collection c) |
ome.util.Filterable |
filter(java.lang.String fieldId,
ome.util.Filterable f) |
java.util.Map |
filter(java.lang.String fieldId,
java.util.Map m) |
protected java.util.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 ome.util.Filterable filter(java.lang.String fieldId,
ome.util.Filterable f)
filter in interface ome.util.Filterfilter in class ome.util.ContextFilterpublic java.util.Collection filter(java.lang.String fieldId,
java.util.Collection c)
filter in interface ome.util.Filterfilter in class ome.util.ContextFilterpublic java.util.Map filter(java.lang.String fieldId,
java.util.Map m)
filter in interface ome.util.Filterfilter in class ome.util.ContextFilterprotected void doFilter(java.lang.String arg0,
java.lang.Object arg1)
doFilter in class ome.util.ContextFilter