Package jenkins.security.s2m
Class CallableDirectionChecker
- java.lang.Object
-
- org.jenkinsci.remoting.RoleChecker
-
- jenkins.security.s2m.CallableDirectionChecker
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class CallableDirectionChecker extends org.jenkinsci.remoting.RoleChecker
InspectsCallable
s that run on the controller.- Since:
- 1.587 / 1.580.1
- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CallableDirectionChecker.ChannelConfiguratorImpl
InstallsCallableDirectionChecker
to every channel.
-
Field Summary
Fields Modifier and Type Field Description static boolean
BYPASS
Switch to disable all the defense mechanism completely.
-
Constructor Summary
Constructors Constructor Description CallableDirectionChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(org.jenkinsci.remoting.RoleSensitive subject, Collection<org.jenkinsci.remoting.Role> expected)
-
-
-
Method Detail
-
check
public void check(org.jenkinsci.remoting.RoleSensitive subject, @NonNull Collection<org.jenkinsci.remoting.Role> expected) throws SecurityException
- Specified by:
check
in classorg.jenkinsci.remoting.RoleChecker
- Throws:
SecurityException
-
-