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.RoleCheckerInspectsCallables 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 classCallableDirectionChecker.ChannelConfiguratorImplInstallsCallableDirectionCheckerto every channel.
-
Field Summary
Fields Modifier and Type Field Description static booleanBYPASSSwitch 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 voidcheck(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:
checkin classorg.jenkinsci.remoting.RoleChecker- Throws:
SecurityException
-
-