Class EffectiveFileUploadPolicy

java.lang.Object
com.evolveum.midpoint.model.api.authentication.EffectiveFileUploadPolicy
All Implemented Interfaces:
Serializable

public class EffectiveFileUploadPolicy extends Object implements Serializable
Effective upload validation and image-processing policy for one item path. The policy contains resolved values ready for runtime use, including built-in defaults and values compiled from the GUI configuration.
See Also:
  • Constructor Details

    • EffectiveFileUploadPolicy

      public EffectiveFileUploadPolicy(ItemPath path, boolean contentTypeCheckEnabled, List<String> allowedContentTypes, ImageFormatType convertImageTo, boolean stripMetadata)
  • Method Details

    • getPath

      public ItemPath getPath()
    • isContentTypeCheckEnabled

      public boolean isContentTypeCheckEnabled()
    • getAllowedContentTypes

      public List<String> getAllowedContentTypes()
    • getConvertImageTo

      public ImageFormatType getConvertImageTo()
    • isStripMetadata

      public boolean isStripMetadata()