Package ubic.gemma.core.security.acl.afterinvocation
@ParametersAreNonnullByDefault
package ubic.gemma.core.security.acl.afterinvocation
Provides various implementations of AbstractAclProvider for filtering method return values for ACLS.
Some of the support classes are essentially copies of code from Spring Security that were not over-rideable.
- Since:
- 0.0.01
-
ClassesClassDescriptionSubclass this when you want to filter collections based not on the security of the object itself, but by an associated object.Overrides the functionality of the spring-provided
AclEntryAfterInvocationCollectionFilteringProviderto be more efficient with large collections.Like the AclEntryAfterInvocationCollectionFilteringProvider, but filters on the keys AND values of a Map, where the keys are Securable and the values MAY be Securable.Filter a one-to-one map where the keys are NON-SECURABLE and the values ARE securable (or at least, can be).Filter out publicSecurables, leaving only ones that the user owns and can edit.Filter out publicSecurables, leaving only ones that the user specifically can view but aren't public.Overrides default behaviour by returning null, rather than throwing an access denied exceptionFilter domain objects from aStream.Security check for reading collections of SecureValueObjects, or maps that have SecureValueObjects as keys - map values are NOT checked.Security check for reading value objects.