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.ClassFilter
Customized version ofClassFilter.DEFAULT
. First of all,CustomClassFilter
s are given the first right of decision. Then delegates toClassFilter.STANDARD
for 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 boolean
isBlacklisted(Class _c)
boolean
isBlacklisted(String name)
static void
register()
Register this implementation as the default in the system.static void
unregister()
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:
isBlacklisted
in classhudson.remoting.ClassFilter
-
isBlacklisted
public boolean isBlacklisted(String name)
- Overrides:
isBlacklisted
in classhudson.remoting.ClassFilter
-
-