Class ClassFilterImpl

java.lang.Object
hudson.remoting.ClassFilter
jenkins.security.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.
  • Nested Class Summary

    Nested classes/interfaces inherited from class hudson.remoting.ClassFilter

    hudson.remoting.ClassFilter.ClassFilterException
  • Field Summary

    Fields inherited from class hudson.remoting.ClassFilter

    DEFAULT, FILE_OVERRIDE_LOCATION_PROPERTY, NONE, STANDARD
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    static void
    Register this implementation as the default in the system.
    static void

    Methods inherited from class hudson.remoting.ClassFilter

    appendDefaultFilter, check, check, setDefault

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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