# Uses of Class
fr.gouv.vitam.common.security.IllegalPathException

Packages that use IllegalPathException
Package
Description
fr.gouv.vitam.batch.report.rest.service
fr.gouv.vitam.cas.container.builder
Provides the Blob store contexts builder
fr.gouv.vitam.common
General utility classes as FileUtil, SystemPropertyUtil and UUID support
fr.gouv.vitam.common.security
Security package for Vitam
fr.gouv.vitam.functional.administration.common
Provides common classes for the Functional Administration module.
fr.gouv.vitam.functional.administration.core.rules
fr.gouv.vitam.storage.offers.tape
fr.gouv.vitam.storage.offers.tape.cas
fr.gouv.vitam.worker.core.plugin
Plugin package in worker module
fr.gouv.vitam.workspace.common
Provides common classes for the Workspace module.

- ## Uses of IllegalPathException in fr.gouv.vitam.batch.report.rest.service

  Methods in fr.gouv.vitam.batch.report.rest.service that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `void`
  BatchReportServiceImpl.`createExtractedMetadataDistributionFileForAu(String processId, int tenant, WorkFlowExecutionContext executionContext)`
  `void`
  BatchReportServiceImpl.`exportPurgeAccessionRegister(String processId, String filename, int tenantId)`
  `void`
  BatchReportServiceImpl.`exportPurgeDistinctObjectGroupOfDeletedUnits(String processId, String filename, int tenantId)`
  `void`
  BatchReportServiceImpl.`exportUnitsToInvalidate(String processId, int tenantId, ReportExportRequest reportExportRequest, WorkFlowExecutionContext executionContext)`
  `void`
  BatchReportServiceImpl.`storeFileToWorkspace(Report reportInfo)`

- ## Uses of IllegalPathException in fr.gouv.vitam.cas.container.builder

  Methods in fr.gouv.vitam.cas.container.builder that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `static ContentAddressableStorage`
  StoreContextBuilder.`newStoreContext(StorageConfiguration configuration, com.mongodb.client.MongoDatabase mongoDatabase)`
  Builds `ContentAddressableStorage`

- ## Uses of IllegalPathException in fr.gouv.vitam.common

  Methods in fr.gouv.vitam.common that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `static File`
  FileUtil.`convertInputStreamToFile(InputStream rulesStream, String filename)`
  `static File`
  FileUtil.`convertInputStreamToFile(InputStream stream, String filename, String extension)`
  `static File`
  FileUtil.`createFileInTempDirectoryWithPathCheck(String filename, String fileExtension)`
  Creates a new empty file in the vitam temporary directory retrieved from VitamConfiguration, using the given filename and fileExtension strings to generate its name.
  Do a Path traversal attack check before creating file

- ## Uses of IllegalPathException in fr.gouv.vitam.common.security

  Methods in fr.gouv.vitam.common.security that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `static File`
  SafeFileChecker.`checkSafeDirPath(String safeRootPath, String... subPaths)`
  Directory path sanity checker.
  `static File`
  SafeFileChecker.`checkSafeFilePath(String safeRootPath, String... subPaths)`
  File path sanity checker.
  `static void`
  SafeFileChecker.`checkSafeRessourceFilePath(String resourceName)`
  Path sanity for class-path resources Checks filename authorized patterns, path traversal attacks invalid input: '&' ESAPI sanity checks

- ## Uses of IllegalPathException in fr.gouv.vitam.functional.administration.common

  Methods in fr.gouv.vitam.functional.administration.common that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `void`
  ReferentialFile.`importFile(InputStream file, String filename)`
  importFile : import reference file to database

- ## Uses of IllegalPathException in fr.gouv.vitam.functional.administration.core.rules

  Methods in fr.gouv.vitam.functional.administration.core.rules that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `void`
  RulesManagerFileImpl.`importFile(InputStream rulesFileStream, String filename)`

- ## Uses of IllegalPathException in fr.gouv.vitam.storage.offers.tape

  Methods in fr.gouv.vitam.storage.offers.tape that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `void`
  TapeLibraryFactory.`initialize(TapeLibraryConfiguration configuration, com.mongodb.client.MongoDatabase mongoDatabase)`

- ## Uses of IllegalPathException in fr.gouv.vitam.storage.offers.tape.cas

  Methods in fr.gouv.vitam.storage.offers.tape.cas that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `void`
  ArchiveCacheStorage.`moveArchiveToCache(Path initialFilePath, String fileBucketId, String tarId)`
  `void`
  ArchiveCacheStorage.`reserveArchiveStorageSpace(String fileBucketId, String tarId, long fileSize)`
  `Optional<FileInputStream>`
  ArchiveCacheStorage.`tryReadArchive(String fileBucketId, String tarId)`
  Constructors in fr.gouv.vitam.storage.offers.tape.cas that throw IllegalPathException
  Modifier
  Constructor
  Description
  ``
  `ArchiveCacheStorage(String cacheDirectory, BucketTopologyHelper bucketTopologyHelper, ArchiveCacheEvictionController archiveCacheEvictionController, long maxStorageSpace, long evictionStorageSpaceThreshold, long safeStorageSpaceThreshold)`

- ## Uses of IllegalPathException in fr.gouv.vitam.worker.core.plugin

  Constructors in fr.gouv.vitam.worker.core.plugin that throw IllegalPathException
  Modifier
  Constructor
  Description
  ``
  `PluginLoader()`
  create instance with the default configuration file

- ## Uses of IllegalPathException in fr.gouv.vitam.workspace.common

  Methods in fr.gouv.vitam.workspace.common that throw IllegalPathException
  Modifier and Type
  Method
  Description
  `File`
  WorkspaceFileSystem.`checkWorkspaceContainerSanity(String container)`
  `File`
  WorkspaceFileSystem.`checkWorkspaceDirSanity(String container, String directory)`
  `void`
  WorkspaceFileSystem.`checkWorkspaceFileSanity(String containerName, String relativeObjectName)`