Package jenkins.security
Class ClassFilterImpl
- java.lang.Object
-
- hudson.remoting.ClassFilter
-
- jenkins.security.ClassFilterImpl
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ClassFilterImpl extends hudson.remoting.ClassFilterCustomized version ofClassFilter.DEFAULT. First of all,CustomClassFilters are given the first right of decision. Then delegates toClassFilter.STANDARDfor its blacklist. A class not mentioned in the blacklist is permitted unless it is defined in some third-party library (as opposed tojenkins-core.jar, a plugin JAR, or test code duringMain.isUnitTest) yet is not mentioned inwhitelisted-classes.txt.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBlacklisted(Class _c)booleanisBlacklisted(String name)static voidregister()Register this implementation as the default in the system.static voidunregister()Undoregister().
-
-
-
Method Detail
-
register
public static void register()
Register this implementation as the default in the system.
-
unregister
public static void unregister()
Undoregister().
-
isBlacklisted
public boolean isBlacklisted(Class _c)
- Overrides:
isBlacklistedin classhudson.remoting.ClassFilter
-
isBlacklisted
public boolean isBlacklisted(String name)
- Overrides:
isBlacklistedin classhudson.remoting.ClassFilter
-
-