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, 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 TypeMethodDescriptionbooleanisBlacklisted(Class _c) booleanisBlacklisted(String name) static voidregister()Register this implementation as the default in the system.static voidUndoregister().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:
isBlacklistedin classhudson.remoting.ClassFilter
-
isBlacklisted
- Overrides:
isBlacklistedin classhudson.remoting.ClassFilter
-