Class ClassFilterImpl


  • @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class ClassFilterImpl
    extends hudson.remoting.ClassFilter
    Customized version of ClassFilter.DEFAULT. First of all, CustomClassFilters are given the first right of decision. Then delegates to ClassFilter.STANDARD for its blacklist. A class not mentioned in the blacklist is permitted unless it is defined in some third-party library (as opposed to jenkins-core.jar, a plugin JAR, or test code during Main.isUnitTest) yet is not mentioned in whitelisted-classes.txt.
    • Method Detail

      • register

        public static void register()
        Register this implementation as the default in the system.
      • unregister

        public static void unregister()
      • isBlacklisted

        public boolean isBlacklisted​(Class _c)
        Overrides:
        isBlacklisted in class hudson.remoting.ClassFilter
      • isBlacklisted

        public boolean isBlacklisted​(String name)
        Overrides:
        isBlacklisted in class hudson.remoting.ClassFilter