Package ome.services.blitz.repo
Class ManagedReaderSecurityCheck
- java.lang.Object
-
- ome.services.blitz.repo.ManagedReaderSecurityCheck
-
- All Implemented Interfaces:
ome.io.nio.ReaderSecurityCheck
public class ManagedReaderSecurityCheck extends java.lang.Object implements ome.io.nio.ReaderSecurityCheck
Provide OMERO permissions checking for Bio-Formats readers applied to managed repository filesets. Cf. 2019-SV1.- Since:
- 5.5.6
-
-
Constructor Summary
Constructors Constructor Description ManagedReaderSecurityCheck(ome.api.IQuery iQuery, java.util.Set<java.lang.String> managedRepoUuids)
Construct a new thread-safe used-file security checker.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertUsedFilesReadable(loci.formats.IFormatReader reader)
-
-
-
Constructor Detail
-
ManagedReaderSecurityCheck
public ManagedReaderSecurityCheck(ome.api.IQuery iQuery, java.util.Set<java.lang.String> managedRepoUuids)
Construct a new thread-safe used-file security checker.- Parameters:
iQuery
- a query service for checking repository roots and image file accessibilitymanagedRepoUuids
- the UUIDs of the managed repositories; will not be taken as final
-
-