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 of
ClassFilter.DEFAULT
.
First of all, CustomClassFilter
s 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 TypeMethodDescriptionboolean
isBlacklisted
(Class _c) boolean
isBlacklisted
(String name) static void
register()
Register this implementation as the default in the system.static void
Undoregister()
.Methods inherited from class hudson.remoting.ClassFilter
appendDefaultFilter, check, check, setDefault
-
Method Details
-
register
public static void register()Register this implementation as the default in the system. -
unregister
public static void unregister()Undoregister()
. -
isBlacklisted
- Overrides:
isBlacklisted
in classhudson.remoting.ClassFilter
-
isBlacklisted
- Overrides:
isBlacklisted
in classhudson.remoting.ClassFilter
-