Class AssumeUtils

    • Constructor Detail

      • AssumeUtils

        public AssumeUtils()
    • Method Detail

      • canDisableFeatureSecureProcessing

        public static void canDisableFeatureSecureProcessing()
        Checks to see if the XMLConstants.FEATURE_SECURE_PROCESSING can be set to false. This is not allowed when the security manager is enabled. From the docs:

        While FSP can be turned on and off through factories, it is always on when a Java Security Manager is present and cannot be turned off.

      • assumeSecurityManagerDisabled

        public static void assumeSecurityManagerDisabled​(String msg)
        Checks if the security.manager system property has been set.
        Parameters:
        msg - the message for the assumption