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
Inspects Callables that run on the controller.
Since:
1.587 / 1.580.1
Author:
Kohsuke Kawaguchi
  • Field Details

    • BYPASS

      public static boolean BYPASS
      Switch to disable all the defense mechanism completely. This is an escape hatch in case the fix breaks something critical, to allow the user to keep operation.
  • Constructor Details

    • CallableDirectionChecker

      public CallableDirectionChecker()
  • Method Details

    • check

      public void check(org.jenkinsci.remoting.RoleSensitive subject, @NonNull Collection<org.jenkinsci.remoting.Role> expected) throws SecurityException
      Specified by:
      check in class org.jenkinsci.remoting.RoleChecker
      Throws:
      SecurityException