Class EffectiveFileUploadPolicy
java.lang.Object
com.evolveum.midpoint.model.api.authentication.EffectiveFileUploadPolicy
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionEffectiveFileUploadPolicy(ItemPath path, boolean contentTypeCheckEnabled, List<String> allowedContentTypes, ImageFormatType convertImageTo, boolean stripMetadata) -
Method Summary
-
Constructor Details
-
EffectiveFileUploadPolicy
public EffectiveFileUploadPolicy(ItemPath path, boolean contentTypeCheckEnabled, List<String> allowedContentTypes, ImageFormatType convertImageTo, boolean stripMetadata)
-
-
Method Details
-
getPath
-
isContentTypeCheckEnabled
public boolean isContentTypeCheckEnabled() -
getAllowedContentTypes
-
getConvertImageTo
-
isStripMetadata
public boolean isStripMetadata()
-